public class MAPCUG_Feature_v1 extends AbstractFieldsObject
CUG-Feature-v1 ::= SEQUENCE { cug-interlock CUG-Interlock, cug-Index CUG-Index-v1, cug-Options CUG-Options, ss-Status SS-Status }Present in ph1. Removed between ph1 and ph2 (replaced by
MAPCUG_Feature
).
Used as field type by MAPCUG_Information.Cug_Features
.
Used in array as field type by MAPCUG_Information.Cug_Features
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPCUG_Feature_v1()
Constructs an object with uninitialised state.
|
MAPCUG_Feature_v1(CUGInterLockCode Cug_interlock_param,
byte[] Cug_Index_param,
byte[] Cug_Options_param,
byte[] Ss_Status_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
MAPCUG_Feature_v1 |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPCUG_Feature_v1 |
copyOf(MAPCUG_Feature_v1 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_Index()
Gets the value of the field cug-Index.
|
CUGInterLockCode |
getCug_interlock()
Gets the value of the field cug-interlock.
|
byte[] |
getCug_Options()
Gets the value of the field cug-Options.
|
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[] |
getSs_Status()
Gets the value of the field ss-Status.
|
boolean |
hasCug_Index()
Tests whether the field cug-Index has a value.
|
boolean |
hasCug_interlock()
Tests whether the field cug-interlock has a value.
|
boolean |
hasCug_Options()
Tests whether the field cug-Options has a value.
|
boolean |
hasSs_Status()
Tests whether the field ss-Status has a value.
|
MAPCUG_Feature_v1 |
setCug_Index(byte[] value)
Sets the value of the field cug-Index.
|
MAPCUG_Feature_v1 |
setCug_interlock(CUGInterLockCode value)
Sets the value of the field cug-interlock.
|
MAPCUG_Feature_v1 |
setCug_Options(byte[] value)
Sets the value of the field cug-Options.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPCUG_Feature_v1 |
setSs_Status(byte[] value)
Sets the value of the field ss-Status.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPCUG_Feature_v1()
public MAPCUG_Feature_v1(CUGInterLockCode Cug_interlock_param, byte[] Cug_Index_param, byte[] Cug_Options_param, byte[] Ss_Status_param)
Cug_interlock_param
- value for that fieldCug_Index_param
- value for that fieldCug_Options_param
- value for that fieldSs_Status_param
- value for that fieldpublic MAPCUG_Feature_v1 clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPCUG_Feature_v1 copyOf(MAPCUG_Feature_v1 from)
from
- the object from which to copypublic byte[] getCug_Index()
public byte[] getCug_Options()
public CUGInterLockCode getCug_interlock()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic byte[] getSs_Status()
public boolean hasCug_Index()
public boolean hasCug_Options()
public boolean hasCug_interlock()
public boolean hasSs_Status()
public MAPCUG_Feature_v1 setCug_Index(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCUG_Feature_v1 setCug_Options(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCUG_Feature_v1 setCug_interlock(CUGInterLockCode 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
public MAPCUG_Feature_v1 setSs_Status(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only