Class CAP3BackwardServiceInteractionInd
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- CAP3BackwardServiceInteractionInd
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CAP3BackwardServiceInteractionInd extends AbstractFieldsObject
API for CAP-datatypes.BackwardServiceInteractionInd. Generated from the following ASN.1 type definition and the adaptations below.BackwardServiceInteractionInd ::= SEQUENCE { conferenceTreatmentIndicator OCTET STRING (SIZE (1)) OPTIONAL, callCompletionTreatmentIndicator OCTET STRING (SIZE (1)) OPTIONAL, ... } CAP-datatypes { BackwardServiceInteractionInd { callCompletionTreatmentIndicator { @import com.opencloud.slee.resources.in.datatypes.cc.Treatment } conferenceTreatmentIndicator { @import com.opencloud.slee.resources.in.datatypes.cc.Treatment } } }
Used as field type by
CAP3ServiceInteractionIndicatorsTwo
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CAP3BackwardServiceInteractionInd()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP3BackwardServiceInteractionInd
clone()
Constructs a copy of this object and everything reachable from it.static CAP3BackwardServiceInteractionInd
copyOf(CAP3BackwardServiceInteractionInd 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.Treatment
getCallCompletionTreatmentIndicator()
Gets the value of the field callCompletionTreatmentIndicator.Treatment
getConferenceTreatmentIndicator()
Gets the value of the field conferenceTreatmentIndicator.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
hasCallCompletionTreatmentIndicator()
Tests whether the field callCompletionTreatmentIndicator has a value.boolean
hasConferenceTreatmentIndicator()
Tests whether the field conferenceTreatmentIndicator has a value.CAP3BackwardServiceInteractionInd
setCallCompletionTreatmentIndicator(Treatment value)
Sets the value of the field callCompletionTreatmentIndicator.CAP3BackwardServiceInteractionInd
setConferenceTreatmentIndicator(Treatment value)
Sets the value of the field conferenceTreatmentIndicator.void
setReadOnly()
Sets this and all its fields to be immutable.-
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 CAP3BackwardServiceInteractionInd 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 CAP3BackwardServiceInteractionInd copyOf(CAP3BackwardServiceInteractionInd 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:
- CAP3BackwardServiceInteractionInd
-
getCallCompletionTreatmentIndicator
public Treatment getCallCompletionTreatmentIndicator()
Gets the value of the field callCompletionTreatmentIndicator.- Returns:
- value of field callCompletionTreatmentIndicator, or null if not present
-
getConferenceTreatmentIndicator
public Treatment getConferenceTreatmentIndicator()
Gets the value of the field conferenceTreatmentIndicator.- Returns:
- value of field conferenceTreatmentIndicator, 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.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
hasCallCompletionTreatmentIndicator
public boolean hasCallCompletionTreatmentIndicator()
Tests whether the field callCompletionTreatmentIndicator has a value.- Returns:
- whether the field callCompletionTreatmentIndicator has a value
-
hasConferenceTreatmentIndicator
public boolean hasConferenceTreatmentIndicator()
Tests whether the field conferenceTreatmentIndicator has a value.- Returns:
- whether the field conferenceTreatmentIndicator has a value
-
setCallCompletionTreatmentIndicator
public CAP3BackwardServiceInteractionInd setCallCompletionTreatmentIndicator(Treatment value) throws IllegalStateException
Sets the value of the field callCompletionTreatmentIndicator. 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
-
setConferenceTreatmentIndicator
public CAP3BackwardServiceInteractionInd setConferenceTreatmentIndicator(Treatment value) throws IllegalStateException
Sets the value of the field conferenceTreatmentIndicator. 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
-
-