Class MAPInterrogateSSRes_v1
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPInterrogateSSRes_v1
-
- All Implemented Interfaces:
DataObject
,Serializable
- Direct Known Subclasses:
MAPInterrogateSS_Res
public class MAPInterrogateSSRes_v1 extends AbstractFieldsObject
API for MAP-SS-DataTypes-ph1.InterrogateSSRes-v1. Generated from the following ASN.1 type definition and the adaptations below.InterrogateSSRes-v1 ::= CHOICE { ss-Status SS-Status, forwardedToNumber ISDN-AddressString, -- Removed between ph1 and ph2. activesBasicServices BasicServiceList, -- Removed between ph1 and ph2. forwardingFeatureList ForwardingFeatureList } MAP-SS-DataTypes-ph1 { InterrogateSSRes-v1 { @extendible } }
Present in ph1. Extended toMAPInterrogateSS_Res
in ph2.Used as result type by
MAPOperations.interrogateSS_v1
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MAPInterrogateSSRes_v1.Choice
API for MAP-SS-DataTypes-ph1.InterrogateSSRes-v1.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPInterrogateSSRes_v1()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPInterrogateSSRes_v1
clone()
Constructs a copy of this object and everything reachable from it.static MAPInterrogateSSRes_v1
copyOf(MAPInterrogateSSRes_v1 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.MAPExt_BasicServiceCode[]
getActivesBasicServices()
Gets the value of the activesBasicServices choice.MAPInterrogateSSRes_v1.Choice
getChoice()
Gets the discriminant of the current choice.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 :discriminant-name to associated-value.AddressString
getForwardedToNumber()
Gets the value of the forwardedToNumber choice.MAPForwardingFeature[]
getForwardingFeatureList()
Gets the value of the forwardingFeatureList choice.byte[]
getSs_Status()
Gets the value of the ss-Status choice.boolean
isActivesBasicServicesChosen()
Tests whether the choice is activesBasicServices.boolean
isForwardedToNumberChosen()
Tests whether the choice is forwardedToNumber.boolean
isForwardingFeatureListChosen()
Tests whether the choice is forwardingFeatureList.boolean
isSs_StatusChosen()
Tests whether the choice is ss-Status.MAPInterrogateSSRes_v1
setActivesBasicServices(MAPExt_BasicServiceCode[] value)
Sets the value of the activesBasicServices choice.protected void
setChoice(MAPInterrogateSSRes_v1.Choice arg)
Sets the discriminant of the current choice.MAPInterrogateSSRes_v1
setForwardedToNumber(AddressString value)
Sets the value of the forwardedToNumber choice.MAPInterrogateSSRes_v1
setForwardingFeatureList(MAPForwardingFeature[] value)
Sets the value of the forwardingFeatureList choice.void
setReadOnly()
Sets this and all its fields to be immutable.MAPInterrogateSSRes_v1
setSs_Status(byte[] value)
Sets the value of the ss-Status choice.-
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 MAPInterrogateSSRes_v1 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 MAPInterrogateSSRes_v1 copyOf(MAPInterrogateSSRes_v1 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:
- MAPInterrogateSSRes_v1
-
getActivesBasicServices
public MAPExt_BasicServiceCode[] getActivesBasicServices()
Gets the value of the activesBasicServices choice.- Returns:
- value of the choice, if choice is activesBasicServices, else null
-
getChoice
public MAPInterrogateSSRes_v1.Choice getChoice()
Gets the discriminant of the current choice.- Returns:
- the current discriminant
-
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 :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
getForwardedToNumber
public AddressString getForwardedToNumber()
Gets the value of the forwardedToNumber choice.- Returns:
- value of the choice, if choice is forwardedToNumber, else null
-
getForwardingFeatureList
public MAPForwardingFeature[] getForwardingFeatureList()
Gets the value of the forwardingFeatureList choice.- Returns:
- value of the choice, if choice is forwardingFeatureList, else null
-
getSs_Status
public byte[] getSs_Status()
Gets the value of the ss-Status choice.- Returns:
- value of the choice, if choice is ss-Status, else null
-
isActivesBasicServicesChosen
public boolean isActivesBasicServicesChosen()
Tests whether the choice is activesBasicServices.- Returns:
- true if chosen, false if not
-
isForwardedToNumberChosen
public boolean isForwardedToNumberChosen()
Tests whether the choice is forwardedToNumber.- Returns:
- true if chosen, false if not
-
isForwardingFeatureListChosen
public boolean isForwardingFeatureListChosen()
Tests whether the choice is forwardingFeatureList.- Returns:
- true if chosen, false if not
-
isSs_StatusChosen
public boolean isSs_StatusChosen()
Tests whether the choice is ss-Status.- Returns:
- true if chosen, false if not
-
setActivesBasicServices
public MAPInterrogateSSRes_v1 setActivesBasicServices(MAPExt_BasicServiceCode[] value) throws IllegalStateException, NullPointerException
Sets the value of the activesBasicServices choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setChoice
protected void setChoice(MAPInterrogateSSRes_v1.Choice arg)
Sets the discriminant of the current choice.- Parameters:
arg
- the new discriminant
-
setForwardedToNumber
public MAPInterrogateSSRes_v1 setForwardedToNumber(AddressString value) throws IllegalStateException, NullPointerException
Sets the value of the forwardedToNumber choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setForwardingFeatureList
public MAPInterrogateSSRes_v1 setForwardingFeatureList(MAPForwardingFeature[] value) throws IllegalStateException, NullPointerException
Sets the value of the forwardingFeatureList choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setSs_Status
public MAPInterrogateSSRes_v1 setSs_Status(byte[] value) throws IllegalStateException, NullPointerException
Sets the value of the ss-Status choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
-