Class MAPAoIPCodecsList
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPAoIPCodecsList
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPAoIPCodecsList extends AbstractFieldsObject
API for MAP-MS-DataTypes.AoIPCodecsList. Generated from the following ASN.1 type definition.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
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPAoIPCodecsList()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public MAPAoIPCodecsList 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 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.- Parameters:
from
- the object from which to copy- Returns:
- MAPAoIPCodecsList
-
getCodec1
public byte[] getCodec1()
Gets the value of the field codec1.- Returns:
- value of field codec1, or null if not present
-
getCodec2
public byte[] getCodec2()
Gets the value of the field codec2.- Returns:
- value of field codec2, or null if not present
-
getCodec3
public byte[] getCodec3()
Gets the value of the field codec3.- Returns:
- value of field codec3, or null if not present
-
getCodec4
public byte[] getCodec4()
Gets the value of the field codec4.- Returns:
- value of field codec4, or null if not present
-
getCodec5
public byte[] getCodec5()
Gets the value of the field codec5.- Returns:
- value of field codec5, or null if not present
-
getCodec6
public byte[] getCodec6()
Gets the value of the field codec6.- Returns:
- value of field codec6, or null if not present
-
getCodec7
public byte[] getCodec7()
Gets the value of the field codec7.- Returns:
- value of field codec7, or null if not present
-
getCodec8
public byte[] getCodec8()
Gets the value of the field codec8.- Returns:
- value of field codec8, or null if not present
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, or null if not present
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
hasCodec1
public boolean hasCodec1()
Tests whether the field codec1 has a value.- Returns:
- whether the field codec1 has a value
-
hasCodec2
public boolean hasCodec2()
Tests whether the field codec2 has a value.- Returns:
- whether the field codec2 has a value
-
hasCodec3
public boolean hasCodec3()
Tests whether the field codec3 has a value.- Returns:
- whether the field codec3 has a value
-
hasCodec4
public boolean hasCodec4()
Tests whether the field codec4 has a value.- Returns:
- whether the field codec4 has a value
-
hasCodec5
public boolean hasCodec5()
Tests whether the field codec5 has a value.- Returns:
- whether the field codec5 has a value
-
hasCodec6
public boolean hasCodec6()
Tests whether the field codec6 has a value.- Returns:
- whether the field codec6 has a value
-
hasCodec7
public boolean hasCodec7()
Tests whether the field codec7 has a value.- Returns:
- whether the field codec7 has a value
-
hasCodec8
public boolean hasCodec8()
Tests whether the field codec8 has a value.- Returns:
- whether the field codec8 has a value
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
setCodec1
public MAPAoIPCodecsList setCodec1(byte[] value) throws IllegalStateException
Sets the value of the field codec1.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setCodec2
public MAPAoIPCodecsList setCodec2(byte[] value) throws IllegalStateException
Sets the value of the field codec2. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setCodec3
public MAPAoIPCodecsList setCodec3(byte[] value) throws IllegalStateException
Sets the value of the field codec3. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setCodec4
public MAPAoIPCodecsList setCodec4(byte[] value) throws IllegalStateException
Sets the value of the field codec4. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setCodec5
public MAPAoIPCodecsList setCodec5(byte[] value) throws IllegalStateException
Sets the value of the field codec5. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setCodec6
public MAPAoIPCodecsList setCodec6(byte[] value) throws IllegalStateException
Sets the value of the field codec6. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setCodec7
public MAPAoIPCodecsList setCodec7(byte[] value) throws IllegalStateException
Sets the value of the field codec7. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setCodec8
public MAPAoIPCodecsList setCodec8(byte[] value) throws IllegalStateException
Sets the value of the field codec8. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setExtensionContainer
public MAPAoIPCodecsList setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
-