Class MAPSS_Data
-
- All Implemented Interfaces:
DataObject
,Serializable
- Direct Known Subclasses:
MAPExt_SS_Data
public class MAPSS_Data extends MAPSS_Data_v1
API for MAP-SS-DataTypes.SS-Data. Generated from the following ASN.1 type definition and the adaptations below.SS-Data ::= SEQUENCE { ss-Code SS-Code OPTIONAL, ss-Status SS-Status OPTIONAL, ss-SubscriptionOption SS-SubscriptionOption OPTIONAL, basicServiceGroupList BasicServiceGroupList OPTIONAL, -- Added in ph2. ... defaultPriority EMLPP-Priority OPTIONAL, -- Added in R97. nbrUser MC-Bearers OPTIONAL -- Added in R99. } MAP-SS-DataTypes { SS-Data { @parentASN1Type MAP-SS-DataTypes-ph1.SS-Data-v1 } }
Added in ph2 as an extension ofMAPSS_Data_v1
. Note that the parent's field ss-SubscriptionOption-v1 is for use only in -v1 contexts.Used as field type by
MAPSS_Info
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSS_Data()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSS_Data
clone()
Constructs a copy of this object and everything reachable from it.static MAPSS_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.MAPBasicServiceCode[]
getBasicServiceGroupList()
Gets the value of the field basicServiceGroupList.int
getDefaultPriority()
Gets the value of the field defaultPriority.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.int
getNbrUser()
Gets the value of the field nbrUser.MAPSS_SubscriptionOption
getSs_SubscriptionOption()
Gets the value of the field ss-SubscriptionOption.boolean
hasBasicServiceGroupList()
Tests whether the field basicServiceGroupList has a value.boolean
hasDefaultPriority()
Tests whether the field defaultPriority has a value.boolean
hasNbrUser()
Tests whether the field nbrUser has a value.boolean
hasSs_SubscriptionOption()
Tests whether the field ss-SubscriptionOption has a value.MAPSS_Data
setBasicServiceGroupList(MAPBasicServiceCode[] value)
Sets the value of the field basicServiceGroupList.MAPSS_Data
setDefaultPriority(int value)
Sets the value of the field defaultPriority and marks the field as present.MAPSS_Data
setDefaultPriorityPresent(boolean flag)
Sets the presence or absence of the optional field defaultPriority.MAPSS_Data
setNbrUser(int value)
Sets the value of the field nbrUser and marks the field as present.MAPSS_Data
setNbrUserPresent(boolean flag)
Sets the presence or absence of the optional field nbrUser.void
setReadOnly()
Sets this and all its fields to be immutable.MAPSS_Data
setSs_Code(SSCode value)
Sets the value of the field ss-Code.MAPSS_Data
setSs_Status(byte[] value)
Sets the value of the field ss-Status.MAPSS_Data
setSs_SubscriptionOption(MAPSS_SubscriptionOption value)
Sets the value of the field ss-SubscriptionOption.-
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 MAPSS_Data clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classMAPSS_Data_v1
- Returns:
- copy of object
-
copyOf
public static MAPSS_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:
- MAPSS_Data
-
getBasicServiceGroupList
public MAPBasicServiceCode[] getBasicServiceGroupList()
Gets the value of the field basicServiceGroupList.- Returns:
- value of field basicServiceGroupList, or null if not present
-
getDefaultPriority
public int getDefaultPriority()
Gets the value of the field defaultPriority.- Returns:
- value of field defaultPriority
-
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:
getFieldsMap
in classMAPSS_Data_v1
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getNbrUser
public int getNbrUser()
Gets the value of the field nbrUser.- Returns:
- value of field nbrUser
-
getSs_SubscriptionOption
public MAPSS_SubscriptionOption getSs_SubscriptionOption()
Gets the value of the field ss-SubscriptionOption.- Returns:
- value of field ss-SubscriptionOption, or null if not present
-
hasBasicServiceGroupList
public boolean hasBasicServiceGroupList()
Tests whether the field basicServiceGroupList has a value.- Returns:
- whether the field basicServiceGroupList has a value
-
hasDefaultPriority
public boolean hasDefaultPriority()
Tests whether the field defaultPriority has a value.- Returns:
- whether the field defaultPriority has a value
-
hasNbrUser
public boolean hasNbrUser()
Tests whether the field nbrUser has a value.- Returns:
- whether the field nbrUser has a value
-
hasSs_SubscriptionOption
public boolean hasSs_SubscriptionOption()
Tests whether the field ss-SubscriptionOption has a value.- Returns:
- whether the field ss-SubscriptionOption has a value
-
setBasicServiceGroupList
public MAPSS_Data setBasicServiceGroupList(MAPBasicServiceCode[] 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
-
setDefaultPriority
public MAPSS_Data setDefaultPriority(int value) throws IllegalStateException
Sets the value of the field defaultPriority and marks the field as present.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setDefaultPriorityPresent
public MAPSS_Data setDefaultPriorityPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field defaultPriority.- Parameters:
flag
- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setNbrUser
public MAPSS_Data setNbrUser(int value) throws IllegalStateException
Sets the value of the field nbrUser and marks the field as present.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setNbrUserPresent
public MAPSS_Data setNbrUserPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field nbrUser.- Parameters:
flag
- either true if the field should be marked as present or false if the field should be marked as absent- 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 classMAPSS_Data_v1
-
setSs_Code
public MAPSS_Data setSs_Code(SSCode value) throws IllegalStateException
Sets the value of the field ss-Code. If null, marks the field as absent.- Overrides:
setSs_Code
in classMAPSS_Data_v1
- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setSs_Status
public MAPSS_Data setSs_Status(byte[] value) throws IllegalStateException
Sets the value of the field ss-Status. If null, marks the field as absent.- Overrides:
setSs_Status
in classMAPSS_Data_v1
- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setSs_SubscriptionOption
public MAPSS_Data setSs_SubscriptionOption(MAPSS_SubscriptionOption value) throws IllegalStateException
Sets the value of the field ss-SubscriptionOption. 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
-
-