public class CAP2CAMEL_SCIBillingChargingCharacteristics extends AbstractFieldsObject
CAMEL-SCIBillingChargingCharacteristics ::=
CHOICE {
aOCBeforeAnswer AOCBeforeAnswer,
aOCAfterAnswer AOCSubsequent
}
CAP-DataTypes {
CAMEL-SCIBillingChargingCharacteristics {
@extendible
}
}
Used as contained type by CAP2SCIBillingChargingCharacteristics.
| Modifier and Type | Class and Description |
|---|---|
static class |
CAP2CAMEL_SCIBillingChargingCharacteristics.Choice
API for CAP-DataTypes.CAMEL-SCIBillingChargingCharacteristics.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP2CAMEL_SCIBillingChargingCharacteristics() |
| Modifier and Type | Method and Description |
|---|---|
CAP2CAMEL_SCIBillingChargingCharacteristics |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP2CAMEL_SCIBillingChargingCharacteristics |
copyOf(CAP2CAMEL_SCIBillingChargingCharacteristics 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.
|
CAP2AOCSubsequent |
getAOCAfterAnswer()
Gets the value of the aOCAfterAnswer choice.
|
CAP2AOCBeforeAnswer |
getAOCBeforeAnswer()
Gets the value of the aOCBeforeAnswer choice.
|
CAP2CAMEL_SCIBillingChargingCharacteristics.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 |
isAOCAfterAnswerChosen()
Tests whether the choice is aOCAfterAnswer.
|
boolean |
isAOCBeforeAnswerChosen()
Tests whether the choice is aOCBeforeAnswer.
|
CAP2CAMEL_SCIBillingChargingCharacteristics |
setAOCAfterAnswer(CAP2AOCSubsequent value)
Sets the value of the aOCAfterAnswer choice.
|
CAP2CAMEL_SCIBillingChargingCharacteristics |
setAOCBeforeAnswer(CAP2AOCBeforeAnswer value)
Sets the value of the aOCBeforeAnswer choice.
|
protected void |
setChoice(CAP2CAMEL_SCIBillingChargingCharacteristics.Choice arg)
Sets the discriminant of the current choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CAP2CAMEL_SCIBillingChargingCharacteristics()
public CAP2CAMEL_SCIBillingChargingCharacteristics clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CAP2CAMEL_SCIBillingChargingCharacteristics copyOf(CAP2CAMEL_SCIBillingChargingCharacteristics from)
from - the object from which to copypublic CAP2AOCSubsequent getAOCAfterAnswer()
public CAP2AOCBeforeAnswer getAOCBeforeAnswer()
public CAP2CAMEL_SCIBillingChargingCharacteristics.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - ignored, as value cannot be optionalpublic boolean isAOCAfterAnswerChosen()
public boolean isAOCBeforeAnswerChosen()
public CAP2CAMEL_SCIBillingChargingCharacteristics setAOCAfterAnswer(CAP2AOCSubsequent value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic CAP2CAMEL_SCIBillingChargingCharacteristics setAOCBeforeAnswer(CAP2AOCBeforeAnswer value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullprotected void setChoice(CAP2CAMEL_SCIBillingChargingCharacteristics.Choice arg)
arg - the new discriminantpublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObject