public class SearchVatRulesResult extends OperationResultAdapter implements XMLMapping
Search VAT Rules operation;
It includes the list of VAT rules configured in the connected SAP CC system.
Use the getVatRules() method for getting the result.
SearchVatRulesOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="searchVatRulesResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="vatRule" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RESULT_NAME
The XML tag name of the result of search of
VatRulesModel: "searchVatRulesResult" |
| Constructor and Description |
|---|
SearchVatRulesResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
java.lang.Class<?> |
getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
Returns the
Java class for a specified XML tag and its attributes in a namespace. |
java.lang.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. |
java.lang.String |
getTagName()
Gets the XML tag name of the
HCI operation result. |
java.util.List<VatRuleModel> |
getVatRules()
Gets the
VAT rules stored in the connected SAP CC system}. |
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 |
setVatRules(java.util.List<VatRuleModel> list)
Sets up the VAT rules
|
marshalequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarshalpublic static final java.lang.String RESULT_NAME
VatRulesModel: "searchVatRulesResult"public void setVatRules(java.util.List<VatRuleModel> list)
list - A list of VAT rulespublic java.util.List<VatRuleModel> getVatRules()
VAT rules stored in the connected SAP CC system}.VAT rulespublic java.lang.String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResultpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addChild(java.lang.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 addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallablemarshalAttributes in interface IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallablemarshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects intopublic java.lang.String getTagName()
OperationResultAdapterHCI operation result.getTagName in interface ITagNameProvidergetTagName in class OperationResultAdapterpublic java.lang.Class<?> getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
XMLMappingJava class for a specified XML tag and its attributes in a namespace.getClass in interface XMLMappingnsUri - The unique resource identifier of the namespace of the XML tagtag - The local part of the XML tagatts - The attributes of the XML tagJava class with a default constructor