Class MAPCCBS_Feature
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPCCBS_Feature extends AbstractFieldsObject
API for MAP-SS-DataTypes.CCBS-Feature. Generated from the following ASN.1 type definition.CCBS-Feature ::= SEQUENCE { ccbs-Index CCBS-Index OPTIONAL, b-subscriberNumber ISDN-AddressString OPTIONAL, b-subscriberSubaddress ISDN-SubaddressString OPTIONAL, basicServiceGroup BasicServiceCode OPTIONAL, ... }
Added in R97.Used in array as field type by
MAPGenericServiceInfo
.Used as field type by
MAPRemoteUserFreeArg
.Used as field type by
MAPCCBS_Data
.Used as field type by
MAPRegisterCC_EntryRes
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPCCBS_Feature()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPCCBS_Feature
clone()
Constructs a copy of this object and everything reachable from it.static MAPCCBS_Feature
copyOf(MAPCCBS_Feature 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.AddressString
getB_subscriberNumber()
Gets the value of the field b-subscriberNumber.ISDNSubaddress
getB_subscriberSubaddress()
Gets the value of the field b-subscriberSubaddress.MAPBasicServiceCode
getBasicServiceGroup()
Gets the value of the field basicServiceGroup.int
getCcbs_Index()
Gets the value of the field ccbs-Index.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.boolean
hasB_subscriberNumber()
Tests whether the field b-subscriberNumber has a value.boolean
hasB_subscriberSubaddress()
Tests whether the field b-subscriberSubaddress has a value.boolean
hasBasicServiceGroup()
Tests whether the field basicServiceGroup has a value.boolean
hasCcbs_Index()
Tests whether the field ccbs-Index has a value.MAPCCBS_Feature
setB_subscriberNumber(AddressString value)
Sets the value of the field b-subscriberNumber.MAPCCBS_Feature
setB_subscriberSubaddress(ISDNSubaddress value)
Sets the value of the field b-subscriberSubaddress.MAPCCBS_Feature
setBasicServiceGroup(MAPBasicServiceCode value)
Sets the value of the field basicServiceGroup.MAPCCBS_Feature
setCcbs_Index(int value)
Sets the value of the field ccbs-Index and marks the field as present.MAPCCBS_Feature
setCcbs_IndexPresent(boolean flag)
Sets the presence or absence of the optional field ccbs-Index.void
setReadOnly()
Sets this and all its fields to be immutable.-
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 MAPCCBS_Feature 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 MAPCCBS_Feature copyOf(MAPCCBS_Feature 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:
- MAPCCBS_Feature
-
getB_subscriberNumber
public AddressString getB_subscriberNumber()
Gets the value of the field b-subscriberNumber.- Returns:
- value of field b-subscriberNumber, or null if not present
-
getB_subscriberSubaddress
public ISDNSubaddress getB_subscriberSubaddress()
Gets the value of the field b-subscriberSubaddress.- Returns:
- value of field b-subscriberSubaddress, or null if not present
-
getBasicServiceGroup
public MAPBasicServiceCode getBasicServiceGroup()
Gets the value of the field basicServiceGroup.- Returns:
- value of field basicServiceGroup, or null if not present
-
getCcbs_Index
public int getCcbs_Index()
Gets the value of the field ccbs-Index.- Returns:
- value of field ccbs-Index
-
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
-
hasB_subscriberNumber
public boolean hasB_subscriberNumber()
Tests whether the field b-subscriberNumber has a value.- Returns:
- whether the field b-subscriberNumber has a value
-
hasB_subscriberSubaddress
public boolean hasB_subscriberSubaddress()
Tests whether the field b-subscriberSubaddress has a value.- Returns:
- whether the field b-subscriberSubaddress has a value
-
hasBasicServiceGroup
public boolean hasBasicServiceGroup()
Tests whether the field basicServiceGroup has a value.- Returns:
- whether the field basicServiceGroup has a value
-
hasCcbs_Index
public boolean hasCcbs_Index()
Tests whether the field ccbs-Index has a value.- Returns:
- whether the field ccbs-Index has a value
-
setB_subscriberNumber
public MAPCCBS_Feature setB_subscriberNumber(AddressString value) throws IllegalStateException
Sets the value of the field b-subscriberNumber. 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
-
setB_subscriberSubaddress
public MAPCCBS_Feature setB_subscriberSubaddress(ISDNSubaddress value) throws IllegalStateException
Sets the value of the field b-subscriberSubaddress. 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
-
setBasicServiceGroup
public MAPCCBS_Feature setBasicServiceGroup(MAPBasicServiceCode value) throws IllegalStateException
Sets the value of the field basicServiceGroup. 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
-
setCcbs_Index
public MAPCCBS_Feature setCcbs_Index(int value) throws IllegalStateException
Sets the value of the field ccbs-Index 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
-
setCcbs_IndexPresent
public MAPCCBS_Feature setCcbs_IndexPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field ccbs-Index.- 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 classAbstractDataObject
-
-