public class CAP3SCIGPRSBillingChargingCharacteristics extends ExtendibleOctetString
SCIGPRSBillingChargingCharacteristics ::= OCTET STRING (SIZE (4..124)) (CONTAINING CAMEL-SCIGPRSBillingChargingCharacteristics)
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 CAP3SendChargingInformationGPRSArg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP3SCIGPRSBillingChargingCharacteristics()
Nullary constructor.
|
CAP3SCIGPRSBillingChargingCharacteristics(byte[] byteArray)
Constructs from a given initial byte array value.
|
CAP3SCIGPRSBillingChargingCharacteristics(CAP3CAMEL_SCIGPRSBillingChargingCharacteristics containedValue)
Constructs from a given initial contained value.
|
Modifier and Type | Method and Description |
---|---|
CAP3SCIGPRSBillingChargingCharacteristics |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3SCIGPRSBillingChargingCharacteristics |
copyOf(CAP3SCIGPRSBillingChargingCharacteristics 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.
|
CAP3CAMEL_SCIGPRSBillingChargingCharacteristics |
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.
|
CAP3SCIGPRSBillingChargingCharacteristics |
setByteArray(byte[] value)
Sets the value of the field byteArray.
|
CAP3SCIGPRSBillingChargingCharacteristics |
setContainedValue(CAP3CAMEL_SCIGPRSBillingChargingCharacteristics value)
Sets the value of the field containedValue.
|
getByteArray, hasByteArray
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public CAP3SCIGPRSBillingChargingCharacteristics()
public CAP3SCIGPRSBillingChargingCharacteristics(CAP3CAMEL_SCIGPRSBillingChargingCharacteristics containedValue)
containedValue
- contained valuepublic CAP3SCIGPRSBillingChargingCharacteristics(byte[] byteArray)
byteArray
- byte arraypublic CAP3SCIGPRSBillingChargingCharacteristics clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP3SCIGPRSBillingChargingCharacteristics copyOf(CAP3SCIGPRSBillingChargingCharacteristics from)
from
- the object from which to copypublic CAP3CAMEL_SCIGPRSBillingChargingCharacteristics getContainedValue()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class ExtendibleOctetString
withAbsents
- whether to put absent optional fields into Mappublic boolean hasContainedValue()
public CAP3SCIGPRSBillingChargingCharacteristics setByteArray(byte[] value) throws IllegalStateException
setByteArray
in class ExtendibleOctetString
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3SCIGPRSBillingChargingCharacteristics setContainedValue(CAP3CAMEL_SCIGPRSBillingChargingCharacteristics value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only