Class MAPEPS_QoS_Subscribed
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPEPS_QoS_Subscribed
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPEPS_QoS_Subscribed extends AbstractFieldsObject
API for MAP-MS-DataTypes.EPS-QoS-Subscribed. Generated from the following ASN.1 type definition.EPS-QoS-Subscribed ::= SEQUENCE { qos-Class-Identifier QoS-Class-Identifier, allocation-Retention-Priority Allocation-Retention-Priority, extensionContainer ExtensionContainer OPTIONAL, ... }
Added in release 8.Used as field type by
MAPAPN_Configuration
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPEPS_QoS_Subscribed()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPEPS_QoS_Subscribed
clone()
Constructs a copy of this object and everything reachable from it.static MAPEPS_QoS_Subscribed
copyOf(MAPEPS_QoS_Subscribed 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.MAPAllocation_Retention_Priority
getAllocation_Retention_Priority()
Gets the value of the field allocation-Retention-Priority.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.int
getQos_Class_Identifier()
Gets the value of the field qos-Class-Identifier.boolean
hasAllocation_Retention_Priority()
Tests whether the field allocation-Retention-Priority has a value.boolean
hasExtensionContainer()
Tests whether the field extensionContainer has a value.boolean
hasQos_Class_Identifier()
Tests whether the field qos-Class-Identifier has a value.MAPEPS_QoS_Subscribed
setAllocation_Retention_Priority(MAPAllocation_Retention_Priority value)
Sets the value of the field allocation-Retention-Priority.MAPEPS_QoS_Subscribed
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.MAPEPS_QoS_Subscribed
setQos_Class_Identifier(int value)
Sets the value of the field qos-Class-Identifier and marks the field as present.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 MAPEPS_QoS_Subscribed 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 MAPEPS_QoS_Subscribed copyOf(MAPEPS_QoS_Subscribed 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:
- MAPEPS_QoS_Subscribed
-
getAllocation_Retention_Priority
public MAPAllocation_Retention_Priority getAllocation_Retention_Priority()
Gets the value of the field allocation-Retention-Priority.- Returns:
- value of field allocation-Retention-Priority, 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
-
getQos_Class_Identifier
public int getQos_Class_Identifier()
Gets the value of the field qos-Class-Identifier.- Returns:
- value of field qos-Class-Identifier
-
hasAllocation_Retention_Priority
public boolean hasAllocation_Retention_Priority()
Tests whether the field allocation-Retention-Priority has a value.- Returns:
- whether the field allocation-Retention-Priority has a value
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasQos_Class_Identifier
public boolean hasQos_Class_Identifier()
Tests whether the field qos-Class-Identifier has a value.- Returns:
- whether the field qos-Class-Identifier has a value
-
setAllocation_Retention_Priority
public MAPEPS_QoS_Subscribed setAllocation_Retention_Priority(MAPAllocation_Retention_Priority value) throws IllegalStateException
Sets the value of the field allocation-Retention-Priority.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setExtensionContainer
public MAPEPS_QoS_Subscribed 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
-
setQos_Class_Identifier
public MAPEPS_QoS_Subscribed setQos_Class_Identifier(int value) throws IllegalStateException
Sets the value of the field qos-Class-Identifier and marks the field as present.- 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
-
-