public class CCConnectToResourceArg extends AbstractFieldsObject
ConnectToResourceArg ::= SEQUENCE { resourceAddress CHOICE { ipRoutingAddress IPRoutingAddress, none NULL } } CC-DataTypes { ConnectToResourceArg { resourceAddress { @extendible } } }
Used as argument type by CCOperations.connectToResource
.
Modifier and Type | Class and Description |
---|---|
static class |
CCConnectToResourceArg.ResourceAddress
API for CC-DataTypes.ConnectToResourceArg.resourceAddress.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CCConnectToResourceArg()
Constructs an object with uninitialised state.
|
CCConnectToResourceArg(CCConnectToResourceArg.ResourceAddress ResourceAddress_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
CCConnectToResourceArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCConnectToResourceArg |
copyOf(CCConnectToResourceArg 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.
|
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.
|
CCConnectToResourceArg.ResourceAddress |
getResourceAddress()
Gets the value of the field resourceAddress.
|
boolean |
hasResourceAddress()
Tests whether the field resourceAddress has a value.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CCConnectToResourceArg |
setResourceAddress(CCConnectToResourceArg.ResourceAddress value)
Sets the value of the field resourceAddress.
|
equals, hashCode, toString
checkModify, isReadOnly
public CCConnectToResourceArg()
public CCConnectToResourceArg(CCConnectToResourceArg.ResourceAddress ResourceAddress_param)
ResourceAddress_param
- value for that fieldpublic CCConnectToResourceArg clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CCConnectToResourceArg copyOf(CCConnectToResourceArg from)
from
- the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic CCConnectToResourceArg.ResourceAddress getResourceAddress()
public boolean hasResourceAddress()
public void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject
public CCConnectToResourceArg setResourceAddress(CCConnectToResourceArg.ResourceAddress value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only