Class CAP4ContinueWithArgumentArgExtension
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- CAP4ContinueWithArgumentArgExtension
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CAP4ContinueWithArgumentArgExtension extends AbstractFieldsObject
API for CAP-gsmSSF-gsmSCF-ops-args.ContinueWithArgumentArgExtension. Generated from the following ASN.1 type definition.ContinueWithArgumentArgExtension ::= SEQUENCE { suppress-D-CSI NULL OPTIONAL, suppress-N-CSI NULL OPTIONAL, suppressOutgoingCallBarring NULL OPTIONAL, legOrCallSegment LegOrCallSegment OPTIONAL, ... }
Used as field type by
CAP4ContinueWithArgumentArg
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CAP4ContinueWithArgumentArgExtension()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP4ContinueWithArgumentArgExtension
clone()
Constructs a copy of this object and everything reachable from it.static CAP4ContinueWithArgumentArgExtension
copyOf(CAP4ContinueWithArgumentArgExtension 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.CAP4LegOrCallSegment
getLegOrCallSegment()
Gets the value of the field legOrCallSegment.boolean
hasLegOrCallSegment()
Tests whether the field legOrCallSegment has a value.boolean
hasSuppress_D_CSI()
Tests whether the field suppress-D-CSI is present.boolean
hasSuppress_N_CSI()
Tests whether the field suppress-N-CSI is present.boolean
hasSuppressOutgoingCallBarring()
Tests whether the field suppressOutgoingCallBarring is present.CAP4ContinueWithArgumentArgExtension
setLegOrCallSegment(CAP4LegOrCallSegment value)
Sets the value of the field legOrCallSegment.void
setReadOnly()
Sets this and all its fields to be immutable.CAP4ContinueWithArgumentArgExtension
setSuppress_D_CSIPresent(boolean flag)
Sets the presence or absence of the optional field suppress-D-CSI.CAP4ContinueWithArgumentArgExtension
setSuppress_N_CSIPresent(boolean flag)
Sets the presence or absence of the optional field suppress-N-CSI.CAP4ContinueWithArgumentArgExtension
setSuppressOutgoingCallBarringPresent(boolean flag)
Sets the presence or absence of the optional field suppressOutgoingCallBarring.-
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 CAP4ContinueWithArgumentArgExtension clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static CAP4ContinueWithArgumentArgExtension copyOf(CAP4ContinueWithArgumentArgExtension 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:
- CAP4ContinueWithArgumentArgExtension
-
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.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getLegOrCallSegment
public CAP4LegOrCallSegment getLegOrCallSegment()
Gets the value of the field legOrCallSegment.- Returns:
- value of field legOrCallSegment, or null if not present
-
hasLegOrCallSegment
public boolean hasLegOrCallSegment()
Tests whether the field legOrCallSegment has a value.- Returns:
- whether the field legOrCallSegment has a value
-
hasSuppressOutgoingCallBarring
public boolean hasSuppressOutgoingCallBarring()
Tests whether the field suppressOutgoingCallBarring is present.- Returns:
- whether the field suppressOutgoingCallBarring is present
-
hasSuppress_D_CSI
public boolean hasSuppress_D_CSI()
Tests whether the field suppress-D-CSI is present.- Returns:
- whether the field suppress-D-CSI is present
-
hasSuppress_N_CSI
public boolean hasSuppress_N_CSI()
Tests whether the field suppress-N-CSI is present.- Returns:
- whether the field suppress-N-CSI is present
-
setLegOrCallSegment
public CAP4ContinueWithArgumentArgExtension setLegOrCallSegment(CAP4LegOrCallSegment value) throws IllegalStateException
Sets the value of the field legOrCallSegment. 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
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setSuppressOutgoingCallBarringPresent
public CAP4ContinueWithArgumentArgExtension setSuppressOutgoingCallBarringPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field suppressOutgoingCallBarring.- Parameters:
flag
- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setSuppress_D_CSIPresent
public CAP4ContinueWithArgumentArgExtension setSuppress_D_CSIPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field suppress-D-CSI.- Parameters:
flag
- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setSuppress_N_CSIPresent
public CAP4ContinueWithArgumentArgExtension setSuppress_N_CSIPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field suppress-N-CSI.- Parameters:
flag
- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-