Class CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- FCIBCCCAMELsequence1
-
- All Implemented Interfaces:
DataObject
,Serializable
- Enclosing class:
- CAP3CAMEL_FCIGPRSBillingChargingCharacteristics
public static class CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1 extends AbstractFieldsObject
API for CAP-datatypes.CAMEL-FCIGPRSBillingChargingCharacteristics.fCIBCCCAMELsequence1. Generated from the following ASN.1 type definition.fCIBCCCAMELsequence1 ::= SEQUENCE { freeFormatData OCTET STRING (SIZE (1..160)), pDPID PDPID OPTIONAL, appendFreeFormatData AppendFreeFormatData DEFAULT overwrite, ... }
Used as field type by
CAP3CAMEL_FCIGPRSBillingChargingCharacteristics
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description FCIBCCCAMELsequence1()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1
clone()
Constructs a copy of this object and everything reachable from it.static CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1
copyOf(CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1 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.CAP3AppendFreeFormatData
getAppendFreeFormatData()
Gets the value of the field appendFreeFormatData.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.byte[]
getFreeFormatData()
Gets the value of the field freeFormatData.byte[]
getPDPID()
Gets the value of the field pDPID.boolean
hasAppendFreeFormatData()
Tests whether the field appendFreeFormatData has a value.boolean
hasFreeFormatData()
Tests whether the field freeFormatData has a value.boolean
hasPDPID()
Tests whether the field pDPID has a value.CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1
setAppendFreeFormatData(CAP3AppendFreeFormatData value)
Sets the value of the field appendFreeFormatData.CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1
setFreeFormatData(byte[] value)
Sets the value of the field freeFormatData.CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1
setPDPID(byte[] value)
Sets the value of the field pDPID.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Method Detail
-
clone
public CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1 clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1 copyOf(CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1 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_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1
-
getAppendFreeFormatData
public CAP3AppendFreeFormatData getAppendFreeFormatData()
Gets the value of the field appendFreeFormatData.- Returns:
- value of field appendFreeFormatData, 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. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getFreeFormatData
public byte[] getFreeFormatData()
Gets the value of the field freeFormatData.- Returns:
- value of field freeFormatData, or null if not present
-
getPDPID
public byte[] getPDPID()
Gets the value of the field pDPID.- Returns:
- value of field pDPID, or null if not present
-
hasAppendFreeFormatData
public boolean hasAppendFreeFormatData()
Tests whether the field appendFreeFormatData has a value.- Returns:
- whether the field appendFreeFormatData has a value
-
hasFreeFormatData
public boolean hasFreeFormatData()
Tests whether the field freeFormatData has a value.- Returns:
- whether the field freeFormatData has a value
-
hasPDPID
public boolean hasPDPID()
Tests whether the field pDPID has a value.- Returns:
- whether the field pDPID has a value
-
setAppendFreeFormatData
public CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1 setAppendFreeFormatData(CAP3AppendFreeFormatData value) throws IllegalStateException
Sets the value of the field appendFreeFormatData. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setFreeFormatData
public CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1 setFreeFormatData(byte[] value) throws IllegalStateException
Sets the value of the field freeFormatData.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setPDPID
public CAP3CAMEL_FCIGPRSBillingChargingCharacteristics.FCIBCCCAMELsequence1 setPDPID(byte[] value) throws IllegalStateException
Sets the value of the field pDPID. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-