Class MAPSS_Information
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPSS_Information
-
- All Implemented Interfaces:
DataObject
,Serializable
- Direct Known Subclasses:
MAPSS_Info
public class MAPSS_Information extends AbstractFieldsObject
API for MAP-SS-DataTypes-ph1.SS-Information. Generated from the following ASN.1 type definition and the adaptations below.SS-Information ::= CHOICE { forwardingInfo ForwardingInfo, callBarringInfo CallBarringInfo, cug-Information CUG-Information, -- Removed between ph1 and ph2. (Replaced by cug-Info, which has a different type, in Ext-SS-Info.) ss-Data-v1 SS-Data-v1 -- Removed between ph1 and ph2. (Replaced by ss-Data, which has a different type.) } MAP-SS-DataTypes-ph1 { SS-Information { @extendible } }
Present in ph1. Evolved toMAPSS_Info
in ph2.Used in array as field type by
MAPInsertSubscriberDataArg_v1
.Used as result type by
MAPOperations.registerSS_v1
.Used as result type by
MAPOperations.eraseSS_v1
.Used as result type by
MAPOperations.activateSS_v1
.Used as result type by
MAPOperations.deactivateSS_v1
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MAPSS_Information.Choice
API for MAP-SS-DataTypes-ph1.SS-Information.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSS_Information()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSS_Information
clone()
Constructs a copy of this object and everything reachable from it.static MAPSS_Information
copyOf(MAPSS_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.MAPCallBarringInfo
getCallBarringInfo()
Gets the value of the callBarringInfo choice.MAPSS_Information.Choice
getChoice()
Gets the discriminant of the current choice.MAPCUG_Information
getCug_Information()
Gets the value of the cug-Information choice.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 :discriminant-name to associated-value.MAPForwardingInfo
getForwardingInfo()
Gets the value of the forwardingInfo choice.MAPSS_Data_v1
getSs_Data_v1()
Gets the value of the ss-Data-v1 choice.boolean
isCallBarringInfoChosen()
Tests whether the choice is callBarringInfo.boolean
isCug_InformationChosen()
Tests whether the choice is cug-Information.boolean
isForwardingInfoChosen()
Tests whether the choice is forwardingInfo.boolean
isSs_Data_v1Chosen()
Tests whether the choice is ss-Data-v1.MAPSS_Information
setCallBarringInfo(MAPCallBarringInfo value)
Sets the value of the callBarringInfo choice.protected void
setChoice(MAPSS_Information.Choice arg)
Sets the discriminant of the current choice.MAPSS_Information
setCug_Information(MAPCUG_Information value)
Sets the value of the cug-Information choice.MAPSS_Information
setForwardingInfo(MAPForwardingInfo value)
Sets the value of the forwardingInfo choice.void
setReadOnly()
Sets this and all its fields to be immutable.MAPSS_Information
setSs_Data_v1(MAPSS_Data_v1 value)
Sets the value of the ss-Data-v1 choice.-
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_Information 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 MAPSS_Information copyOf(MAPSS_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.- Parameters:
from
- the object from which to copy- Returns:
- MAPSS_Information
-
getCallBarringInfo
public MAPCallBarringInfo getCallBarringInfo()
Gets the value of the callBarringInfo choice.- Returns:
- value of the choice, if choice is callBarringInfo, else null
-
getChoice
public MAPSS_Information.Choice getChoice()
Gets the discriminant of the current choice.- Returns:
- the current discriminant
-
getCug_Information
public MAPCUG_Information getCug_Information()
Gets the value of the cug-Information choice.- Returns:
- value of the choice, if choice is cug-Information, else null
-
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 :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
getForwardingInfo
public MAPForwardingInfo getForwardingInfo()
Gets the value of the forwardingInfo choice.- Returns:
- value of the choice, if choice is forwardingInfo, else null
-
getSs_Data_v1
public MAPSS_Data_v1 getSs_Data_v1()
Gets the value of the ss-Data-v1 choice.- Returns:
- value of the choice, if choice is ss-Data-v1, else null
-
isCallBarringInfoChosen
public boolean isCallBarringInfoChosen()
Tests whether the choice is callBarringInfo.- Returns:
- true if chosen, false if not
-
isCug_InformationChosen
public boolean isCug_InformationChosen()
Tests whether the choice is cug-Information.- Returns:
- true if chosen, false if not
-
isForwardingInfoChosen
public boolean isForwardingInfoChosen()
Tests whether the choice is forwardingInfo.- Returns:
- true if chosen, false if not
-
isSs_Data_v1Chosen
public boolean isSs_Data_v1Chosen()
Tests whether the choice is ss-Data-v1.- Returns:
- true if chosen, false if not
-
setCallBarringInfo
public MAPSS_Information setCallBarringInfo(MAPCallBarringInfo value) throws IllegalStateException, NullPointerException
Sets the value of the callBarringInfo choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setChoice
protected void setChoice(MAPSS_Information.Choice arg)
Sets the discriminant of the current choice.- Parameters:
arg
- the new discriminant
-
setCug_Information
public MAPSS_Information setCug_Information(MAPCUG_Information value) throws IllegalStateException, NullPointerException
Sets the value of the cug-Information choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setForwardingInfo
public MAPSS_Information setForwardingInfo(MAPForwardingInfo value) throws IllegalStateException, NullPointerException
Sets the value of the forwardingInfo choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setSs_Data_v1
public MAPSS_Information setSs_Data_v1(MAPSS_Data_v1 value) throws IllegalStateException, NullPointerException
Sets the value of the ss-Data-v1 choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
-