IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Defining and transforming data > Defining data objects > Create business objects
Create private business objects
Private business objects are business objects that are contained within other business objects. They are only visible to the containing business object, thereby making them "private". A business object field can have either a simple type or a business object type. All business objects are indexed and therefore can be reused in numerous places as required. If you want to use a complex type (that is, a business object type) that will only ever be used once, a private business object can be used for this purpose. In XSD terms, a private business object is simply an element with an anonymous complex type defined in a business object (that is, a complex type definition). Or more simply, it is a business object field that defines an anonymous complex type instead of referencing a named complex type.
To create a private business object, follow these steps:
Procedure
- From an existing business object in the business object editor, right-click a field and select Create private business object.
- A private business object is created in the business object editor (note that the red icon
indicates that it is a private business object and does not indicate an error).
- You can now add, edit, or remove fields as required (private business objects behave like ordinary business objects in the business object editor).