IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Business objects programming > Programming techniques
Create nested business objects
You can use the setWithCreate function to create nested business objects within a parent business object.
You can create nested business objects from a parent business object without having to write code that details intermediate child objects.
For example, you can set a nested business object two levels below the parent object without having to define a dependent business object one level below the parent object. Use the setWithCreate function to accomplish this task for:
- a single instance
- multiple instances
- a wildcard value
- a model group
The following topics describe how you can do each of these.
- Single instance of a nested business object
Use the setWithCreate function to create a single instance of nested business object.- Create multiple instances of nested business objects
Use the setWithCreate function to create a multiple instances of nested business object.- Use a nested business object defined by a wildcard
You can specify the type xsd:any in a parent object to specify a child object, but only if the child object already exists.
- Use business objects in model groups
You create the model group path patterns when working with nested business objects that are part of a model group.