public class CS1FilteredCallTreatment extends AbstractFieldsObject
FilteredCallTreatment ::= SEQUENCE { sFBillingChargingCharacteristics SFBillingChargingCharacteristics, informationToSend InformationToSend OPTIONAL, maximumNumberOfCounters MaximumNumberOfCounters OPTIONAL, releaseCause Cause OPTIONAL } Core-INAP-CS1-DataTypes { FilteredCallTreatment { sFBillingChargingCharacteristics { @forceOptional } } }
Used as field type by CS1ActivateServiceFilteringArg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CS1FilteredCallTreatment()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CS1FilteredCallTreatment |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CS1FilteredCallTreatment |
copyOf(CS1FilteredCallTreatment 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.
|
CS1InformationToSend |
getInformationToSend()
Gets the value of the field informationToSend.
|
int |
getMaximumNumberOfCounters()
Gets the value of the field maximumNumberOfCounters.
|
Cause |
getReleaseCause()
Gets the value of the field releaseCause.
|
CS1SFBillingChargingCharacteristics |
getSFBillingChargingCharacteristics()
Gets the value of the field sFBillingChargingCharacteristics.
|
boolean |
hasInformationToSend()
Tests whether the field informationToSend has a value.
|
boolean |
hasMaximumNumberOfCounters()
Tests whether the field maximumNumberOfCounters has a value.
|
boolean |
hasReleaseCause()
Tests whether the field releaseCause has a value.
|
boolean |
hasSFBillingChargingCharacteristics()
Tests whether the field sFBillingChargingCharacteristics has a value.
|
CS1FilteredCallTreatment |
setInformationToSend(CS1InformationToSend value)
Sets the value of the field informationToSend.
|
CS1FilteredCallTreatment |
setMaximumNumberOfCounters(int value)
Sets the value of the field maximumNumberOfCounters and marks the field as present.
|
CS1FilteredCallTreatment |
setMaximumNumberOfCountersPresent(boolean flag)
Sets the presence or absence of the optional field maximumNumberOfCounters.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CS1FilteredCallTreatment |
setReleaseCause(Cause value)
Sets the value of the field releaseCause.
|
CS1FilteredCallTreatment |
setSFBillingChargingCharacteristics(CS1SFBillingChargingCharacteristics value)
Sets the value of the field sFBillingChargingCharacteristics.
|
equals, hashCode, toString
checkModify, isReadOnly
public CS1FilteredCallTreatment()
public CS1FilteredCallTreatment clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CS1FilteredCallTreatment copyOf(CS1FilteredCallTreatment 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 CS1InformationToSend getInformationToSend()
public int getMaximumNumberOfCounters()
public Cause getReleaseCause()
public CS1SFBillingChargingCharacteristics getSFBillingChargingCharacteristics()
public boolean hasInformationToSend()
public boolean hasMaximumNumberOfCounters()
public boolean hasReleaseCause()
public boolean hasSFBillingChargingCharacteristics()
public CS1FilteredCallTreatment setInformationToSend(CS1InformationToSend value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CS1FilteredCallTreatment setMaximumNumberOfCounters(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CS1FilteredCallTreatment setMaximumNumberOfCountersPresent(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject
public CS1FilteredCallTreatment setReleaseCause(Cause value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CS1FilteredCallTreatment setSFBillingChargingCharacteristics(CS1SFBillingChargingCharacteristics value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only