public class MetaDataNode extends Object
Modifier and Type | Method and Description |
---|---|
Integer |
getArrayLength()
Array length.
|
biz.onixs.sbe.def.IMetaDataNode |
getContainer()
Container of the node.
|
String |
getDescription()
SBE description.
|
Integer |
getFixedSize()
Fixed size of the object.
|
Integer |
getId()
SBE id.
|
biz.onixs.sbe.def.IMetaDataNode |
getImplementation()
Node of the implementing type.
|
String |
getMaxValue()
Maximum value.
|
String |
getMinValue()
Minimum value.
|
String |
getName()
SBE name.
|
String |
getNullValue()
Null value.
|
Integer |
getOffset()
Offset.
|
String |
getPresence()
Presence.
|
String |
getPrimitiveTypeName()
Primitive type name.
|
String |
getSemanticType()
Semantic type.
|
Integer |
getSinceVersion()
"sinceVersion" attribute.
|
String |
getValue()
Value.
|
boolean |
isArray()
Checks if the metadata is array definition.
|
boolean |
isComposite()
Checks if the metadata is composite definition.
|
boolean |
isEnum()
Checks if the metadata is enum definition.
|
boolean |
isField()
Checks if the metadata is an SBE field of fieldset.
|
boolean |
isFundamental()
Checks if the metadata is fundamental type.
|
boolean |
isGroup()
Checks if the metadata is repeating group.
|
boolean |
isMessage()
Checks if the metadata is SBE message.
|
boolean |
isSet()
Checks if the metadata is set definition.
|
boolean |
isType()
Checks if the metadata is type definition.
|
boolean |
isTypeMember()
Checks if the node represents type node.
|
void |
setMaxValue(String value)
Update maximum value.
|
void |
setMinValue(String value)
Update minimum value.
|
void |
setNullValue(String value)
Update null value.
|
void |
setValue(String value)
Update value.
|
public boolean isMessage()
The method returns true if the metadata node corresponds to the <message> XML node.
public boolean isGroup()
The method returns true if the metadata node corresponds to the <group> XML node.
The getImplementation()
call returns the metadata node that describes the group dimensions ("dimensionType" XML attribute).
public boolean isField()
The method returns true if the metadata node corresponds to the <field> XML node.
public boolean isType()
The method returns true if the metadata node corresponds to <type>, <enum>, <set> or <composite> XML node.
public boolean isComposite()
The method returns true if the metadata node corresponds to the <composite> XML node.
public boolean isSet()
The method returns true if the metadata node corresponds to the <set> XML node.
public boolean isEnum()
The method returns true if the metadata node corresponds to the <enum> XML node.
public boolean isArray()
The method returns true if the metadata node corresponds to an SBE field or SBE type that is encoded using SBE array format (attribute "length" contains value greater than 1).
public boolean isFundamental()
The method returns true if the metadata node corresponds to fundamental primitive SBE type (char, intN, uintN).
public boolean isTypeMember()
Returns true if the node:
public biz.onixs.sbe.def.IMetaDataNode getContainer()
Returns node that represents containe rof the given node. That can be an SBE message for the field, etc.
public biz.onixs.sbe.def.IMetaDataNode getImplementation()
public String getPrimitiveTypeName()
public Integer getId()
public String getName()
public String getDescription()
public String getPresence()
public Integer getOffset()
public Integer getSinceVersion()
public Integer getFixedSize()
public Integer getArrayLength()
public String getSemanticType()
public String getMinValue()
public void setMinValue(String value)
value
- New minimum value.public String getMaxValue()
public void setMaxValue(String value)
value
- New maximum value.public String getNullValue()
public void setNullValue(String value)
value
- New null value.public String getValue()
Constant value associated with given node.
public void setValue(String value)
Updates constant value associated with given node.
value
- - the value.Copyright © 2005–2025 Onix Solutions. All rights reserved.