Class CAP3ServiceInteractionIndicatorsTwo
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- CAP2ServiceInteractionIndicatorsTwo
-
- CAP3ServiceInteractionIndicatorsTwo
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CAP3ServiceInteractionIndicatorsTwo extends CAP2ServiceInteractionIndicatorsTwo
API for CAP-datatypes.ServiceInteractionIndicatorsTwo. Generated from the following ASN.1 type definition and the adaptations below.ServiceInteractionIndicatorsTwo ::= SEQUENCE { forwardServiceInteractionInd ForwardServiceInteractionInd OPTIONAL, backwardServiceInteractionInd BackwardServiceInteractionInd OPTIONAL, bothwayThroughConnectionInd BothwayThroughConnectionInd OPTIONAL, connectedNumberTreatmentInd ConnectedNumberTreatmentInd OPTIONAL, nonCUGCall NULL OPTIONAL, holdTreatmentIndicator OCTET STRING (SIZE (1)) OPTIONAL, cwTreatmentIndicator OCTET STRING (SIZE (1)) OPTIONAL, ectTreatmentIndicator OCTET STRING (SIZE (1)) OPTIONAL, ... } CAP-datatypes { ServiceInteractionIndicatorsTwo { @parentType com.opencloud.slee.resources.cgin.cap_v2.CAP2ServiceInteractionIndicatorsTwo cwTreatmentIndicator { @import com.opencloud.slee.resources.in.datatypes.cc.Treatment } ectTreatmentIndicator { @import com.opencloud.slee.resources.in.datatypes.cc.Treatment } holdTreatmentIndicator { @import com.opencloud.slee.resources.in.datatypes.cc.Treatment } } }
Used as field type by
CAP3InitialDPArg
.Used as field type by
CAP3EstablishTemporaryConnectionArg
.Used as field type by
CAP3ConnectArg
.Used as field type by
CAP3ContinueWithArgumentArg
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CAP3ServiceInteractionIndicatorsTwo()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP3ServiceInteractionIndicatorsTwo
clone()
Constructs a copy of this object and everything reachable from it.static CAP3ServiceInteractionIndicatorsTwo
copyOf(CAP2ServiceInteractionIndicatorsTwo 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.CAP3BackwardServiceInteractionInd
getBackwardServiceInteractionInd()
Gets the value of the field backwardServiceInteractionInd.CAP3ConnectedNumberTreatmentInd
getConnectedNumberTreatmentInd()
Gets the value of the field connectedNumberTreatmentInd.Treatment
getCwTreatmentIndicator()
Gets the value of the field cwTreatmentIndicator.Treatment
getEctTreatmentIndicator()
Gets the value of the field ectTreatmentIndicator.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.CAP3ForwardServiceInteractionInd
getForwardServiceInteractionInd()
Gets the value of the field forwardServiceInteractionInd.Treatment
getHoldTreatmentIndicator()
Gets the value of the field holdTreatmentIndicator.boolean
hasBackwardServiceInteractionInd()
Tests whether the field backwardServiceInteractionInd has a value.boolean
hasConnectedNumberTreatmentInd()
Tests whether the field connectedNumberTreatmentInd has a value.boolean
hasCwTreatmentIndicator()
Tests whether the field cwTreatmentIndicator has a value.boolean
hasEctTreatmentIndicator()
Tests whether the field ectTreatmentIndicator has a value.boolean
hasForwardServiceInteractionInd()
Tests whether the field forwardServiceInteractionInd has a value.boolean
hasHoldTreatmentIndicator()
Tests whether the field holdTreatmentIndicator has a value.boolean
hasNonCUGCall()
Tests whether the field nonCUGCall is present.CAP3ServiceInteractionIndicatorsTwo
setBackwardServiceInteractionInd(CAP3BackwardServiceInteractionInd value)
Sets the value of the field backwardServiceInteractionInd.CAP3ServiceInteractionIndicatorsTwo
setBothwayThroughConnectionInd(CAP2BothwayThroughConnectionInd value)
Sets the value of the field bothwayThroughConnectionInd.CAP3ServiceInteractionIndicatorsTwo
setConnectedNumberTreatmentInd(CAP3ConnectedNumberTreatmentInd value)
Sets the value of the field connectedNumberTreatmentInd.CAP3ServiceInteractionIndicatorsTwo
setCwTreatmentIndicator(Treatment value)
Sets the value of the field cwTreatmentIndicator.CAP3ServiceInteractionIndicatorsTwo
setEctTreatmentIndicator(Treatment value)
Sets the value of the field ectTreatmentIndicator.CAP3ServiceInteractionIndicatorsTwo
setForwardServiceInteractionInd(CAP3ForwardServiceInteractionInd value)
Sets the value of the field forwardServiceInteractionInd.CAP3ServiceInteractionIndicatorsTwo
setHoldTreatmentIndicator(Treatment value)
Sets the value of the field holdTreatmentIndicator.CAP3ServiceInteractionIndicatorsTwo
setNonCUGCallPresent(boolean flag)
Sets the presence or absence of the optional field nonCUGCall.void
setReadOnly()
Sets this and all its fields to be immutable.-
Methods inherited from class com.opencloud.slee.resources.cgin.cap_v2.CAP2ServiceInteractionIndicatorsTwo
getBothwayThroughConnectionInd, hasBothwayThroughConnectionInd
-
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 CAP3ServiceInteractionIndicatorsTwo clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classCAP2ServiceInteractionIndicatorsTwo
- Returns:
- copy of object
-
copyOf
public static CAP3ServiceInteractionIndicatorsTwo copyOf(CAP2ServiceInteractionIndicatorsTwo 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:
- CAP3ServiceInteractionIndicatorsTwo
-
getBackwardServiceInteractionInd
public CAP3BackwardServiceInteractionInd getBackwardServiceInteractionInd()
Gets the value of the field backwardServiceInteractionInd.- Returns:
- value of field backwardServiceInteractionInd, or null if not present
-
getConnectedNumberTreatmentInd
public CAP3ConnectedNumberTreatmentInd getConnectedNumberTreatmentInd()
Gets the value of the field connectedNumberTreatmentInd.- Returns:
- value of field connectedNumberTreatmentInd, or null if not present
-
getCwTreatmentIndicator
public Treatment getCwTreatmentIndicator()
Gets the value of the field cwTreatmentIndicator.- Returns:
- value of field cwTreatmentIndicator, or null if not present
-
getEctTreatmentIndicator
public Treatment getEctTreatmentIndicator()
Gets the value of the field ectTreatmentIndicator.- Returns:
- value of field ectTreatmentIndicator, 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 classCAP2ServiceInteractionIndicatorsTwo
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getForwardServiceInteractionInd
public CAP3ForwardServiceInteractionInd getForwardServiceInteractionInd()
Gets the value of the field forwardServiceInteractionInd.- Returns:
- value of field forwardServiceInteractionInd, or null if not present
-
getHoldTreatmentIndicator
public Treatment getHoldTreatmentIndicator()
Gets the value of the field holdTreatmentIndicator.- Returns:
- value of field holdTreatmentIndicator, or null if not present
-
hasBackwardServiceInteractionInd
public boolean hasBackwardServiceInteractionInd()
Tests whether the field backwardServiceInteractionInd has a value.- Returns:
- whether the field backwardServiceInteractionInd has a value
-
hasConnectedNumberTreatmentInd
public boolean hasConnectedNumberTreatmentInd()
Tests whether the field connectedNumberTreatmentInd has a value.- Returns:
- whether the field connectedNumberTreatmentInd has a value
-
hasCwTreatmentIndicator
public boolean hasCwTreatmentIndicator()
Tests whether the field cwTreatmentIndicator has a value.- Returns:
- whether the field cwTreatmentIndicator has a value
-
hasEctTreatmentIndicator
public boolean hasEctTreatmentIndicator()
Tests whether the field ectTreatmentIndicator has a value.- Returns:
- whether the field ectTreatmentIndicator has a value
-
hasForwardServiceInteractionInd
public boolean hasForwardServiceInteractionInd()
Tests whether the field forwardServiceInteractionInd has a value.- Returns:
- whether the field forwardServiceInteractionInd has a value
-
hasHoldTreatmentIndicator
public boolean hasHoldTreatmentIndicator()
Tests whether the field holdTreatmentIndicator has a value.- Returns:
- whether the field holdTreatmentIndicator has a value
-
hasNonCUGCall
public boolean hasNonCUGCall()
Tests whether the field nonCUGCall is present.- Returns:
- whether the field nonCUGCall is present
-
setBackwardServiceInteractionInd
public CAP3ServiceInteractionIndicatorsTwo setBackwardServiceInteractionInd(CAP3BackwardServiceInteractionInd value) throws IllegalStateException
Sets the value of the field backwardServiceInteractionInd. 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
-
setBothwayThroughConnectionInd
public CAP3ServiceInteractionIndicatorsTwo setBothwayThroughConnectionInd(CAP2BothwayThroughConnectionInd value) throws IllegalStateException
Sets the value of the field bothwayThroughConnectionInd. If null, marks the field as absent.- Overrides:
setBothwayThroughConnectionInd
in classCAP2ServiceInteractionIndicatorsTwo
- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setConnectedNumberTreatmentInd
public CAP3ServiceInteractionIndicatorsTwo setConnectedNumberTreatmentInd(CAP3ConnectedNumberTreatmentInd value) throws IllegalStateException
Sets the value of the field connectedNumberTreatmentInd. 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
-
setCwTreatmentIndicator
public CAP3ServiceInteractionIndicatorsTwo setCwTreatmentIndicator(Treatment value) throws IllegalStateException
Sets the value of the field cwTreatmentIndicator. 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
-
setEctTreatmentIndicator
public CAP3ServiceInteractionIndicatorsTwo setEctTreatmentIndicator(Treatment value) throws IllegalStateException
Sets the value of the field ectTreatmentIndicator. 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
-
setForwardServiceInteractionInd
public CAP3ServiceInteractionIndicatorsTwo setForwardServiceInteractionInd(CAP3ForwardServiceInteractionInd value) throws IllegalStateException
Sets the value of the field forwardServiceInteractionInd. 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
-
setHoldTreatmentIndicator
public CAP3ServiceInteractionIndicatorsTwo setHoldTreatmentIndicator(Treatment value) throws IllegalStateException
Sets the value of the field holdTreatmentIndicator. 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
-
setNonCUGCallPresent
public CAP3ServiceInteractionIndicatorsTwo setNonCUGCallPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field nonCUGCall.- 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
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
-