public class CCGapIndicators extends AbstractFieldsObject
GapIndicators ::= SEQUENCE { duration Duration, interval Interval }
Used as field type by CCCallGapArg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CCGapIndicators()
Constructs an object with uninitialised state.
|
CCGapIndicators(long Duration_param,
long Interval_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
CCGapIndicators |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCGapIndicators |
copyOf(CCGapIndicators 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.
|
long |
getDuration()
Gets the value of the field duration.
|
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.
|
long |
getInterval()
Gets the value of the field interval.
|
boolean |
hasDuration()
Tests whether the field duration has a value.
|
boolean |
hasInterval()
Tests whether the field interval has a value.
|
CCGapIndicators |
setDuration(long value)
Sets the value of the field duration and marks the field as present.
|
CCGapIndicators |
setInterval(long value)
Sets the value of the field interval and marks the field as present.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public CCGapIndicators()
public CCGapIndicators(long Duration_param, long Interval_param)
Duration_param
- value for that fieldInterval_param
- value for that fieldpublic CCGapIndicators clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CCGapIndicators copyOf(CCGapIndicators from)
from
- the object from which to copypublic long getDuration()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic long getInterval()
public boolean hasDuration()
public boolean hasInterval()
public CCGapIndicators setDuration(long value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCGapIndicators setInterval(long value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only