Class MAPGenericServiceInfo
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPGenericServiceInfo
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPGenericServiceInfo extends AbstractFieldsObject
API for MAP-SS-DataTypes.GenericServiceInfo. Generated from the following ASN.1 type definition.GenericServiceInfo ::= SEQUENCE { ss-Status SS-Status, cliRestrictionOption CliRestrictionOption OPTIONAL, ... maximumEntitledPriority EMLPP-Priority OPTIONAL, -- Added in R97. defaultPriority EMLPP-Priority OPTIONAL, -- Added in R97. ccbs-FeatureList CCBS-FeatureList OPTIONAL, -- Added in R97. nbrSB MaxMC-Bearers OPTIONAL, -- Added in R99. nbrUser MC-Bearers OPTIONAL, -- Added in R99. nbrSN MC-Bearers OPTIONAL -- Added in R99. }
Added in ph2. Renamed from Cli-RestrictionInfo between releases R96 and R97.Used as field type by
MAPInterrogateSS_Res
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPGenericServiceInfo()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPGenericServiceInfo
clone()
Constructs a copy of this object and everything reachable from it.static MAPGenericServiceInfo
copyOf(MAPGenericServiceInfo 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.MAPCCBS_Feature[]
getCcbs_FeatureList()
Gets the value of the field ccbs-FeatureList.MAPCliRestrictionOption
getCliRestrictionOption()
Gets the value of the field cliRestrictionOption.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
getMaximumEntitledPriority()
Gets the value of the field maximumEntitledPriority.int
getNbrSB()
Gets the value of the field nbrSB.int
getNbrSN()
Gets the value of the field nbrSN.int
getNbrUser()
Gets the value of the field nbrUser.byte[]
getSs_Status()
Gets the value of the field ss-Status.boolean
hasCcbs_FeatureList()
Tests whether the field ccbs-FeatureList has a value.boolean
hasCliRestrictionOption()
Tests whether the field cliRestrictionOption has a value.boolean
hasDefaultPriority()
Tests whether the field defaultPriority has a value.boolean
hasMaximumEntitledPriority()
Tests whether the field maximumEntitledPriority has a value.boolean
hasNbrSB()
Tests whether the field nbrSB has a value.boolean
hasNbrSN()
Tests whether the field nbrSN has a value.boolean
hasNbrUser()
Tests whether the field nbrUser has a value.boolean
hasSs_Status()
Tests whether the field ss-Status has a value.MAPGenericServiceInfo
setCcbs_FeatureList(MAPCCBS_Feature[] value)
Sets the value of the field ccbs-FeatureList.MAPGenericServiceInfo
setCliRestrictionOption(MAPCliRestrictionOption value)
Sets the value of the field cliRestrictionOption.MAPGenericServiceInfo
setDefaultPriority(int value)
Sets the value of the field defaultPriority and marks the field as present.MAPGenericServiceInfo
setDefaultPriorityPresent(boolean flag)
Sets the presence or absence of the optional field defaultPriority.MAPGenericServiceInfo
setMaximumEntitledPriority(int value)
Sets the value of the field maximumEntitledPriority and marks the field as present.MAPGenericServiceInfo
setMaximumEntitledPriorityPresent(boolean flag)
Sets the presence or absence of the optional field maximumEntitledPriority.MAPGenericServiceInfo
setNbrSB(int value)
Sets the value of the field nbrSB and marks the field as present.MAPGenericServiceInfo
setNbrSBPresent(boolean flag)
Sets the presence or absence of the optional field nbrSB.MAPGenericServiceInfo
setNbrSN(int value)
Sets the value of the field nbrSN and marks the field as present.MAPGenericServiceInfo
setNbrSNPresent(boolean flag)
Sets the presence or absence of the optional field nbrSN.MAPGenericServiceInfo
setNbrUser(int value)
Sets the value of the field nbrUser and marks the field as present.MAPGenericServiceInfo
setNbrUserPresent(boolean flag)
Sets the presence or absence of the optional field nbrUser.MAPGenericServiceInfo
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, setReadOnly
-
-
-
-
Method Detail
-
clone
public MAPGenericServiceInfo 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 MAPGenericServiceInfo copyOf(MAPGenericServiceInfo 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:
- MAPGenericServiceInfo
-
getCcbs_FeatureList
public MAPCCBS_Feature[] getCcbs_FeatureList()
Gets the value of the field ccbs-FeatureList.- Returns:
- value of field ccbs-FeatureList, or null if not present
-
getCliRestrictionOption
public MAPCliRestrictionOption getCliRestrictionOption()
Gets the value of the field cliRestrictionOption.- Returns:
- value of field cliRestrictionOption, 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.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getMaximumEntitledPriority
public int getMaximumEntitledPriority()
Gets the value of the field maximumEntitledPriority.- Returns:
- value of field maximumEntitledPriority
-
getNbrSB
public int getNbrSB()
Gets the value of the field nbrSB.- Returns:
- value of field nbrSB
-
getNbrSN
public int getNbrSN()
Gets the value of the field nbrSN.- Returns:
- value of field nbrSN
-
getNbrUser
public int getNbrUser()
Gets the value of the field nbrUser.- Returns:
- value of field nbrUser
-
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
-
hasCcbs_FeatureList
public boolean hasCcbs_FeatureList()
Tests whether the field ccbs-FeatureList has a value.- Returns:
- whether the field ccbs-FeatureList has a value
-
hasCliRestrictionOption
public boolean hasCliRestrictionOption()
Tests whether the field cliRestrictionOption has a value.- Returns:
- whether the field cliRestrictionOption has a value
-
hasDefaultPriority
public boolean hasDefaultPriority()
Tests whether the field defaultPriority has a value.- Returns:
- whether the field defaultPriority has a value
-
hasMaximumEntitledPriority
public boolean hasMaximumEntitledPriority()
Tests whether the field maximumEntitledPriority has a value.- Returns:
- whether the field maximumEntitledPriority has a value
-
hasNbrSB
public boolean hasNbrSB()
Tests whether the field nbrSB has a value.- Returns:
- whether the field nbrSB has a value
-
hasNbrSN
public boolean hasNbrSN()
Tests whether the field nbrSN has a value.- Returns:
- whether the field nbrSN has a value
-
hasNbrUser
public boolean hasNbrUser()
Tests whether the field nbrUser has a value.- Returns:
- whether the field nbrUser 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
-
setCcbs_FeatureList
public MAPGenericServiceInfo setCcbs_FeatureList(MAPCCBS_Feature[] value) throws IllegalStateException
Sets the value of the field ccbs-FeatureList. 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
-
setCliRestrictionOption
public MAPGenericServiceInfo setCliRestrictionOption(MAPCliRestrictionOption value) throws IllegalStateException
Sets the value of the field cliRestrictionOption. 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 MAPGenericServiceInfo 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 MAPGenericServiceInfo 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
-
setMaximumEntitledPriority
public MAPGenericServiceInfo setMaximumEntitledPriority(int value) throws IllegalStateException
Sets the value of the field maximumEntitledPriority 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
-
setMaximumEntitledPriorityPresent
public MAPGenericServiceInfo setMaximumEntitledPriorityPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field maximumEntitledPriority.- 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
-
setNbrSB
public MAPGenericServiceInfo setNbrSB(int value) throws IllegalStateException
Sets the value of the field nbrSB 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
-
setNbrSBPresent
public MAPGenericServiceInfo setNbrSBPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field nbrSB.- 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
-
setNbrSN
public MAPGenericServiceInfo setNbrSN(int value) throws IllegalStateException
Sets the value of the field nbrSN 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
-
setNbrSNPresent
public MAPGenericServiceInfo setNbrSNPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field nbrSN.- 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 MAPGenericServiceInfo 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 MAPGenericServiceInfo 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
-
setSs_Status
public MAPGenericServiceInfo 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
-
-