public abstract class ExtendibleOctetString extends AbstractFieldsObject
ExtendibleOctetString ::= SEQUENCE {
byteArray : SEQUENCE OF INTEGER (-128 .. 127) OPTIONAL
}
FIELD_ABSENT, FIELD_UNINITIALISED| Modifier | Constructor and Description |
|---|---|
protected |
ExtendibleOctetString()
Nullary constructor.
|
protected |
ExtendibleOctetString(byte[] byteArray)
Constructs from a given initial byte array.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getByteArray()
Gets the value of the field byteArray.
|
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 just the byte array field.
|
boolean |
hasByteArray()
Tests whether the field byteArray has a value.
|
ExtendibleOctetString |
setByteArray(byte[] value)
Sets the value of the field byteArray.
|
equals, hashCode, toStringcheckModify, clone, isReadOnly, setReadOnlyprotected ExtendibleOctetString()
protected ExtendibleOctetString(byte[] byteArray)
byteArray - byte arraypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic byte[] getByteArray()
public boolean hasByteArray()
public ExtendibleOctetString setByteArray(byte[] value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-only