public class MAPCodecList extends AbstractFieldsObject
CodecList ::= SEQUENCE { codec1 Codec, codec2 Codec OPTIONAL, codec3 Codec OPTIONAL, codec4 Codec OPTIONAL, codec5 Codec OPTIONAL, codec6 Codec OPTIONAL, codec7 Codec OPTIONAL, codec8 Codec OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... }Added in release 5. Codecs are sent in priority order, where codec1 has highest priority.
Used as field type by MAPSupportedCodecsList
.
Used as field type by MAPSupportedCodecsList
.
Used as field type by MAPPrepareHO_Res_v3
.
Used as field type by MAPProcessAccessSignalling_Arg_v3
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPCodecList()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPCodecList |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPCodecList |
copyOf(MAPCodecList 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.
|
byte[] |
getCodec1()
Gets the value of the field codec1.
|
byte[] |
getCodec2()
Gets the value of the field codec2.
|
byte[] |
getCodec3()
Gets the value of the field codec3.
|
byte[] |
getCodec4()
Gets the value of the field codec4.
|
byte[] |
getCodec5()
Gets the value of the field codec5.
|
byte[] |
getCodec6()
Gets the value of the field codec6.
|
byte[] |
getCodec7()
Gets the value of the field codec7.
|
byte[] |
getCodec8()
Gets the value of the field codec8.
|
MAPExtensionContainer |
getExtensionContainer()
Gets the value of the field extensionContainer.
|
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.
|
boolean |
hasCodec1()
Tests whether the field codec1 has a value.
|
boolean |
hasCodec2()
Tests whether the field codec2 has a value.
|
boolean |
hasCodec3()
Tests whether the field codec3 has a value.
|
boolean |
hasCodec4()
Tests whether the field codec4 has a value.
|
boolean |
hasCodec5()
Tests whether the field codec5 has a value.
|
boolean |
hasCodec6()
Tests whether the field codec6 has a value.
|
boolean |
hasCodec7()
Tests whether the field codec7 has a value.
|
boolean |
hasCodec8()
Tests whether the field codec8 has a value.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
MAPCodecList |
setCodec1(byte[] value)
Sets the value of the field codec1.
|
MAPCodecList |
setCodec2(byte[] value)
Sets the value of the field codec2.
|
MAPCodecList |
setCodec3(byte[] value)
Sets the value of the field codec3.
|
MAPCodecList |
setCodec4(byte[] value)
Sets the value of the field codec4.
|
MAPCodecList |
setCodec5(byte[] value)
Sets the value of the field codec5.
|
MAPCodecList |
setCodec6(byte[] value)
Sets the value of the field codec6.
|
MAPCodecList |
setCodec7(byte[] value)
Sets the value of the field codec7.
|
MAPCodecList |
setCodec8(byte[] value)
Sets the value of the field codec8.
|
MAPCodecList |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPCodecList()
public MAPCodecList clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPCodecList copyOf(MAPCodecList from)
from
- the object from which to copypublic byte[] getCodec1()
public byte[] getCodec2()
public byte[] getCodec3()
public byte[] getCodec4()
public byte[] getCodec5()
public byte[] getCodec6()
public byte[] getCodec7()
public byte[] getCodec8()
public MAPExtensionContainer getExtensionContainer()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic boolean hasCodec1()
public boolean hasCodec2()
public boolean hasCodec3()
public boolean hasCodec4()
public boolean hasCodec5()
public boolean hasCodec6()
public boolean hasCodec7()
public boolean hasCodec8()
public boolean hasExtensionContainer()
public MAPCodecList setCodec1(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCodecList setCodec2(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCodecList setCodec3(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCodecList setCodec4(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCodecList setCodec5(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCodecList setCodec6(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCodecList setCodec7(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCodecList setCodec8(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCodecList setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject