Class CAP3CAMEL_CallResult
-
- All Implemented Interfaces:
DataObject
,Serializable
- Direct Known Subclasses:
CAP4CAMEL_CallResult
public class CAP3CAMEL_CallResult extends CAP2CAMEL_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, callActive BOOLEAN DEFAULT TRUE, callReleasedAtTcpExpiry NULL OPTIONAL, extensions Extensions OPTIONAL, ... } } CAP-datatypes { CAMEL-CallResult { @extendible @parentType com.opencloud.slee.resources.cgin.cap_v2.CAP2CAMEL_CallResult } }
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CAP3CAMEL_CallResult.Choice
API for CAP-datatypes.CAMEL-CallResult.Choice.static class
CAP3CAMEL_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 CAP3CAMEL_CallResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP3CAMEL_CallResult
clone()
Constructs a copy of this object and everything reachable from it.static CAP3CAMEL_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.CAP3CAMEL_CallResult
setTimeDurationChargingResult(CAP3CAMEL_CallResult.TimeDurationChargingResult value)
Sets the value of the timeDurationChargingResult choice.-
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 CAP3CAMEL_CallResult clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classCAP2CAMEL_CallResult
- Returns:
- copy of object
-
copyOf
public static CAP3CAMEL_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:
- CAP3CAMEL_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 classCAP2CAMEL_CallResult
- Parameters:
withAbsents
- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
setTimeDurationChargingResult
public CAP3CAMEL_CallResult setTimeDurationChargingResult(CAP3CAMEL_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
-
-