IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Adapter Toolkit > Implementing code from the IBM WebSphere Adapter Toolkit > Enterprise metadata discovery general interfaces and implementation for application adapters > Business object structures for enterprise metadata discovery
BusinessObject
BusinessObject contains properties and methods that help the discovery service generate object definitions.
The discovery service must provide the following for BusinessObject:
- Name –
For example, PURCHASEORDER
- BusinessObjectAttributes
- Namespaces – These name spaces are added to the XSD definition.
- TargetNameSpace –
For example, http://www.ibm.com/xmlns/prod/websphere/j2ca/peoplesoft/purchaseorder.
- ImportedNameSpaces – These name spaces would be added as <import.. in XSD.
- IncludeNameSpaces – These name spaces would be added as <include.. in XSD.
- TopLevel – Boolean if business object is TopLevel and needs a business graph definition
- Metadata – Metadata object representing the business object level application-specific information.
BusinessObject provides two methods:
- Serialize – To obtain the XSD string for the object.
- getGraphDefinition – To obtain the business graph definition for a top-level business object.
Business object structures for enterprise metadata discovery