Class CAP4DpSpecificInfoAlt
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- CAP4DpSpecificInfoAlt
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CAP4DpSpecificInfoAlt extends AbstractFieldsObject
API for CAP-datatypes.DpSpecificInfoAlt. Generated from the following ASN.1 type definition.DpSpecificInfoAlt ::= SEQUENCE { oServiceChangeSpecificInfo SEQUENCE { ext-basicServiceCode Ext-BasicServiceCode OPTIONAL, ... initiatorOfServiceChange InitiatorOfServiceChange OPTIONAL, natureOfServiceChange NatureOfServiceChange OPTIONAL }, tServiceChangeSpecificInfo SEQUENCE { ext-basicServiceCode Ext-BasicServiceCode OPTIONAL, ... initiatorOfServiceChange InitiatorOfServiceChange OPTIONAL, natureOfServiceChange NatureOfServiceChange OPTIONAL }, collectedInfoSpecificInfo SEQUENCE { calledPartyNumber CalledPartyNumber OPTIONAL, ... } }
Used as field type by
CAP4EventSpecificInformationBCSM
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CAP4DpSpecificInfoAlt.CollectedInfoSpecificInfo
API for CAP-datatypes.DpSpecificInfoAlt.collectedInfoSpecificInfo.static class
CAP4DpSpecificInfoAlt.OServiceChangeSpecificInfo
API for CAP-datatypes.DpSpecificInfoAlt.oServiceChangeSpecificInfo.static class
CAP4DpSpecificInfoAlt.TServiceChangeSpecificInfo
API for CAP-datatypes.DpSpecificInfoAlt.tServiceChangeSpecificInfo.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CAP4DpSpecificInfoAlt()
Constructs an object with uninitialised state.CAP4DpSpecificInfoAlt(CAP4DpSpecificInfoAlt.OServiceChangeSpecificInfo OServiceChangeSpecificInfo_param, CAP4DpSpecificInfoAlt.TServiceChangeSpecificInfo TServiceChangeSpecificInfo_param, CAP4DpSpecificInfoAlt.CollectedInfoSpecificInfo CollectedInfoSpecificInfo_param)
Constructs an object from given values for all fields.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP4DpSpecificInfoAlt
clone()
Constructs a copy of this object and everything reachable from it.static CAP4DpSpecificInfoAlt
copyOf(CAP4DpSpecificInfoAlt 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.CAP4DpSpecificInfoAlt.CollectedInfoSpecificInfo
getCollectedInfoSpecificInfo()
Gets the value of the field collectedInfoSpecificInfo.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.CAP4DpSpecificInfoAlt.OServiceChangeSpecificInfo
getOServiceChangeSpecificInfo()
Gets the value of the field oServiceChangeSpecificInfo.CAP4DpSpecificInfoAlt.TServiceChangeSpecificInfo
getTServiceChangeSpecificInfo()
Gets the value of the field tServiceChangeSpecificInfo.boolean
hasCollectedInfoSpecificInfo()
Tests whether the field collectedInfoSpecificInfo has a value.boolean
hasOServiceChangeSpecificInfo()
Tests whether the field oServiceChangeSpecificInfo has a value.boolean
hasTServiceChangeSpecificInfo()
Tests whether the field tServiceChangeSpecificInfo has a value.CAP4DpSpecificInfoAlt
setCollectedInfoSpecificInfo(CAP4DpSpecificInfoAlt.CollectedInfoSpecificInfo value)
Sets the value of the field collectedInfoSpecificInfo.CAP4DpSpecificInfoAlt
setOServiceChangeSpecificInfo(CAP4DpSpecificInfoAlt.OServiceChangeSpecificInfo value)
Sets the value of the field oServiceChangeSpecificInfo.void
setReadOnly()
Sets this and all its fields to be immutable.CAP4DpSpecificInfoAlt
setTServiceChangeSpecificInfo(CAP4DpSpecificInfoAlt.TServiceChangeSpecificInfo value)
Sets the value of the field tServiceChangeSpecificInfo.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Constructor Detail
-
CAP4DpSpecificInfoAlt
public CAP4DpSpecificInfoAlt()
Constructs an object with uninitialised state.
-
CAP4DpSpecificInfoAlt
public CAP4DpSpecificInfoAlt(CAP4DpSpecificInfoAlt.OServiceChangeSpecificInfo OServiceChangeSpecificInfo_param, CAP4DpSpecificInfoAlt.TServiceChangeSpecificInfo TServiceChangeSpecificInfo_param, CAP4DpSpecificInfoAlt.CollectedInfoSpecificInfo CollectedInfoSpecificInfo_param)
Constructs an object from given values for all fields.- Parameters:
OServiceChangeSpecificInfo_param
- value for that fieldTServiceChangeSpecificInfo_param
- value for that fieldCollectedInfoSpecificInfo_param
- value for that field
-
-
Method Detail
-
clone
public CAP4DpSpecificInfoAlt 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 CAP4DpSpecificInfoAlt copyOf(CAP4DpSpecificInfoAlt 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:
- CAP4DpSpecificInfoAlt
-
getCollectedInfoSpecificInfo
public CAP4DpSpecificInfoAlt.CollectedInfoSpecificInfo getCollectedInfoSpecificInfo()
Gets the value of the field collectedInfoSpecificInfo.- Returns:
- value of field collectedInfoSpecificInfo, 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:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getOServiceChangeSpecificInfo
public CAP4DpSpecificInfoAlt.OServiceChangeSpecificInfo getOServiceChangeSpecificInfo()
Gets the value of the field oServiceChangeSpecificInfo.- Returns:
- value of field oServiceChangeSpecificInfo, or null if not present
-
getTServiceChangeSpecificInfo
public CAP4DpSpecificInfoAlt.TServiceChangeSpecificInfo getTServiceChangeSpecificInfo()
Gets the value of the field tServiceChangeSpecificInfo.- Returns:
- value of field tServiceChangeSpecificInfo, or null if not present
-
hasCollectedInfoSpecificInfo
public boolean hasCollectedInfoSpecificInfo()
Tests whether the field collectedInfoSpecificInfo has a value.- Returns:
- whether the field collectedInfoSpecificInfo has a value
-
hasOServiceChangeSpecificInfo
public boolean hasOServiceChangeSpecificInfo()
Tests whether the field oServiceChangeSpecificInfo has a value.- Returns:
- whether the field oServiceChangeSpecificInfo has a value
-
hasTServiceChangeSpecificInfo
public boolean hasTServiceChangeSpecificInfo()
Tests whether the field tServiceChangeSpecificInfo has a value.- Returns:
- whether the field tServiceChangeSpecificInfo has a value
-
setCollectedInfoSpecificInfo
public CAP4DpSpecificInfoAlt setCollectedInfoSpecificInfo(CAP4DpSpecificInfoAlt.CollectedInfoSpecificInfo value) throws IllegalStateException
Sets the value of the field collectedInfoSpecificInfo.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setOServiceChangeSpecificInfo
public CAP4DpSpecificInfoAlt setOServiceChangeSpecificInfo(CAP4DpSpecificInfoAlt.OServiceChangeSpecificInfo value) throws IllegalStateException
Sets the value of the field oServiceChangeSpecificInfo.- 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:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setTServiceChangeSpecificInfo
public CAP4DpSpecificInfoAlt setTServiceChangeSpecificInfo(CAP4DpSpecificInfoAlt.TServiceChangeSpecificInfo value) throws IllegalStateException
Sets the value of the field tServiceChangeSpecificInfo.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-