Class CAP4CAMEL_CallResult
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CAP4CAMEL_CallResult extends CAP3CAMEL_CallResult
API for CAP-datatypes.CAMEL-CallResult. Generated from the following ASN.1 type definition and the adaptations below.CAMEL-CallResult ::= CHOICE { timeDurationChargingResult SEQUENCE { partyToCharge ReceivingSideID, timeInformation TimeInformation, legActive BOOLEAN DEFAULT TRUE, callLegReleasedAtTcpExpiry NULL OPTIONAL, extensions Extensions OPTIONAL, aChChargingAddress AChChargingAddress DEFAULT legID : receivingSideID : '01'H, ... } } CAP-datatypes { CAMEL-CallResult { @extendible @parentType com.opencloud.slee.resources.cgin.cap_v3.CAP3CAMEL_CallResult timeDurationChargingResult { callLegReleasedAtTcpExpiry { @rename callReleasedAtTcpExpiry } legActive { @rename callActive } } } }
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CAP4CAMEL_CallResult.Choice
API for CAP-datatypes.CAMEL-CallResult.Choice.static class
CAP4CAMEL_CallResult.TimeDurationChargingResult
API for CAP-datatypes.CAMEL-CallResult.timeDurationChargingResult.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CAP4CAMEL_CallResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP4CAMEL_CallResult
clone()
Constructs a copy of this object and everything reachable from it.static CAP4CAMEL_CallResult
copyOf(CAP2CAMEL_CallResult 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.CAP4CAMEL_CallResult
setTimeDurationChargingResult(CAP4CAMEL_CallResult.TimeDurationChargingResult value)
Sets the value of the timeDurationChargingResult choice.-
Methods inherited from class com.opencloud.slee.resources.cgin.cap_v3.CAP3CAMEL_CallResult
setTimeDurationChargingResult
-
Methods inherited from class com.opencloud.slee.resources.cgin.cap_v2.CAP2CAMEL_CallResult
getChoice, getTimeDurationChargingResult, isTimeDurationChargingResultChosen, setChoice, setReadOnly, setTimeDurationChargingResult
-
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 CAP4CAMEL_CallResult clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classCAP3CAMEL_CallResult
- Returns:
- copy of object
-
copyOf
public static CAP4CAMEL_CallResult copyOf(CAP2CAMEL_CallResult 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:
- CAP4CAMEL_CallResult
-
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:
getFieldsMap
in classCAP3CAMEL_CallResult
- Parameters:
withAbsents
- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
setTimeDurationChargingResult
public CAP4CAMEL_CallResult setTimeDurationChargingResult(CAP4CAMEL_CallResult.TimeDurationChargingResult value) throws IllegalStateException, NullPointerException
Sets the value of the timeDurationChargingResult 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
-
-