public class CAP3CompoundCriteria extends AbstractFieldsObject
CompoundCriteria ::= SEQUENCE { basicGapCriteria BasicGapCriteria, scfID ScfID OPTIONAL }
Used as field type by CAP3GapCriteria
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP3CompoundCriteria()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP3CompoundCriteria |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3CompoundCriteria |
copyOf(CAP3CompoundCriteria 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.
|
CCBasicGapCriteria |
getBasicGapCriteria()
Gets the value of the field basicGapCriteria.
|
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.
|
CCScfID |
getScfID()
Gets the value of the field scfID.
|
boolean |
hasBasicGapCriteria()
Tests whether the field basicGapCriteria has a value.
|
boolean |
hasScfID()
Tests whether the field scfID has a value.
|
CAP3CompoundCriteria |
setBasicGapCriteria(CCBasicGapCriteria value)
Sets the value of the field basicGapCriteria.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP3CompoundCriteria |
setScfID(CCScfID value)
Sets the value of the field scfID.
|
equals, hashCode, toString
checkModify, isReadOnly
public CAP3CompoundCriteria()
public CAP3CompoundCriteria clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP3CompoundCriteria copyOf(CAP3CompoundCriteria from)
from
- the object from which to copypublic CCBasicGapCriteria getBasicGapCriteria()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic CCScfID getScfID()
public boolean hasBasicGapCriteria()
public boolean hasScfID()
public CAP3CompoundCriteria setBasicGapCriteria(CCBasicGapCriteria 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
public CAP3CompoundCriteria setScfID(CCScfID value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only