public class MAPCUG_Information extends AbstractFieldsObject
CUG-Information ::= SEQUENCE { cug-Facilities CUG-Facilities, cug-Features CHOICE { cug-Feature CUG-Feature-v1, cug-FeatureList CUG-FeatureList-v1 } }Present in ph1. Removed between ph1 and ph2 (replaced by
MAPCUG_Info
).
Used as field type by MAPSS_Information
.
Used as field type by MAPSentParameter
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPCUG_Information.Cug_Features
API for MAP-SS-DataTypes-ph1.CUG-Information.cug-Features.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPCUG_Information()
Constructs an object with uninitialised state.
|
MAPCUG_Information(byte[] Cug_Facilities_param,
MAPCUG_Information.Cug_Features Cug_Features_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
MAPCUG_Information |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPCUG_Information |
copyOf(MAPCUG_Information 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.
|
byte[] |
getCug_Facilities()
Gets the value of the field cug-Facilities.
|
MAPCUG_Information.Cug_Features |
getCug_Features()
Gets the value of the field cug-Features.
|
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.
|
boolean |
hasCug_Facilities()
Tests whether the field cug-Facilities has a value.
|
boolean |
hasCug_Features()
Tests whether the field cug-Features has a value.
|
MAPCUG_Information |
setCug_Facilities(byte[] value)
Sets the value of the field cug-Facilities.
|
MAPCUG_Information |
setCug_Features(MAPCUG_Information.Cug_Features value)
Sets the value of the field cug-Features.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPCUG_Information()
public MAPCUG_Information(byte[] Cug_Facilities_param, MAPCUG_Information.Cug_Features Cug_Features_param)
Cug_Facilities_param
- value for that fieldCug_Features_param
- value for that fieldpublic MAPCUG_Information clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPCUG_Information copyOf(MAPCUG_Information from)
from
- the object from which to copypublic byte[] getCug_Facilities()
public MAPCUG_Information.Cug_Features getCug_Features()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic boolean hasCug_Facilities()
public boolean hasCug_Features()
public MAPCUG_Information setCug_Facilities(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCUG_Information setCug_Features(MAPCUG_Information.Cug_Features value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject