Class MAPIST_AlertRes
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPIST_AlertRes extends AbstractFieldsObject
API for MAP-CH-DataTypes.IST-AlertRes. Generated from the following ASN.1 type definition.IST-AlertRes ::= SEQUENCE { istAlertTimer IST-AlertTimerValue OPTIONAL, istInformationWithdraw NULL OPTIONAL, callTerminationIndicator CallTerminationIndicator OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... }
Added in R99.Used as result type by
MAPOperations.ist_Alert
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPIST_AlertRes()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPIST_AlertRes
clone()
Constructs a copy of this object and everything reachable from it.static MAPIST_AlertRes
copyOf(MAPIST_AlertRes 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.MAPCallTerminationIndicator
getCallTerminationIndicator()
Gets the value of the field callTerminationIndicator.MAPExtensionContainer
getExtensionContainer()
Gets the value of the field extensionContainer.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.int
getIstAlertTimer()
Gets the value of the field istAlertTimer.boolean
hasCallTerminationIndicator()
Tests whether the field callTerminationIndicator has a value.boolean
hasExtensionContainer()
Tests whether the field extensionContainer has a value.boolean
hasIstAlertTimer()
Tests whether the field istAlertTimer has a value.boolean
hasIstInformationWithdraw()
Tests whether the field istInformationWithdraw is present.MAPIST_AlertRes
setCallTerminationIndicator(MAPCallTerminationIndicator value)
Sets the value of the field callTerminationIndicator.MAPIST_AlertRes
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.MAPIST_AlertRes
setIstAlertTimer(int value)
Sets the value of the field istAlertTimer and marks the field as present.MAPIST_AlertRes
setIstAlertTimerPresent(boolean flag)
Sets the presence or absence of the optional field istAlertTimer.MAPIST_AlertRes
setIstInformationWithdrawPresent(boolean flag)
Sets the presence or absence of the optional field istInformationWithdraw.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 MAPIST_AlertRes 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 MAPIST_AlertRes copyOf(MAPIST_AlertRes 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:
- MAPIST_AlertRes
-
getCallTerminationIndicator
public MAPCallTerminationIndicator getCallTerminationIndicator()
Gets the value of the field callTerminationIndicator.- Returns:
- value of field callTerminationIndicator, or null if not present
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, 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
-
getIstAlertTimer
public int getIstAlertTimer()
Gets the value of the field istAlertTimer.- Returns:
- value of field istAlertTimer
-
hasCallTerminationIndicator
public boolean hasCallTerminationIndicator()
Tests whether the field callTerminationIndicator has a value.- Returns:
- whether the field callTerminationIndicator has a value
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasIstAlertTimer
public boolean hasIstAlertTimer()
Tests whether the field istAlertTimer has a value.- Returns:
- whether the field istAlertTimer has a value
-
hasIstInformationWithdraw
public boolean hasIstInformationWithdraw()
Tests whether the field istInformationWithdraw is present.- Returns:
- whether the field istInformationWithdraw is present
-
setCallTerminationIndicator
public MAPIST_AlertRes setCallTerminationIndicator(MAPCallTerminationIndicator value) throws IllegalStateException
Sets the value of the field callTerminationIndicator. 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
-
setExtensionContainer
public MAPIST_AlertRes setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. 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
-
setIstAlertTimer
public MAPIST_AlertRes setIstAlertTimer(int value) throws IllegalStateException
Sets the value of the field istAlertTimer and marks the field as present.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setIstAlertTimerPresent
public MAPIST_AlertRes setIstAlertTimerPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field istAlertTimer.- 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
-
setIstInformationWithdrawPresent
public MAPIST_AlertRes setIstInformationWithdrawPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field istInformationWithdraw.- 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
-
-