public class MAPAllocation_Retention_Priority extends AbstractFieldsObject
Allocation-Retention-Priority ::= SEQUENCE { priority-level INTEGER, pre-emption-capability BOOLEAN OPTIONAL, pre-emption-vulnerability BOOLEAN OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... }Added in release 8.
Used as field type by MAPEPS_QoS_Subscribed
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPAllocation_Retention_Priority()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPAllocation_Retention_Priority |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPAllocation_Retention_Priority |
copyOf(MAPAllocation_Retention_Priority 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.
|
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 |
getPre_emption_capability()
Gets the value of the field pre-emption-capability.
|
boolean |
getPre_emption_vulnerability()
Gets the value of the field pre-emption-vulnerability.
|
long |
getPriority_level()
Gets the value of the field priority-level.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasPre_emption_capability()
Tests whether the field pre-emption-capability has a value.
|
boolean |
hasPre_emption_vulnerability()
Tests whether the field pre-emption-vulnerability has a value.
|
boolean |
hasPriority_level()
Tests whether the field priority-level has a value.
|
MAPAllocation_Retention_Priority |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPAllocation_Retention_Priority |
setPre_emption_capability(boolean value)
Sets the value of the field pre-emption-capability and marks the field as present.
|
MAPAllocation_Retention_Priority |
setPre_emption_capabilityPresent(boolean flag)
Sets the presence or absence of the optional field pre-emption-capability.
|
MAPAllocation_Retention_Priority |
setPre_emption_vulnerability(boolean value)
Sets the value of the field pre-emption-vulnerability and marks the field as present.
|
MAPAllocation_Retention_Priority |
setPre_emption_vulnerabilityPresent(boolean flag)
Sets the presence or absence of the optional field pre-emption-vulnerability.
|
MAPAllocation_Retention_Priority |
setPriority_level(long value)
Sets the value of the field priority-level and marks the field as present.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPAllocation_Retention_Priority()
public MAPAllocation_Retention_Priority clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPAllocation_Retention_Priority copyOf(MAPAllocation_Retention_Priority from)
from
- the object from which to copypublic 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 getPre_emption_capability()
public boolean getPre_emption_vulnerability()
public long getPriority_level()
public boolean hasExtensionContainer()
public boolean hasPre_emption_capability()
public boolean hasPre_emption_vulnerability()
public boolean hasPriority_level()
public MAPAllocation_Retention_Priority setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAllocation_Retention_Priority setPre_emption_capability(boolean value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAllocation_Retention_Priority setPre_emption_capabilityPresent(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic MAPAllocation_Retention_Priority setPre_emption_vulnerability(boolean value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAllocation_Retention_Priority setPre_emption_vulnerabilityPresent(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic MAPAllocation_Retention_Priority setPriority_level(long 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