public class CCSpecializedResourceReportArg extends AbstractFieldsObject
SpecializedResourceReportArg ::= CHOICE { allAnnouncementsComplete NULL, firstAnnouncementStarted NULL, ... }
Used as argument type by CCOperations.specializedResourceReport
.
Modifier and Type | Class and Description |
---|---|
static class |
CCSpecializedResourceReportArg.Choice
API for CC-DataTypes.SpecializedResourceReportArg.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CCSpecializedResourceReportArg() |
Modifier and Type | Method and Description |
---|---|
CCSpecializedResourceReportArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCSpecializedResourceReportArg |
copyOf(CCSpecializedResourceReportArg 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.
|
CCSpecializedResourceReportArg.Choice |
getChoice()
Gets the discriminant of the current choice.
|
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 :discriminant-name to associated-value.
|
boolean |
isAllAnnouncementsCompleteChosen()
Tests whether the choice is allAnnouncementsComplete.
|
boolean |
isFirstAnnouncementStartedChosen()
Tests whether the choice is firstAnnouncementStarted.
|
CCSpecializedResourceReportArg |
setAllAnnouncementsComplete()
Sets the allAnnouncementsComplete choice.
|
protected void |
setChoice(CCSpecializedResourceReportArg.Choice arg)
Sets the discriminant of the current choice.
|
CCSpecializedResourceReportArg |
setFirstAnnouncementStarted()
Sets the firstAnnouncementStarted choice.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public CCSpecializedResourceReportArg clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CCSpecializedResourceReportArg copyOf(CCSpecializedResourceReportArg from)
from
- the object from which to copypublic CCSpecializedResourceReportArg.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic boolean isAllAnnouncementsCompleteChosen()
public boolean isFirstAnnouncementStartedChosen()
public CCSpecializedResourceReportArg setAllAnnouncementsComplete() throws IllegalStateException
IllegalStateException
- if this instance has been marked as read-onlyprotected void setChoice(CCSpecializedResourceReportArg.Choice arg)
arg
- the new discriminantpublic CCSpecializedResourceReportArg setFirstAnnouncementStarted() throws IllegalStateException
IllegalStateException
- if this instance has been marked as read-only