public class MAPSS_SubscriptionOption_v1 extends AbstractFieldsObject
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 to
MAPSS_SubscriptionOption
in ph2.
Used as field type by MAPSS_Data_v1
.
Used as parameter type by MAPErrors.ss_SubscriptionViolation_v1
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPSS_SubscriptionOption_v1.Choice
API for MAP-SS-DataTypes-ph1.SS-SubscriptionOption-v1.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPSS_SubscriptionOption_v1() |
Modifier and Type | Method and 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.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public MAPSS_SubscriptionOption_v1 clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPSS_SubscriptionOption_v1 copyOf(MAPSS_SubscriptionOption_v1 from)
from
- the object from which to copypublic MAPSS_SubscriptionOption_v1.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic MAPHuntGroupAccessSelectionOrder getHuntGroupAccessSelectionOrder()
public int getMaximumConfereesNumber() throws IllegalStateException
IllegalStateException
- if choice is not maximumConfereesNumberpublic boolean getNotificationToHeldRetrievedParty() throws IllegalStateException
IllegalStateException
- if choice is not notificationToHeldRetrievedPartypublic boolean getPerCallBasis() throws IllegalStateException
IllegalStateException
- if choice is not perCallBasispublic byte[] getUserToUserServiceIndicator()
public boolean isHuntGroupAccessSelectionOrderChosen()
public boolean isMaximumConfereesNumberChosen()
public boolean isNotificationToHeldRetrievedPartyChosen()
public boolean isPerCallBasisChosen()
public boolean isUserToUserServiceIndicatorChosen()
protected void setChoice(MAPSS_SubscriptionOption_v1.Choice arg)
arg
- the new discriminantpublic MAPSS_SubscriptionOption_v1 setHuntGroupAccessSelectionOrder(MAPHuntGroupAccessSelectionOrder value) throws IllegalStateException, NullPointerException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is nullpublic MAPSS_SubscriptionOption_v1 setMaximumConfereesNumber(int value) throws IllegalStateException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlypublic MAPSS_SubscriptionOption_v1 setNotificationToHeldRetrievedParty(boolean value) throws IllegalStateException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlypublic MAPSS_SubscriptionOption_v1 setPerCallBasis(boolean value) throws IllegalStateException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlypublic MAPSS_SubscriptionOption_v1 setUserToUserServiceIndicator(byte[] value) throws IllegalStateException, NullPointerException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null