public static class CCConnectToResourceArg.ResourceAddress extends AbstractFieldsObject
resourceAddress ::= CHOICE { ipRoutingAddress IPRoutingAddress, none NULL } CC-DataTypes { ConnectToResourceArg { resourceAddress { @extendible } } }
Used as field type by CCConnectToResourceArg
.
Modifier and Type | Class and Description |
---|---|
static class |
CCConnectToResourceArg.ResourceAddress.Choice
API for CC-DataTypes.ConnectToResourceArg.resourceAddress.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CCConnectToResourceArg.ResourceAddress() |
Modifier and Type | Method and Description |
---|---|
CCConnectToResourceArg.ResourceAddress |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCConnectToResourceArg.ResourceAddress |
copyOf(CCConnectToResourceArg.ResourceAddress 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.
|
CCConnectToResourceArg.ResourceAddress.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.
|
CalledPartyNumber |
getIpRoutingAddress()
Gets the value of the ipRoutingAddress choice.
|
boolean |
isIpRoutingAddressChosen()
Tests whether the choice is ipRoutingAddress.
|
boolean |
isNoneChosen()
Tests whether the choice is none.
|
protected void |
setChoice(CCConnectToResourceArg.ResourceAddress.Choice arg)
Sets the discriminant of the current choice.
|
CCConnectToResourceArg.ResourceAddress |
setIpRoutingAddress(CalledPartyNumber value)
Sets the value of the ipRoutingAddress choice.
|
CCConnectToResourceArg.ResourceAddress |
setNone()
Sets the none choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public CCConnectToResourceArg.ResourceAddress()
public CCConnectToResourceArg.ResourceAddress clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CCConnectToResourceArg.ResourceAddress copyOf(CCConnectToResourceArg.ResourceAddress from)
from
- the object from which to copypublic CCConnectToResourceArg.ResourceAddress.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic CalledPartyNumber getIpRoutingAddress()
public boolean isIpRoutingAddressChosen()
public boolean isNoneChosen()
protected void setChoice(CCConnectToResourceArg.ResourceAddress.Choice arg)
arg
- the new discriminantpublic CCConnectToResourceArg.ResourceAddress setIpRoutingAddress(CalledPartyNumber 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 CCConnectToResourceArg.ResourceAddress setNone() throws IllegalStateException
IllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject