Package uk.co.real_logic.sbe.xml
Class EnumType.ValidValue
java.lang.Object
uk.co.real_logic.sbe.xml.EnumType.ValidValue
- Enclosing class:
- EnumType
Holder for valid values for and
EnumType.-
Constructor Summary
ConstructorsConstructorDescriptionValidValue(Node node, PrimitiveType encodingType) Construct a ValidValue given the XML node and the encodingType. -
Method Summary
Modifier and TypeMethodDescriptionintVersion in whichEnumType.ValidValuewas deprecated.The description of theEnumType.ValidValue.name()The name of theEnumType.ValidValue.PrimitiveTypefor theEnumType.ValidValue.intThe sinceVersion value of theEnumType.ValidValuetoString()
-
Constructor Details
-
ValidValue
Construct a ValidValue given the XML node and the encodingType.- Parameters:
node- that contains the validValueencodingType- for the enum
-
-
Method Details
-
primitiveValue
PrimitiveTypefor theEnumType.ValidValue.- Returns:
PrimitiveTypefor theEnumType.ValidValue.
-
name
The name of theEnumType.ValidValue.- Returns:
- the name of the
EnumType.ValidValue
-
description
The description of theEnumType.ValidValue.- Returns:
- the description of the
EnumType.ValidValue.
-
sinceVersion
public int sinceVersion()The sinceVersion value of theEnumType.ValidValue- Returns:
- the sinceVersion value of the
EnumType.ValidValue
-
deprecated
public int deprecated()Version in whichEnumType.ValidValuewas deprecated. Only valid if greater than zero.- Returns:
- version in which the
EnumType.ValidValuewas deprecated.
-
toString
-