public class Field extends Object
Modifier and Type | Field and Description |
---|---|
static int |
INVALID_ID
Value to indicate a
Field is invalid or not yet set. |
Modifier and Type | Method and Description |
---|---|
int |
blockLength()
The block length of the field.
|
int |
computedBlockLength()
The computed block length of the field.
|
void |
computedBlockLength(int length)
The computed block length of the field.
|
int |
computedOffset()
The computed offset at which the field begins.
|
void |
computedOffset(int offset)
Set the computed offset at which the field begins.
|
int |
deprecated()
Deprecated version attribute for the field.
|
String |
description()
Description attribute for the field.
|
CompositeType |
dimensionType()
Dimension type for the field when group or var data.
|
String |
epoch()
Epoch attribute for the field.
|
List<Field> |
groupFields()
Get the list of group fields.
|
void |
groupFields(List<Field> fields)
Set the group fields when a group.
|
int |
id()
ID attribute for the field.
|
boolean |
isVariableLength()
Is the field variable length when encoded?
|
String |
name()
Name value for the field.
|
int |
offset()
The offset at which the field begins.
|
Presence |
presence()
Presence attribute for the field.
|
String |
semanticType()
Semantic type attribute for the field.
|
int |
sinceVersion()
Since version attribute for the field.
|
String |
timeUnit()
Time unit attribute for the field.
|
String |
toString() |
Type |
type()
Type attribute for the field.
|
void |
validate(Node node,
Map<String,Type> typeByNameMap)
Validate the node is correct for the type.
|
String |
valueRef()
Ref attribute for the field.
|
public static final int INVALID_ID
Field
is invalid or not yet set.public void validate(Node node, Map<String,Type> typeByNameMap)
node
- in the XML.typeByNameMap
- for validating refs.public void groupFields(List<Field> fields)
fields
- for the group.public List<Field> groupFields()
public void computedOffset(int offset)
offset
- at which the field begins.public int computedOffset()
public String name()
public String description()
public int id()
public Type type()
public int offset()
public int blockLength()
public void computedBlockLength(int length)
length
- computed for the block length,public int computedBlockLength()
public Presence presence()
public String valueRef()
public String semanticType()
public CompositeType dimensionType()
public boolean isVariableLength()
public int sinceVersion()
public int deprecated()
public String epoch()
public String timeUnit()
Copyright © 2013-2022 Real Logic Limited. All Rights Reserved.