public class FieldDefinition extends Object
Constructor and Description |
---|
FieldDefinition(int tag,
boolean required,
String tagName,
GroupDefinition grpDef)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
GroupDefinition |
getGroupDefinition()
Returns FIX repeating group low-level definition if the FIX field define a repeating group otherwise
null . |
int |
getGroupIndex()
Returns the index of FIX repeating group (if the FIX field defines a repeating group) in the parent container
(FIX message or repeating group).
|
int |
getIndex()
Returns the index of FIX field in the parent container (FIX message or repeating group).
|
int |
getTag()
Returns the FIX fields tag number.
|
byte[] |
getTagAsBytes()
Returns byte array representation of the FIX fields tag number.
|
String |
getTagName()
Returns string representation of the FIX fields tag name.
|
byte[] |
getTagNameBytes()
Returns byte array representation of the FIX fields tag name.
|
int |
hashCode() |
void |
init()
Initializes internal state of the object after initialization/modification.
|
boolean |
isGroupDefined()
Returns whether the FIX field defines a FIX repeating group.
|
boolean |
isRequired()
Returns whether the FIX field is required.
|
void |
setGroupDefinition(GroupDefinition groupDefinition)
Sets the FIX repeating group low-level definition so the FIX field will define the repeating group.
|
void |
setName(String name)
Sets name of the FIX field.
|
void |
setRequired(boolean required)
Sets whether the FIX field is required.
|
public FieldDefinition(int tag, boolean required, String tagName, GroupDefinition grpDef)
tag
- tag numberrequired
- whether field is requredtagName
- tag namegrpDef
- FIX repeating group low-level definition if the FIX field defines a repeating grouppublic GroupDefinition getGroupDefinition()
null
.null
public void setGroupDefinition(GroupDefinition groupDefinition)
groupDefinition
- repeating group definitionpublic int getGroupIndex()
public int getIndex()
public int getTag()
public byte[] getTagAsBytes()
public String getTagName()
public byte[] getTagNameBytes()
public boolean isGroupDefined()
public boolean isRequired()
public void setRequired(boolean required)
required
- whether the FIX field is requiredpublic void init()
public void setName(String name)
name
- name of fieldCopyright © 2005–2024 Onix Solutions. All rights reserved.