public class MAPResponseTime extends AbstractFieldsObject
ResponseTime ::= SEQUENCE { responseTimeCategory ResponseTimeCategory, ... }Added in R98. Note: an expandable SEQUENCE simplifies later addition of a numeric response time.
Used as field type by MAPLCS_QoS
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPResponseTime()
Constructs an object with uninitialised state.
|
MAPResponseTime(MAPResponseTimeCategory ResponseTimeCategory_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
MAPResponseTime |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPResponseTime |
copyOf(MAPResponseTime 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.
|
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.
|
MAPResponseTimeCategory |
getResponseTimeCategory()
Gets the value of the field responseTimeCategory.
|
boolean |
hasResponseTimeCategory()
Tests whether the field responseTimeCategory has a value.
|
MAPResponseTime |
setResponseTimeCategory(MAPResponseTimeCategory value)
Sets the value of the field responseTimeCategory.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public MAPResponseTime()
public MAPResponseTime(MAPResponseTimeCategory ResponseTimeCategory_param)
ResponseTimeCategory_param
- value for that fieldpublic MAPResponseTime clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPResponseTime copyOf(MAPResponseTime from)
from
- the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic MAPResponseTimeCategory getResponseTimeCategory()
public boolean hasResponseTimeCategory()
public MAPResponseTime setResponseTimeCategory(MAPResponseTimeCategory value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only