Class MAPSS_SubscriptionOption_v1
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPSS_SubscriptionOption_v1
-
- All Implemented Interfaces:
DataObject
,Serializable
- Direct Known Subclasses:
MAPSS_SubscriptionOption
,MAPSS_SubscriptionViolationParam
public class MAPSS_SubscriptionOption_v1 extends AbstractFieldsObject
API for MAP-SS-DataTypes-ph1.SS-SubscriptionOption-v1. Generated from the following ASN.1 type definition and the adaptations below.SS-SubscriptionOption-v1 ::= CHOICE { perCallBasis BOOLEAN, -- Present in ph1. Removed between ph1 and ph2. notificationToHeldRetrievedParty BOOLEAN, -- Present in ph1. Removed between ph1 and ph2. userToUserServiceIndicator UserToUserServiceIndicator, -- Present in ph1. Removed between ph1 and ph2. maximumConfereesNumber MaximumConfereesNumber, -- Present in ph1. Removed between ph1 and ph2. huntGroupAccessSelectionOrder HuntGroupAccessSelectionOrder -- Present in ph1. Removed between ph1 and ph2. } MAP-SS-DataTypes-ph1 { SS-SubscriptionOption-v1 { @extendible } }
Present in ph1. Evolved toMAPSS_SubscriptionOption
in ph2.Used as field type by
MAPSS_Data_v1
.Used as parameter type by
MAPErrors.ss_SubscriptionViolation_v1
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MAPSS_SubscriptionOption_v1.Choice
API for MAP-SS-DataTypes-ph1.SS-SubscriptionOption-v1.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSS_SubscriptionOption_v1()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSS_SubscriptionOption_v1
clone()
Constructs a copy of this object and everything reachable from it.static MAPSS_SubscriptionOption_v1
copyOf(MAPSS_SubscriptionOption_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.MAPSS_SubscriptionOption_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.MAPHuntGroupAccessSelectionOrder
getHuntGroupAccessSelectionOrder()
Gets the value of the huntGroupAccessSelectionOrder choice.int
getMaximumConfereesNumber()
Gets the value of the maximumConfereesNumber choice.boolean
getNotificationToHeldRetrievedParty()
Gets the value of the notificationToHeldRetrievedParty choice.boolean
getPerCallBasis()
Gets the value of the perCallBasis choice.byte[]
getUserToUserServiceIndicator()
Gets the value of the userToUserServiceIndicator choice.boolean
isHuntGroupAccessSelectionOrderChosen()
Tests whether the choice is huntGroupAccessSelectionOrder.boolean
isMaximumConfereesNumberChosen()
Tests whether the choice is maximumConfereesNumber.boolean
isNotificationToHeldRetrievedPartyChosen()
Tests whether the choice is notificationToHeldRetrievedParty.boolean
isPerCallBasisChosen()
Tests whether the choice is perCallBasis.boolean
isUserToUserServiceIndicatorChosen()
Tests whether the choice is userToUserServiceIndicator.protected void
setChoice(MAPSS_SubscriptionOption_v1.Choice arg)
Sets the discriminant of the current choice.MAPSS_SubscriptionOption_v1
setHuntGroupAccessSelectionOrder(MAPHuntGroupAccessSelectionOrder value)
Sets the value of the huntGroupAccessSelectionOrder choice.MAPSS_SubscriptionOption_v1
setMaximumConfereesNumber(int value)
Sets the value of the maximumConfereesNumber choice.MAPSS_SubscriptionOption_v1
setNotificationToHeldRetrievedParty(boolean value)
Sets the value of the notificationToHeldRetrievedParty choice.MAPSS_SubscriptionOption_v1
setPerCallBasis(boolean value)
Sets the value of the perCallBasis choice.MAPSS_SubscriptionOption_v1
setUserToUserServiceIndicator(byte[] value)
Sets the value of the userToUserServiceIndicator choice.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Method Detail
-
clone
public MAPSS_SubscriptionOption_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 MAPSS_SubscriptionOption_v1 copyOf(MAPSS_SubscriptionOption_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:
- MAPSS_SubscriptionOption_v1
-
getChoice
public MAPSS_SubscriptionOption_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
-
getHuntGroupAccessSelectionOrder
public MAPHuntGroupAccessSelectionOrder getHuntGroupAccessSelectionOrder()
Gets the value of the huntGroupAccessSelectionOrder choice.- Returns:
- value of the choice, if choice is huntGroupAccessSelectionOrder, else null
-
getMaximumConfereesNumber
public int getMaximumConfereesNumber() throws IllegalStateException
Gets the value of the maximumConfereesNumber choice.- Returns:
- value of the choice, if choice is maximumConfereesNumber
- Throws:
IllegalStateException
- if choice is not maximumConfereesNumber
-
getNotificationToHeldRetrievedParty
public boolean getNotificationToHeldRetrievedParty() throws IllegalStateException
Gets the value of the notificationToHeldRetrievedParty choice.- Returns:
- value of the choice, if choice is notificationToHeldRetrievedParty
- Throws:
IllegalStateException
- if choice is not notificationToHeldRetrievedParty
-
getPerCallBasis
public boolean getPerCallBasis() throws IllegalStateException
Gets the value of the perCallBasis choice.- Returns:
- value of the choice, if choice is perCallBasis
- Throws:
IllegalStateException
- if choice is not perCallBasis
-
getUserToUserServiceIndicator
public byte[] getUserToUserServiceIndicator()
Gets the value of the userToUserServiceIndicator choice.- Returns:
- value of the choice, if choice is userToUserServiceIndicator, else null
-
isHuntGroupAccessSelectionOrderChosen
public boolean isHuntGroupAccessSelectionOrderChosen()
Tests whether the choice is huntGroupAccessSelectionOrder.- Returns:
- true if chosen, false if not
-
isMaximumConfereesNumberChosen
public boolean isMaximumConfereesNumberChosen()
Tests whether the choice is maximumConfereesNumber.- Returns:
- true if chosen, false if not
-
isNotificationToHeldRetrievedPartyChosen
public boolean isNotificationToHeldRetrievedPartyChosen()
Tests whether the choice is notificationToHeldRetrievedParty.- Returns:
- true if chosen, false if not
-
isPerCallBasisChosen
public boolean isPerCallBasisChosen()
Tests whether the choice is perCallBasis.- Returns:
- true if chosen, false if not
-
isUserToUserServiceIndicatorChosen
public boolean isUserToUserServiceIndicatorChosen()
Tests whether the choice is userToUserServiceIndicator.- Returns:
- true if chosen, false if not
-
setChoice
protected void setChoice(MAPSS_SubscriptionOption_v1.Choice arg)
Sets the discriminant of the current choice.- Parameters:
arg
- the new discriminant
-
setHuntGroupAccessSelectionOrder
public MAPSS_SubscriptionOption_v1 setHuntGroupAccessSelectionOrder(MAPHuntGroupAccessSelectionOrder value) throws IllegalStateException, NullPointerException
Sets the value of the huntGroupAccessSelectionOrder 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
-
setMaximumConfereesNumber
public MAPSS_SubscriptionOption_v1 setMaximumConfereesNumber(int value) throws IllegalStateException
Sets the value of the maximumConfereesNumber choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setNotificationToHeldRetrievedParty
public MAPSS_SubscriptionOption_v1 setNotificationToHeldRetrievedParty(boolean value) throws IllegalStateException
Sets the value of the notificationToHeldRetrievedParty choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setPerCallBasis
public MAPSS_SubscriptionOption_v1 setPerCallBasis(boolean value) throws IllegalStateException
Sets the value of the perCallBasis choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setUserToUserServiceIndicator
public MAPSS_SubscriptionOption_v1 setUserToUserServiceIndicator(byte[] value) throws IllegalStateException, NullPointerException
Sets the value of the userToUserServiceIndicator 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
-
-