public class MAPAoIPCodecsList extends AbstractFieldsObject
AoIPCodecsList ::= SEQUENCE { codec1 AoIPCodec, codec2 AoIPCodec OPTIONAL, codec3 AoIPCodec OPTIONAL, codec4 AoIPCodec OPTIONAL, codec5 AoIPCodec OPTIONAL, codec6 AoIPCodec OPTIONAL, codec7 AoIPCodec OPTIONAL, codec8 AoIPCodec OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... }Added in release 9. Codecs are sent in priority order, where codec1 has highest priority.
Used as field type by MAPForwardAccessSignalling_Arg_v3
.
Used as field type by MAPPrepareHO_Arg_v3
.
Used as field type by MAPPrepareHO_Res_v3
.
Used as field type by MAPProcessAccessSignalling_Arg_v3
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPAoIPCodecsList()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPAoIPCodecsList |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPAoIPCodecsList |
copyOf(MAPAoIPCodecsList 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.
|
MAPAoIPCodecsList |
setCodec1(byte[] value)
Sets the value of the field codec1.
|
MAPAoIPCodecsList |
setCodec2(byte[] value)
Sets the value of the field codec2.
|
MAPAoIPCodecsList |
setCodec3(byte[] value)
Sets the value of the field codec3.
|
MAPAoIPCodecsList |
setCodec4(byte[] value)
Sets the value of the field codec4.
|
MAPAoIPCodecsList |
setCodec5(byte[] value)
Sets the value of the field codec5.
|
MAPAoIPCodecsList |
setCodec6(byte[] value)
Sets the value of the field codec6.
|
MAPAoIPCodecsList |
setCodec7(byte[] value)
Sets the value of the field codec7.
|
MAPAoIPCodecsList |
setCodec8(byte[] value)
Sets the value of the field codec8.
|
MAPAoIPCodecsList |
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 MAPAoIPCodecsList()
public MAPAoIPCodecsList clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPAoIPCodecsList copyOf(MAPAoIPCodecsList 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 MAPAoIPCodecsList setCodec1(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAoIPCodecsList setCodec2(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAoIPCodecsList setCodec3(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAoIPCodecsList setCodec4(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAoIPCodecsList setCodec5(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAoIPCodecsList setCodec6(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAoIPCodecsList setCodec7(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAoIPCodecsList setCodec8(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAoIPCodecsList 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