Class MAPCUG_Feature_v1
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPCUG_Feature_v1
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPCUG_Feature_v1 extends AbstractFieldsObject
API for MAP-SS-DataTypes-ph1.CUG-Feature-v1. Generated from the following ASN.1 type definition.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 byMAPCUG_Feature
).Used as field type by
MAPCUG_Information.Cug_Features
.Used in array as field type by
MAPCUG_Information.Cug_Features
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Constructor Detail
-
MAPCUG_Feature_v1
public MAPCUG_Feature_v1()
Constructs an object with uninitialised state.
-
MAPCUG_Feature_v1
public 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.- Parameters:
Cug_interlock_param
- value for that fieldCug_Index_param
- value for that fieldCug_Options_param
- value for that fieldSs_Status_param
- value for that field
-
-
Method Detail
-
clone
public MAPCUG_Feature_v1 clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public 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.- Parameters:
from
- the object from which to copy- Returns:
- MAPCUG_Feature_v1
-
getCug_Index
public byte[] getCug_Index()
Gets the value of the field cug-Index.- Returns:
- value of field cug-Index, or null if not present
-
getCug_Options
public byte[] getCug_Options()
Gets the value of the field cug-Options.- Returns:
- value of field cug-Options, or null if not present
-
getCug_interlock
public CUGInterLockCode getCug_interlock()
Gets the value of the field cug-interlock.- Returns:
- value of field cug-interlock, or null if not present
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getSs_Status
public byte[] getSs_Status()
Gets the value of the field ss-Status.- Returns:
- value of field ss-Status, or null if not present
-
hasCug_Index
public boolean hasCug_Index()
Tests whether the field cug-Index has a value.- Returns:
- whether the field cug-Index has a value
-
hasCug_Options
public boolean hasCug_Options()
Tests whether the field cug-Options has a value.- Returns:
- whether the field cug-Options has a value
-
hasCug_interlock
public boolean hasCug_interlock()
Tests whether the field cug-interlock has a value.- Returns:
- whether the field cug-interlock has a value
-
hasSs_Status
public boolean hasSs_Status()
Tests whether the field ss-Status has a value.- Returns:
- whether the field ss-Status has a value
-
setCug_Index
public MAPCUG_Feature_v1 setCug_Index(byte[] value) throws IllegalStateException
Sets the value of the field cug-Index.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setCug_Options
public MAPCUG_Feature_v1 setCug_Options(byte[] value) throws IllegalStateException
Sets the value of the field cug-Options.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setCug_interlock
public MAPCUG_Feature_v1 setCug_interlock(CUGInterLockCode value) throws IllegalStateException
Sets the value of the field cug-interlock.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setSs_Status
public MAPCUG_Feature_v1 setSs_Status(byte[] value) throws IllegalStateException
Sets the value of the field ss-Status.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-