public class CustomerManagementAreaListModel extends HCIModelAdapter implements XMLMapping
customer management areas declared in
the SAP CC system.
Refer to the customer management area class for more information.
CustomerManagementAreaThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="customerManagementAreaList">
<xs:complexType>
<xs:sequence>
<xs:element ref="customerManagementArea" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="defaultCustomerManagementAreaName" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG_NAME |
| Constructor and Description |
|---|
CustomerManagementAreaListModel() |
| 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. |
void |
addCustomerManagementArea(CustomerManagementArea customerManagementArea)
Adds a
customer management area object to the current list of objects configured in the SAP CC system. |
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.util.List<CustomerManagementArea> |
getCustomerManagementAreaList()
Gets the list of
customer management areas declared in the connected SAP CC system. |
java.lang.String |
getDefaultCustomerManagementAreaName() |
java.lang.String |
getTagName()
Gets the XML tag name of the HCI model.
|
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 |
setDefaultCustomerManagementAreaName(java.lang.String defaultCustomerManagementAreaName) |
marshalpublic static final java.lang.String TAG_NAME
public final java.util.List<CustomerManagementArea> getCustomerManagementAreaList()
customer management areas declared in the connected SAP CC system.customer management areas configured in the SAP CC systempublic void addCustomerManagementArea(CustomerManagementArea customerManagementArea)
customer management area object to the current list of objects configured in the SAP CC system.customerManagementArea - The new area definitionpublic java.lang.String getDefaultCustomerManagementAreaName()
public void setDefaultCustomerManagementAreaName(java.lang.String defaultCustomerManagementAreaName)
public 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 setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void marshalChildren(XMLOutputter output)
IXMLMarshallablemarshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects intopublic java.lang.String getTagName()
ITagNameProvidergetTagName in interface ITagNameProviderpublic 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