Class CAP2FurnishChargingInformationArg.FCIBCCcs1
-
- All Implemented Interfaces:
DataObject
,Serializable
- Enclosing class:
- CAP2FurnishChargingInformationArg
public static class CAP2FurnishChargingInformationArg.FCIBCCcs1 extends CCFurnishChargingInformationArg.FCIBCCcs1
API for CAP-DataTypes.FurnishChargingInformationArg.fCIBCCcs1. Generated from the following ASN.1 type definition.fCIBCCcs1 ::= OCTET STRING (SIZE (5..49)) (CONTAINING CAMEL-FCIBillingChargingCharacteristics)
This API has both a byteArray and a containedValue.
When a value of this type is received from the network, the received bytes are assigned to the byteArray, and then those bytes are decoded and any resulting value is assigned to the containedValue.
When a value of this type is sent to the network, any non-null containedValue is encoded and the resulting bytes are sent to the network, otherwise the bytes in the byteArray are sent to the network.
Used as field type by
CAP2FurnishChargingInformationArg
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description FCIBCCcs1()
Nullary constructor.FCIBCCcs1(byte[] byteArray)
Constructs from a given initial byte array value.FCIBCCcs1(CAP2CAMEL_FCIBillingChargingCharacteristics containedValue)
Constructs from a given initial contained value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP2FurnishChargingInformationArg.FCIBCCcs1
clone()
Constructs a copy of this object and everything reachable from it.static CAP2FurnishChargingInformationArg.FCIBCCcs1
copyOf(CCFurnishChargingInformationArg.FCIBCCcs1 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.CAP2CAMEL_FCIBillingChargingCharacteristics
getContainedValue()
Gets the value of the field containedValue.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 containing the byte array and contained value fields.boolean
hasContainedValue()
Tests whether the field containedValue has a value.CAP2FurnishChargingInformationArg.FCIBCCcs1
setByteArray(byte[] value)
Sets the value of the field byteArray.CAP2FurnishChargingInformationArg.FCIBCCcs1
setContainedValue(CAP2CAMEL_FCIBillingChargingCharacteristics value)
Sets the value of the field containedValue.-
Methods inherited from class com.opencloud.slee.resources.cgin.ExtendibleOctetString
getByteArray, hasByteArray
-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Constructor Detail
-
FCIBCCcs1
public FCIBCCcs1()
Nullary constructor.
-
FCIBCCcs1
public FCIBCCcs1(CAP2CAMEL_FCIBillingChargingCharacteristics containedValue)
Constructs from a given initial contained value.- Parameters:
containedValue
- contained value
-
FCIBCCcs1
public FCIBCCcs1(byte[] byteArray)
Constructs from a given initial byte array value.- Parameters:
byteArray
- byte array
-
-
Method Detail
-
clone
public CAP2FurnishChargingInformationArg.FCIBCCcs1 clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classCCFurnishChargingInformationArg.FCIBCCcs1
- Returns:
- copy of object
-
copyOf
public static CAP2FurnishChargingInformationArg.FCIBCCcs1 copyOf(CCFurnishChargingInformationArg.FCIBCCcs1 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:
- CAP2FurnishChargingInformationArg.FCIBCCcs1
-
getContainedValue
public CAP2CAMEL_FCIBillingChargingCharacteristics getContainedValue()
Gets the value of the field containedValue.- Returns:
- value of field containedValue, 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 containing the byte array and contained value fields.- Overrides:
getFieldsMap
in classExtendibleOctetString
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
hasContainedValue
public boolean hasContainedValue()
Tests whether the field containedValue has a value.- Returns:
- whether the field containedValue has a value
-
setByteArray
public CAP2FurnishChargingInformationArg.FCIBCCcs1 setByteArray(byte[] value) throws IllegalStateException
Sets the value of the field byteArray.- Overrides:
setByteArray
in classCCFurnishChargingInformationArg.FCIBCCcs1
- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setContainedValue
public CAP2FurnishChargingInformationArg.FCIBCCcs1 setContainedValue(CAP2CAMEL_FCIBillingChargingCharacteristics value) throws IllegalStateException
Sets the value of the field containedValue.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-