public class CS1EventTypeCharging extends ExtendibleOctetString
EventTypeCharging ::= OCTET STRING (SIZE (1..1000)) Core-INAP-CS1-DataTypes { EventTypeCharging { @extendible } }Each subclass adds a ContainedValue field alongside the ByteArray field inherited from ExtendibleOctetString. The position of this class in the type hierarchy restricts what types of contained value can be used.
Used as field type by CS1EventNotificationChargingArg
.
Used as field type by CS1ChargingEvent
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CS1EventTypeCharging()
Nullary constructor.
|
CS1EventTypeCharging(byte[] byteArray)
Constructs from a given initial byte array value.
|
Modifier and Type | Method and Description |
---|---|
CS1EventTypeCharging |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CS1EventTypeCharging |
copyOf(CS1EventTypeCharging 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.
|
CS1EventTypeCharging |
setByteArray(byte[] value)
Sets the value of the field byteArray.
|
getByteArray, getFieldAccessors, getFieldsMap, hasByteArray
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public CS1EventTypeCharging()
public CS1EventTypeCharging(byte[] byteArray)
byteArray
- byte arraypublic CS1EventTypeCharging clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CS1EventTypeCharging copyOf(CS1EventTypeCharging from)
from
- the object from which to copypublic CS1EventTypeCharging setByteArray(byte[] value) throws IllegalStateException
setByteArray
in class ExtendibleOctetString
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only