public class MAPCUG_Feature extends AbstractFieldsObject
CUG-Feature ::=
SEQUENCE {
basicService Ext-BasicServiceCode OPTIONAL,
preferentialCUG-Indicator CUG-Index OPTIONAL,
interCUG-Restrictions InterCUG-Restrictions,
extensionContainer ExtensionContainer OPTIONAL, -- Added in R96.
...
}
Added in ph2. Moved from MAP-SS-DataTypes between ph2 and R96.
Used in array as field type by MAPCUG_Info.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
MAPCUG_Feature()
Constructs an object with uninitialised state.
|
| Modifier and Type | Method and Description |
|---|---|
MAPCUG_Feature |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPCUG_Feature |
copyOf(MAPCUG_Feature 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.
|
MAPExt_BasicServiceCode |
getBasicService()
Gets the value of the field basicService.
|
MAPExtensionContainer |
getExtensionContainer()
Gets the value of the field extensionContainer.
|
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 field-name to field-value.
|
byte[] |
getInterCUG_Restrictions()
Gets the value of the field interCUG-Restrictions.
|
int |
getPreferentialCUG_Indicator()
Gets the value of the field preferentialCUG-Indicator.
|
boolean |
hasBasicService()
Tests whether the field basicService has a value.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasInterCUG_Restrictions()
Tests whether the field interCUG-Restrictions has a value.
|
boolean |
hasPreferentialCUG_Indicator()
Tests whether the field preferentialCUG-Indicator has a value.
|
MAPCUG_Feature |
setBasicService(MAPExt_BasicServiceCode value)
Sets the value of the field basicService.
|
MAPCUG_Feature |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPCUG_Feature |
setInterCUG_Restrictions(byte[] value)
Sets the value of the field interCUG-Restrictions.
|
MAPCUG_Feature |
setPreferentialCUG_Indicator(int value)
Sets the value of the field preferentialCUG-Indicator and marks the field as present.
|
MAPCUG_Feature |
setPreferentialCUG_IndicatorPresent(boolean flag)
Sets the presence or absence of the optional field preferentialCUG-Indicator.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic MAPCUG_Feature()
public MAPCUG_Feature clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static MAPCUG_Feature copyOf(MAPCUG_Feature from)
from - the object from which to copypublic MAPExt_BasicServiceCode getBasicService()
public MAPExtensionContainer getExtensionContainer()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic byte[] getInterCUG_Restrictions()
public int getPreferentialCUG_Indicator()
public boolean hasBasicService()
public boolean hasExtensionContainer()
public boolean hasInterCUG_Restrictions()
public boolean hasPreferentialCUG_Indicator()
public MAPCUG_Feature setBasicService(MAPExt_BasicServiceCode value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPCUG_Feature setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPCUG_Feature setInterCUG_Restrictions(byte[] value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPCUG_Feature setPreferentialCUG_Indicator(int value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPCUG_Feature setPreferentialCUG_IndicatorPresent(boolean flag) throws IllegalStateException
flag - either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException - if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObject