Reference > Data load utility configuration files
Schema | wc-dataload-businessobject.xsd |
Target Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config |
Namespace Table | http://www.ibm.com/xmlns/prod/commerce/foundation/config http://www.w3.org/2001/XMLSchema |
Directives
include wc-dataload-common.xsd include wc-dataload-datasource-data.xsd |
DataloadBusinessObjectConfiguration |
Complex Type BusinessObjectBuilder | ||||||||||||||||||||||||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | |||||||||||||||||||||||
Diagram | ||||||||||||||||||||||||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} BusinessObjectBuilder {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| |||||||||||||||||||||||
Content Details |
| |||||||||||||||||||||||
Documentation |
Defines how data is mapped to WebSphere Commerce business objects. It is also used to choose the data persistence method.
| |||||||||||||||||||||||
Source |
<xsd:complexType name="BusinessObjectBuilder"> <xsd:sequence> <xsd:element name="property" type="_config:NameValuePair" minOccurs="0" maxOccurs="unbounded"> </xsd:element> <xsd:element name="DataMapping" type="_config:DataMapping" minOccurs="0" maxOccurs="1"> </xsd:element> <xsd:element name="Table" type="_config:Table" minOccurs="0" maxOccurs="unbounded"> </xsd:element> <xsd:element name="BusinessObjectMediator" type="_config:BusinessObjectMediator" minOccurs="1" maxOccurs="1"> </xsd:element> </xsd:sequence> <xsd:attribute name="className" type="xsd:string" use="optional" form="unqualified"/> <xsd:attribute name="packageName" type="xsd:string" use="optional" form="unqualified"/> <xsd:attribute name="dataObjectType" type="xsd:string" use="optional" form="unqualified"/> </xsd:complexType>
|
Complex Type BusinessObjectMediator | |||||||||||||||||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | ||||||||||||||||
Diagram | |||||||||||||||||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} BusinessObjectMediator {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| ||||||||||||||||
Content Details |
| ||||||||||||||||
Documentation |
Defines how WebSphere Commerce business objects are transformed into physical table data objects. It is also used to choose the data persistence method.
| ||||||||||||||||
Source |
<xsd:complexType name="BusinessObjectMediator"> <xsd:sequence> <xsd:element name="property" type="_config:NameValuePair" minOccurs="0" maxOccurs="unbounded"> </xsd:element> <xsd:element name="context" type="_config:context" minOccurs="0" maxOccurs="unbounded"> </xsd:element> <xsd:element name="DataWriter" type="_config:DataWriter" minOccurs="0" maxOccurs="1"> </xsd:element> </xsd:sequence> <xsd:attribute name="className" type="xsd:string" use="required" form="unqualified"/> <xsd:attribute name="componentId" type="xsd:string" use="optional" form="unqualified"/> </xsd:complexType>
|
Complex Type Column | |||||||||||||||||||||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | ||||||||||||||||||||
Diagram | |||||||||||||||||||||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} Column {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| ||||||||||||||||||||
Content Details |
| ||||||||||||||||||||
Documentation |
| ||||||||||||||||||||
Source |
<xsd:complexType name="Column"> <xsd:sequence> <xsd:element name="IDResolve" type="_config:IDResolve" minOccurs="0" maxOccurs="1"> </xsd:element> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" form="unqualified"/> <xsd:attribute name="value" type="xsd:string" use="required" form="unqualified"/> <xsd:attribute name="valueFrom" type="xsd:string" use="optional" form="unqualified"/> </xsd:complexType>
|
Complex Type ColumnExclusionList | |||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | ||
Diagram | |||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} ColumnExclusionList {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| ||
Content Details |
| ||
Documentation |
| ||
Source |
<xsd:complexType name="ColumnExclusionList"> <xsd:sequence> <xsd:element name="table" type="_config:ExclusionTable" minOccurs="0" maxOccurs="unbounded"> </xsd:element> </xsd:sequence> </xsd:complexType>
|
Complex Type context | |
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config |
Diagram | |
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} context {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
|
Content Details |
|
Documentation |
Defines the business context keys required for this load and which context they can be found in.
|
Source |
<xsd:complexType name="context"> <xsd:attribute name="key" type="xsd:string" use="required" form="unqualified"> </xsd:attribute> <xsd:attribute name="name" type="xsd:string" use="required" form="unqualified"> </xsd:attribute> <xsd:attribute name="propertyName" type="xsd:string" use="required" form="unqualified"> </xsd:attribute> <xsd:attribute name="defaultValue" type="xsd:string" use="optional" form="unqualified"> </xsd:attribute> </xsd:complexType>
|
Complex Type DataloadBusinessObjectConfiguration | |||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | ||
Diagram | |||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} DataloadBusinessObjectConfiguration {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| ||
Content Details |
| ||
Documentation |
| ||
Source |
<xsd:complexType name="DataloadBusinessObjectConfiguration"> <xsd:sequence> <xsd:element name="DataLoader" type="_config:DataLoader" minOccurs="1" maxOccurs="1"> </xsd:element> </xsd:sequence> </xsd:complexType>
|
Complex Type DataLoader | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Diagram | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} DataLoader {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Content Details |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Documentation |
Specifies the data reader and business object builder.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Source |
<xsd:complexType name="DataLoader"> <xsd:sequence> <xsd:element name="property" type="_config:NameValuePair" minOccurs="0" maxOccurs="unbounded"> </xsd:element> <xsd:element name="ColumnExclusionList" type="_config:ColumnExclusionList" minOccurs="0" maxOccurs="1"> </xsd:element> <xsd:element name="DataReader" type="_config:DataReader" minOccurs="1" maxOccurs="1"> </xsd:element> <xsd:element name="BusinessObjectBuilder" type="_config:BusinessObjectBuilder" minOccurs="1" maxOccurs="unbounded"> </xsd:element> </xsd:sequence> <xsd:attribute name="className" type="xsd:string" use="required" form="unqualified"/> </xsd:complexType>
|
Complex Type DataMapping | |||||||||||||||||||||||||||||||||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | ||||||||||||||||||||||||||||||||
Diagram | |||||||||||||||||||||||||||||||||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} DataMapping {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| ||||||||||||||||||||||||||||||||
Content Details |
| ||||||||||||||||||||||||||||||||
Documentation |
A container element where you can specify how data is mapped to business objects.
| ||||||||||||||||||||||||||||||||
Source |
<xsd:complexType name="DataMapping"> <xsd:sequence> <xsd:element name="mapping" type="_config:Mapping" minOccurs="0" maxOccurs="unbounded"> </xsd:element> </xsd:sequence> </xsd:complexType>
|
Complex Type DataReader | ||||||||||||||||||||||||||||||||||||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | |||||||||||||||||||||||||||||||||||
Diagram | ||||||||||||||||||||||||||||||||||||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} DataReader {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| |||||||||||||||||||||||||||||||||||
Content Details |
| |||||||||||||||||||||||||||||||||||
Documentation |
| |||||||||||||||||||||||||||||||||||
Source |
<xsd:complexType name="DataReader"> <xsd:sequence> <xsd:element name="property" type="_config:NameValuePair" minOccurs="0" maxOccurs="unbounded"> </xsd:element> <xsd:element name="Data" type="_config:Data" minOccurs="0" maxOccurs="1"> </xsd:element> </xsd:sequence> <xsd:attribute name="className" type="xsd:string" use="required" form="unqualified"/> <xsd:attribute name="lineDelimiter" type="xsd:string" use="optional" form="unqualified"/> <xsd:attribute name="tokenDelimiter" type="xsd:string" use="optional" form="unqualified"/> <xsd:attribute name="tokenValueDelimiter" type="xsd:string" use="optional" form="unqualified"/> <xsd:attribute name="charset" type="xsd:string" use="optional" form="unqualified"/> <xsd:attribute name="firstLineIsHeader" type="xsd:boolean" use="optional" form="unqualified"/> <xsd:attribute name="useHeaderAsColumnName" type="xsd:boolean" use="optional" form="unqualified"/> </xsd:complexType>
|
Complex Type DataWriter | |||||||||||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | ||||||||||
Diagram | |||||||||||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} DataWriter {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| ||||||||||
Content Details |
| ||||||||||
Documentation |
| ||||||||||
Source |
<xsd:complexType name="DataWriter"> <xsd:sequence> <xsd:element name="property" type="_config:NameValuePair" minOccurs="0" maxOccurs="unbounded"> </xsd:element> </xsd:sequence> <xsd:attribute name="className" type="xsd:string" use="required" form="unqualified"/> </xsd:complexType>
|
Complex Type ExclusionTable | ||||||||||||||||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | |||||||||||||||
Diagram | ||||||||||||||||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} ExclusionTable {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| |||||||||||||||
Content Details |
| |||||||||||||||
Documentation |
| |||||||||||||||
Source |
<xsd:complexType name="ExclusionTable"> <xsd:attribute name="name" type="xsd:string" use="required" form="unqualified"/> <xsd:attribute name="columns" type="xsd:string" use="required" form="unqualified"/> </xsd:complexType>
|
Complex Type IDResolve | |||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | ||
Diagram | |||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} IDResolve {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| ||
Content Details |
| ||
Documentation |
The IDResolve element has the following attributes: • tableName -- the table name. It is mandatory. • primaryKeyColumnName – the primary key column name to be resolved. It is optional if the primary key for this table has only one column. Otherwise it is mandatory. • generateNewKey – a Boolean value to indicate if a new key will be generated if the ID cannot be resolved in the database. It is optional. The default is false. The IDResolve element contains optional UniqueIndexColumn elements: • If the tableName in the IDResolve element is the same as the name in the Table, the UniqueIndexColumn element can be optional to use the column element defined in the Table element. • In the data load insert mode, if the generateNewKey is true, you don’t need to specify the UniqueIndexColumn. The ID resolver will always get a new generated key.
| ||
Source |
<xsd:complexType name="IDResolve"> <xsd:sequence> <xsd:element name="UniqueIndexColumn" type="_config:UniqueIndexColumn" minOccurs="0" maxOccurs="unbounded"> </xsd:element> </xsd:sequence> <xsd:attribute name="tableName" type="xsd:string" use="required" form="unqualified"/> <xsd:attribute name="primaryKeyColumnName" type="xsd:string" use="optional" form="unqualified"/> <xsd:attribute name="generateNewKey" type="xsd:boolean" use="optional" form="unqualified"/> </xsd:complexType>
|
Complex Type Map | |||||||||||||||||||||||||||||||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | ||||||||||||||||||||||||||||||
Diagram | |||||||||||||||||||||||||||||||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} Map {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| ||||||||||||||||||||||||||||||
Content Details |
| ||||||||||||||||||||||||||||||
Documentation |
| ||||||||||||||||||||||||||||||
Source |
<xsd:complexType name="Mapping"> <xsd:attribute name="xpath" type="xsd:string" use="required" form="unqualified"/> <xsd:attribute name="value" type="xsd:string" use="required" form="unqualified"/> <xsd:attribute name="valueFrom" type="xsd:string" use="optional" form="unqualified"/> <xsd:attribute name="empty" type="xsd:string" use="optional" form="unqualified"/> <xsd:attribute name="deleteValue" type="xsd:string" use="optional" form="unqualified"/> </xsd:complexType>
|
Complex Type Table | |||||||||||||||||||||
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config | ||||||||||||||||||||
Diagram | |||||||||||||||||||||
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} Table {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
| ||||||||||||||||||||
Content Details |
| ||||||||||||||||||||
Documentation |
| ||||||||||||||||||||
Source |
<xsd:complexType name="Table"> <xsd:sequence> <xsd:element name="Column" type="_config:Column" minOccurs="1" maxOccurs="unbounded"> </xsd:element> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" form="unqualified"/> <xsd:attribute name="deleteKey" type="xsd:string" use="optional" form="unqualified"/> <xsd:attribute name="deleteValue" type="xsd:string" use="optional" form="unqualified"/> </xsd:complexType>
|
Complex Type UniqueIndexColumn | |
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config |
Diagram | |
Inheritance Hierarchy |
anyType {http://www.w3.org/2001/XMLSchema} UniqueIndexColumn {http://www.ibm.com/xmlns/prod/commerce/foundation/config}
|
Content Details |
|
Documentation |
The UniqueIndexColumn element contains the following attributes: • name – the column name. It is mandatory. • value – the column value. It is mandatory. It is usually a value key and the real column value will be determined by the valueFrom attribute and also the input data. • valueFrom – It is used to indicate how the column value in the value attribute is determined. It is optional. The possible values for the valueFrom are: • InputData – It is the default. That is, if the valueFrom is not specified, the default is this value. • Fixed – It mens that the column value is fixed with the value defined in the value attribute. • BusinessContext – It means that the column value is from the business context. • IDResolve – It means that the column value will be resolved by the ID resolver. In this case, the column may have an optional IDResolve element to indicate how to resolve the ID. If the IDResolve element is not defined for this column, the value must be resolved before and will be assigned here.
|
Source |
<xsd:complexType name="UniqueIndexColumn"> <xsd:attribute name="name" type="xsd:string" use="required" form="unqualified"/> <xsd:attribute name="value" type="xsd:string" use="required" form="unqualified"/> <xsd:attribute name="valueFrom" type="xsd:string" use="optional" form="unqualified"/> </xsd:complexType>
|
Element DataloadBusinessObjectConfiguration | |
Namespace | http://www.ibm.com/xmlns/prod/commerce/foundation/config |
Diagram | |
Type | DataloadBusinessObjectConfiguration {http://www.ibm.com/xmlns/prod/commerce/foundation/config} |
Documentation |
|
Source |
<xsd:element name="DataloadBusinessObjectConfiguration" type="_config:DataloadBusinessObjectConfiguration"> </xsd:element>
|