public class CreateRoleResult extends OperationResultAdapter
Create Role operation;
It contains the identifier of the new role. CreateRoleOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="createRoleResult">
<xs:complexType>
<xs:attribute name="roleId" type="xs:string"/>
</xs:complexType>
</xs:element>
You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:
| Edition | Final Target Instances | |||||
| rater | updater | guider | bulkLoader | taxer | dispatcher | |
| charge | No | No | No | No | No | No |
| Modifier and Type | Field and Description |
|---|---|
static String |
RESULT_NAME
The value of that constant is the XML tag name of the result of creation of role: "createRoleResult"
|
| Constructor and Description |
|---|
CreateRoleResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
String |
getOperandReference()
Gets the code or the reference (if no code exists) that identifies the operand of the operation request;
If the operation is not auditable, the operand reference is
null. |
String |
getRoleId()
Gets the identifier of the role that has been created
|
String |
getTagName()
Gets the XML tag name of the
HCI operation result. |
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setRoleId(String roleId)
Sets the identifier of the role that has been created
|
marshalequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarshalpublic static final String RESULT_NAME
public String getRoleId()
public void setRoleId(String roleId)
roleId - The identifier of the new rolepublic String getOperandReference()
OperationResultnull.public String getTagName()
OperationResultAdapterHCI operation result.getTagName in interface ITagNameProvidergetTagName in class OperationResultAdapterpublic void setAttributes(XMLAttributes atts)
XMLMarshallableatts - The XML attributes of the current elementpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.tagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(String cData)
XMLMarshallablecData - The character data to be addedpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the child objects into