public class CS1IPAvailable extends ExtendibleOctetString
IPAvailable ::= OCTET STRING (SIZE (1..1000)) Core-INAP-CS1-DataTypes { IPAvailable { @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 CS1InitialDPArg
.
Used as field type by CS1AssistRequestInstructionsArg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CS1IPAvailable()
Nullary constructor.
|
CS1IPAvailable(byte[] byteArray)
Constructs from a given initial byte array value.
|
Modifier and Type | Method and Description |
---|---|
CS1IPAvailable |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CS1IPAvailable |
copyOf(CS1IPAvailable 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.
|
CS1IPAvailable |
setByteArray(byte[] value)
Sets the value of the field byteArray.
|
getByteArray, getFieldAccessors, getFieldsMap, hasByteArray
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public CS1IPAvailable()
public CS1IPAvailable(byte[] byteArray)
byteArray
- byte arraypublic CS1IPAvailable clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CS1IPAvailable copyOf(CS1IPAvailable from)
from
- the object from which to copypublic CS1IPAvailable 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