Class MAPCCBS_Data
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPCCBS_Data extends AbstractFieldsObject
API for MAP-SS-DataTypes.CCBS-Data. Generated from the following ASN.1 type definition.CCBS-Data ::= SEQUENCE { ccbs-Feature CCBS-Feature, translatedB-Number ISDN-AddressString, serviceIndicator ServiceIndicator OPTIONAL, callInfo ExternalSignalInfo, networkSignalInfo ExternalSignalInfo, ... }Added in R97.Used as field type by
MAPRegisterCC_EntryArg.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPCCBS_Data()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPCCBS_Dataclone()Constructs a copy of this object and everything reachable from it.static MAPCCBS_DatacopyOf(MAPCCBS_Data 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.MAPExternalSignalInfogetCallInfo()Gets the value of the field callInfo.MAPCCBS_FeaturegetCcbs_Feature()Gets the value of the field ccbs-Feature.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.MAPExternalSignalInfogetNetworkSignalInfo()Gets the value of the field networkSignalInfo.MAPServiceIndicatorgetServiceIndicator()Gets the value of the field serviceIndicator.AddressStringgetTranslatedB_Number()Gets the value of the field translatedB-Number.booleanhasCallInfo()Tests whether the field callInfo has a value.booleanhasCcbs_Feature()Tests whether the field ccbs-Feature has a value.booleanhasNetworkSignalInfo()Tests whether the field networkSignalInfo has a value.booleanhasServiceIndicator()Tests whether the field serviceIndicator has a value.booleanhasTranslatedB_Number()Tests whether the field translatedB-Number has a value.MAPCCBS_DatasetCallInfo(MAPExternalSignalInfo value)Sets the value of the field callInfo.MAPCCBS_DatasetCcbs_Feature(MAPCCBS_Feature value)Sets the value of the field ccbs-Feature.MAPCCBS_DatasetNetworkSignalInfo(MAPExternalSignalInfo value)Sets the value of the field networkSignalInfo.voidsetReadOnly()Sets this and all its fields to be immutable.MAPCCBS_DatasetServiceIndicator(MAPServiceIndicator value)Sets the value of the field serviceIndicator.MAPCCBS_DatasetTranslatedB_Number(AddressString value)Sets the value of the field translatedB-Number.-
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_Data clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Specified by:
clonein classAbstractDataObject- Returns:
- copy of object
-
copyOf
public static MAPCCBS_Data copyOf(MAPCCBS_Data 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_Data
-
getCallInfo
public MAPExternalSignalInfo getCallInfo()
Gets the value of the field callInfo.- Returns:
- value of field callInfo, or null if not present
-
getCcbs_Feature
public MAPCCBS_Feature getCcbs_Feature()
Gets the value of the field ccbs-Feature.- Returns:
- value of field ccbs-Feature, or null if not present
-
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:
getFieldsMapin classAbstractFieldsObject- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getNetworkSignalInfo
public MAPExternalSignalInfo getNetworkSignalInfo()
Gets the value of the field networkSignalInfo.- Returns:
- value of field networkSignalInfo, or null if not present
-
getServiceIndicator
public MAPServiceIndicator getServiceIndicator()
Gets the value of the field serviceIndicator.- Returns:
- value of field serviceIndicator, or null if not present
-
getTranslatedB_Number
public AddressString getTranslatedB_Number()
Gets the value of the field translatedB-Number.- Returns:
- value of field translatedB-Number, or null if not present
-
hasCallInfo
public boolean hasCallInfo()
Tests whether the field callInfo has a value.- Returns:
- whether the field callInfo has a value
-
hasCcbs_Feature
public boolean hasCcbs_Feature()
Tests whether the field ccbs-Feature has a value.- Returns:
- whether the field ccbs-Feature has a value
-
hasNetworkSignalInfo
public boolean hasNetworkSignalInfo()
Tests whether the field networkSignalInfo has a value.- Returns:
- whether the field networkSignalInfo has a value
-
hasServiceIndicator
public boolean hasServiceIndicator()
Tests whether the field serviceIndicator has a value.- Returns:
- whether the field serviceIndicator has a value
-
hasTranslatedB_Number
public boolean hasTranslatedB_Number()
Tests whether the field translatedB-Number has a value.- Returns:
- whether the field translatedB-Number has a value
-
setCallInfo
public MAPCCBS_Data setCallInfo(MAPExternalSignalInfo value) throws IllegalStateException
Sets the value of the field callInfo.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setCcbs_Feature
public MAPCCBS_Data setCcbs_Feature(MAPCCBS_Feature value) throws IllegalStateException
Sets the value of the field ccbs-Feature.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setNetworkSignalInfo
public MAPCCBS_Data setNetworkSignalInfo(MAPExternalSignalInfo value) throws IllegalStateException
Sets the value of the field networkSignalInfo.- Parameters:
value- the new value for the field- 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:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classAbstractDataObject
-
setServiceIndicator
public MAPCCBS_Data setServiceIndicator(MAPServiceIndicator value) throws IllegalStateException
Sets the value of the field serviceIndicator. 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
-
setTranslatedB_Number
public MAPCCBS_Data setTranslatedB_Number(AddressString value) throws IllegalStateException
Sets the value of the field translatedB-Number.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
-