public static class MAPCUG_Information.Cug_Features extends AbstractFieldsObject
cug-Features ::= CHOICE { cug-Feature CUG-Feature-v1, cug-FeatureList CUG-FeatureList-v1 }
Used as field type by MAPCUG_Information
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPCUG_Information.Cug_Features.Choice
API for MAP-SS-DataTypes-ph1.CUG-Information.cug-Features.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPCUG_Information.Cug_Features() |
Modifier and Type | Method and Description |
---|---|
MAPCUG_Information.Cug_Features |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPCUG_Information.Cug_Features |
copyOf(MAPCUG_Information.Cug_Features from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
|
MAPCUG_Information.Cug_Features.Choice |
getChoice()
Gets the discriminant of the current choice.
|
MAPCUG_Feature_v1 |
getCug_Feature()
Gets the value of the cug-Feature choice.
|
MAPCUG_Feature_v1[] |
getCug_FeatureList()
Gets the value of the cug-FeatureList choice.
|
static FieldAccessor[] |
getFieldAccessors()
Gets a new array of the accessors for fields of this type.
|
Map<String,Object> |
getFieldsMap(boolean withAbsents)
Gets a Map from :discriminant-name to associated-value.
|
boolean |
isCug_FeatureChosen()
Tests whether the choice is cug-Feature.
|
boolean |
isCug_FeatureListChosen()
Tests whether the choice is cug-FeatureList.
|
MAPCUG_Information.Cug_Features |
setCug_Feature(MAPCUG_Feature_v1 value)
Sets the value of the cug-Feature choice.
|
MAPCUG_Information.Cug_Features |
setCug_FeatureList(MAPCUG_Feature_v1[] value)
Sets the value of the cug-FeatureList choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPCUG_Information.Cug_Features clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPCUG_Information.Cug_Features copyOf(MAPCUG_Information.Cug_Features from)
from
- the object from which to copypublic MAPCUG_Information.Cug_Features.Choice getChoice()
public MAPCUG_Feature_v1 getCug_Feature()
public MAPCUG_Feature_v1[] getCug_FeatureList()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic boolean isCug_FeatureChosen()
public boolean isCug_FeatureListChosen()
public MAPCUG_Information.Cug_Features setCug_Feature(MAPCUG_Feature_v1 value) throws IllegalStateException, NullPointerException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is nullpublic MAPCUG_Information.Cug_Features setCug_FeatureList(MAPCUG_Feature_v1[] value) throws IllegalStateException, NullPointerException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is nullpublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject