Class CS1CallGapArg
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CS1CallGapArg extends CCCallGapArg
API for Core-INAP-CS1-DataTypes.CallGapArg. Generated from the following ASN.1 type definition and the adaptations below.CallGapArg ::= SEQUENCE { gapCriteria GapCriteria, gapIndicators GapIndicators, controlType ControlType OPTIONAL, gapTreatment GapTreatment OPTIONAL, extensions SEQUENCE (SIZE (1..1000)) OF ExtensionField OPTIONAL, ... } Core-INAP-CS1-DataTypes { CallGapArg { @parentType com.opencloud.slee.resources.cgin.callcontrol.CCCallGapArg } }
Used as argument type by
CS1Operations.callGap
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CS1CallGapArg()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CS1CallGapArg
clone()
Constructs a copy of this object and everything reachable from it.static CS1CallGapArg
copyOf(CCCallGapArg 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.CS1ExtensionField[]
getExtensions()
Gets the value of the field extensions.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.boolean
hasExtensions()
Tests whether the field extensions has a value.CS1CallGapArg
setControlType(CCControlType value)
Sets the value of the field controlType.CS1CallGapArg
setExtensions(CS1ExtensionField[] value)
Sets the value of the field extensions.CS1CallGapArg
setGapCriteria(CCGapCriteria value)
Sets the value of the field gapCriteria.CS1CallGapArg
setGapIndicators(CS1GapIndicators value)
Sets the value of the field gapIndicators.CS1CallGapArg
setGapTreatment(CS1GapTreatment value)
Sets the value of the field gapTreatment.-
Methods inherited from class com.opencloud.slee.resources.cgin.callcontrol.CCCallGapArg
getControlType, getGapCriteria, getGapIndicators, getGapTreatment, hasControlType, hasGapCriteria, hasGapIndicators, hasGapTreatment, setGapIndicators, setGapTreatment, setReadOnly
-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public CS1CallGapArg clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classCCCallGapArg
- Returns:
- copy of object
-
copyOf
public static CS1CallGapArg copyOf(CCCallGapArg 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.- Parameters:
from
- the object from which to copy- Returns:
- CS1CallGapArg
-
getExtensions
public CS1ExtensionField[] getExtensions()
Gets the value of the field extensions.- Returns:
- value of field extensions, or null if not present
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Overrides:
getFieldsMap
in classCCCallGapArg
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
hasExtensions
public boolean hasExtensions()
Tests whether the field extensions has a value.- Returns:
- whether the field extensions has a value
-
setControlType
public CS1CallGapArg setControlType(CCControlType value) throws IllegalStateException
Sets the value of the field controlType. If null, marks the field as absent.- Overrides:
setControlType
in classCCCallGapArg
- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setExtensions
public CS1CallGapArg setExtensions(CS1ExtensionField[] value) throws IllegalStateException
Sets the value of the field extensions. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setGapCriteria
public CS1CallGapArg setGapCriteria(CCGapCriteria value) throws IllegalStateException
Sets the value of the field gapCriteria.- Overrides:
setGapCriteria
in classCCCallGapArg
- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setGapIndicators
public CS1CallGapArg setGapIndicators(CS1GapIndicators value) throws IllegalStateException
Sets the value of the field gapIndicators.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setGapTreatment
public CS1CallGapArg setGapTreatment(CS1GapTreatment value) throws IllegalStateException
Sets the value of the field gapTreatment. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-