public class CCGapOnService extends AbstractFieldsObject
GapOnService ::= SEQUENCE { serviceKey ServiceKey }
Used as field type by CCBasicGapCriteria
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CCGapOnService()
Constructs an object with uninitialised state.
|
CCGapOnService(int ServiceKey_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
CCGapOnService |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCGapOnService |
copyOf(CCGapOnService 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.
|
int |
getServiceKey()
Gets the value of the field serviceKey.
|
boolean |
hasServiceKey()
Tests whether the field serviceKey has a value.
|
CCGapOnService |
setServiceKey(int value)
Sets the value of the field serviceKey and marks the field as present.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public CCGapOnService()
public CCGapOnService(int ServiceKey_param)
ServiceKey_param
- value for that fieldpublic CCGapOnService clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CCGapOnService copyOf(CCGapOnService 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 int getServiceKey()
public boolean hasServiceKey()
public CCGapOnService setServiceKey(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only