public class CreateAccessOp extends Object implements MessageOperation
new access in customer master data.
If the access contains an accessible charge, the accessible charge
is added in the accessible charge chronology with null value for startDate and endDate.
This implies that the accessible charge is valid for any date.
If the access contains an accessible charge chronology,
the access is created with an empty accessible charge chronology.
CreateAccessResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="createAccess">
<xs:complexType>
<xs:sequence>
<xs:element ref="access" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</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 | Yes | No | No | No | No |
This operation is audited as part of the audit domain CUSTOMER
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME
The XML nam of the service operation: "createAccess"
|
| Constructor and Description |
|---|
CreateAccessOp()
Creates an empty operation.
|
| 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. |
AccessModel |
getAccess()
Gets the access to be created.
|
String |
getName()
Gets the name of the operation.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAccess(AccessModel access)
Sets the access to be created.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
public static final String OPERATION_NAME
public String getName()
getName in interface MessageOperationpublic AccessModel getAccess()
public void setAccess(AccessModel access)
access - The access to be createdpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into