Class CAP4CAMEL_AChBillingChargingCharacteristics
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- CAP2CAMEL_AChBillingChargingCharacteristics
-
- CAP4CAMEL_AChBillingChargingCharacteristics
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CAP4CAMEL_AChBillingChargingCharacteristics extends CAP2CAMEL_AChBillingChargingCharacteristics
API for CAP-datatypes.CAMEL-AChBillingChargingCharacteristics. Generated from the following ASN.1 type definition and the adaptations below.CAMEL-AChBillingChargingCharacteristics ::= CHOICE { timeDurationCharging SEQUENCE { maxCallPeriodDuration INTEGER (1..864000), releaseIfdurationExceeded BOOLEAN DEFAULT FALSE, tariffSwitchInterval INTEGER (1..86400) OPTIONAL, audibleIndicator AudibleIndicator DEFAULT tone : FALSE, extensions Extensions OPTIONAL, ... } } CAP-datatypes { CAMEL-AChBillingChargingCharacteristics { @extendible @parentType com.opencloud.slee.resources.cgin.cap_v2.CAP2CAMEL_AChBillingChargingCharacteristics timeDurationCharging { releaseIfdurationExceeded { @rename releaseIfdurationExceeded-v3 } } } }
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CAP4CAMEL_AChBillingChargingCharacteristics.Choice
API for CAP-datatypes.CAMEL-AChBillingChargingCharacteristics.Choice.static class
CAP4CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging
API for CAP-datatypes.CAMEL-AChBillingChargingCharacteristics.timeDurationCharging.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CAP4CAMEL_AChBillingChargingCharacteristics()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP4CAMEL_AChBillingChargingCharacteristics
clone()
Constructs a copy of this object and everything reachable from it.static CAP4CAMEL_AChBillingChargingCharacteristics
copyOf(CAP2CAMEL_AChBillingChargingCharacteristics 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_AChBillingChargingCharacteristics
setTimeDurationCharging(CAP4CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging value)
Sets the value of the timeDurationCharging choice.-
Methods inherited from class com.opencloud.slee.resources.cgin.cap_v2.CAP2CAMEL_AChBillingChargingCharacteristics
getChoice, getTimeDurationCharging, isTimeDurationChargingChosen, setChoice, setReadOnly, setTimeDurationCharging
-
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_AChBillingChargingCharacteristics clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classCAP2CAMEL_AChBillingChargingCharacteristics
- Returns:
- copy of object
-
copyOf
public static CAP4CAMEL_AChBillingChargingCharacteristics copyOf(CAP2CAMEL_AChBillingChargingCharacteristics 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_AChBillingChargingCharacteristics
-
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_AChBillingChargingCharacteristics
- Parameters:
withAbsents
- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
setTimeDurationCharging
public CAP4CAMEL_AChBillingChargingCharacteristics setTimeDurationCharging(CAP4CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging value) throws IllegalStateException, NullPointerException
Sets the value of the timeDurationCharging 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
-
-