IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Business objects programming
Programming techniques
These techniques illustrate how to effectively program business objects using the business object framework.
- Arrays in business objects
You can define arrays for an element in a business object so that the element can contain more than one instance of data.
- Create nested business objects
You can use the setWithCreate function to create nested business objects within a parent business object.
- Differentiating identically named elements
You must provide unique names for business object elements and attributes.
- Differentiating identically named properties
When multiple XSDs with the same namespace define the same named types, an incorrect type can be accidentally referenced.- Resolving property names that contain periods
Property names in an XSD may contain a period (".") as one of many valid characters, while in a SDO they are also used to show indexing in a property of multiple cardinality. This may cause resolution problems in certain situations.- Support for null business objects
This scenario involves an outside system communicating with IBM BPM through XML wrapped inside of a SOAP message. When the enclosed element is nillible and has xsi:nil="true", then the resulting DataObject which is created in IBM BPM is null.- Use the Sequence object to set data order
Some XSDs are defined in a way that makes the order that the data occurs in the XML have special significance.- Use Any data types
This section provides programming techniques for using Any data types.