public class CCApplyChargingArg extends AbstractFieldsObject
ApplyChargingArg ::= SEQUENCE { aChBillingChargingCharacteristics AChBillingChargingCharacteristics OPTIONAL, partyToCharge LegID OPTIONAL }
Used as argument type by CCOperations.applyCharging
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CCApplyChargingArg()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CCApplyChargingArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCApplyChargingArg |
copyOf(CCApplyChargingArg 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.
|
CCAChBillingChargingCharacteristics |
getAChBillingChargingCharacteristics()
Gets the value of the field aChBillingChargingCharacteristics.
|
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.
|
CCLegID |
getPartyToCharge()
Gets the value of the field partyToCharge.
|
boolean |
hasAChBillingChargingCharacteristics()
Tests whether the field aChBillingChargingCharacteristics has a value.
|
boolean |
hasPartyToCharge()
Tests whether the field partyToCharge has a value.
|
CCApplyChargingArg |
setAChBillingChargingCharacteristics(CCAChBillingChargingCharacteristics value)
Sets the value of the field aChBillingChargingCharacteristics.
|
CCApplyChargingArg |
setPartyToCharge(CCLegID value)
Sets the value of the field partyToCharge.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public CCApplyChargingArg()
public CCApplyChargingArg clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CCApplyChargingArg copyOf(CCApplyChargingArg from)
from
- the object from which to copypublic CCAChBillingChargingCharacteristics getAChBillingChargingCharacteristics()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic CCLegID getPartyToCharge()
public boolean hasAChBillingChargingCharacteristics()
public boolean hasPartyToCharge()
public CCApplyChargingArg setAChBillingChargingCharacteristics(CCAChBillingChargingCharacteristics value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCApplyChargingArg setPartyToCharge(CCLegID 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