Class CS1EventTypeCharging
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CS1EventTypeCharging extends ExtendibleOctetString
API for Core-INAP-CS1-DataTypes.EventTypeCharging. Generated from the following ASN.1 type definition and the adaptations below.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
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CS1EventTypeCharging()
Nullary constructor.CS1EventTypeCharging(byte[] byteArray)
Constructs from a given initial byte array value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.opencloud.slee.resources.cgin.ExtendibleOctetString
getByteArray, getFieldAccessors, getFieldsMap, hasByteArray
-
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 CS1EventTypeCharging 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 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.- Parameters:
from
- the object from which to copy- Returns:
- CS1EventTypeCharging
-
setByteArray
public CS1EventTypeCharging setByteArray(byte[] value) throws IllegalStateException
Sets the value of the field byteArray.- Overrides:
setByteArray
in classExtendibleOctetString
- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-