Class MAPSS_Info
-
- All Implemented Interfaces:
DataObject,Serializable
- Direct Known Subclasses:
MAPExt_SS_Info
public class MAPSS_Info extends MAPSS_Information
API for MAP-SS-DataTypes.SS-Info. Generated from the following ASN.1 type definition and the adaptations below.SS-Info ::= CHOICE { forwardingInfo ForwardingInfo, callBarringInfo CallBarringInfo, ss-Data SS-Data } MAP-SS-DataTypes { SS-Info { @parentASN1Type MAP-SS-DataTypes-ph1.SS-Information } }Added in ph2 as an extension ofMAPSS_Information. Note that the parent's fields cug-Information and ss-Data-v1 are for use only in -v1 contexts.Used as result type by
MAPOperations.registerSS.Used as result type by
MAPOperations.eraseSS.Used as result type by
MAPOperations.activateSS.Used as result type by
MAPOperations.deactivateSS.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMAPSS_Info.ChoiceAPI for MAP-SS-DataTypes.SS-Info.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSS_Info()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSS_Infoclone()Constructs a copy of this object and everything reachable from it.static MAPSS_InfocopyOf(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.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.MAPSS_DatagetSs_Data()Gets the value of the ss-Data choice.booleanisSs_DataChosen()Tests whether the choice is ss-Data.MAPSS_InfosetCallBarringInfo(MAPCallBarringInfo value)Sets the value of the callBarringInfo choice.MAPSS_InfosetForwardingInfo(MAPForwardingInfo value)Sets the value of the forwardingInfo choice.voidsetReadOnly()Sets this and all its fields to be immutable.MAPSS_InfosetSs_Data(MAPSS_Data value)Sets the value of the ss-Data choice.-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPSS_Information
getCallBarringInfo, getChoice, getCug_Information, getForwardingInfo, getSs_Data_v1, isCallBarringInfoChosen, isCug_InformationChosen, isForwardingInfoChosen, isSs_Data_v1Chosen, setChoice, setCug_Information, setSs_Data_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_Info clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Overrides:
clonein classMAPSS_Information- Returns:
- copy of object
-
copyOf
public static MAPSS_Info 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_Info
-
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.- Overrides:
getFieldsMapin classMAPSS_Information- Parameters:
withAbsents- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
getSs_Data
public MAPSS_Data getSs_Data()
Gets the value of the ss-Data choice.- Returns:
- value of the choice, if choice is ss-Data, else null
-
isSs_DataChosen
public boolean isSs_DataChosen()
Tests whether the choice is ss-Data.- Returns:
- true if chosen, false if not
-
setCallBarringInfo
public MAPSS_Info setCallBarringInfo(MAPCallBarringInfo value) throws IllegalStateException, NullPointerException
Sets the value of the callBarringInfo choice.- Overrides:
setCallBarringInfoin classMAPSS_Information- 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_Info setForwardingInfo(MAPForwardingInfo value) throws IllegalStateException, NullPointerException
Sets the value of the forwardingInfo choice.- Overrides:
setForwardingInfoin classMAPSS_Information- 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:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classMAPSS_Information
-
setSs_Data
public MAPSS_Info setSs_Data(MAPSS_Data value) throws IllegalStateException, NullPointerException
Sets the value of the ss-Data 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
-
-