Class MAPExt_SS_Data
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPExt_SS_Data extends MAPSS_Data
API for MAP-MS-DataTypes.Ext-SS-Data. Generated from the following ASN.1 type definition and the adaptations below.Ext-SS-Data ::= SEQUENCE { ss-Code SS-Code, ss-Status Ext-SS-Status, ss-SubscriptionOption SS-SubscriptionOption OPTIONAL, basicServiceGroupList Ext-BasicServiceGroupList OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... } MAP-MS-DataTypes { Ext-SS-Data { @parentASN1Type MAP-SS-DataTypes.SS-Data } }Added in R96 as an extension of SS-Data. Note that the parent's fields defaultPriority and nbrUser are not used in this type.Used as field type by
MAPExt_SS_Info.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPExt_SS_Data()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPExt_SS_Dataclone()Constructs a copy of this object and everything reachable from it.static MAPExt_SS_DatacopyOf(MAPSS_Data_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.MAPExtensionContainergetExtensionContainer()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.booleanhasExtensionContainer()Tests whether the field extensionContainer has a value.MAPExt_SS_DatasetBasicServiceGroupList(MAPExt_BasicServiceCode[] value)Sets the value of the field basicServiceGroupList.MAPExt_SS_DatasetExtensionContainer(MAPExtensionContainer value)Sets the value of the field extensionContainer.voidsetReadOnly()Sets this and all its fields to be immutable.MAPExt_SS_DatasetSs_Code(SSCode value)Sets the value of the field ss-Code.MAPExt_SS_DatasetSs_Status(byte[] value)Sets the value of the field ss-Status.MAPExt_SS_DatasetSs_SubscriptionOption(MAPSS_SubscriptionOption value)Sets the value of the field ss-SubscriptionOption.-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPSS_Data
getBasicServiceGroupList, getDefaultPriority, getNbrUser, getSs_SubscriptionOption, hasBasicServiceGroupList, hasDefaultPriority, hasNbrUser, hasSs_SubscriptionOption, setBasicServiceGroupList, setDefaultPriority, setDefaultPriorityPresent, setNbrUser, setNbrUserPresent
-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPSS_Data_v1
getSs_Code, getSs_Status, getSs_SubscriptionOption_v1, hasSs_Code, hasSs_Status, hasSs_SubscriptionOption_v1, setSs_SubscriptionOption_v1
-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public MAPExt_SS_Data clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Overrides:
clonein classMAPSS_Data- Returns:
- copy of object
-
copyOf
public static MAPExt_SS_Data copyOf(MAPSS_Data_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:
- MAPExt_SS_Data
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, 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.- Overrides:
getFieldsMapin classMAPSS_Data- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
setBasicServiceGroupList
public MAPExt_SS_Data setBasicServiceGroupList(MAPExt_BasicServiceCode[] value) throws IllegalStateException
Sets the value of the field basicServiceGroupList. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setExtensionContainer
public MAPExt_SS_Data setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. If null, marks the field as absent.- 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:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classMAPSS_Data
-
setSs_Code
public MAPExt_SS_Data setSs_Code(SSCode value) throws IllegalStateException
Sets the value of the field ss-Code.- Overrides:
setSs_Codein classMAPSS_Data- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setSs_Status
public MAPExt_SS_Data setSs_Status(byte[] value) throws IllegalStateException
Sets the value of the field ss-Status.- Overrides:
setSs_Statusin classMAPSS_Data- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setSs_SubscriptionOption
public MAPExt_SS_Data setSs_SubscriptionOption(MAPSS_SubscriptionOption value) throws IllegalStateException
Sets the value of the field ss-SubscriptionOption. If null, marks the field as absent.- Overrides:
setSs_SubscriptionOptionin classMAPSS_Data- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
-