Business Object Editor definitions
Each tool within the Management Center is a Business Object Editor, which allows a business user to create and maintain business objects using the tool.
A Business Object Editor includes support for several
parts of the Management Center user
interface, including:
- A menu bar
- A toolbar
- A store selection widget
- A find area
- An explorer view
- A main work area
- A utilities view
- Context menus
The wcfBusinessObjectEditor class is a
base class that all Management Center tools
must extend. The following diagram illustrates how the wcfBusinessObjectEditor
class relates to other classes within the Management Center framework:
The Management Center framework includes various OpenLaszlo classes. The following sections describe these classes within the framework.
wcfTopObjectDefinition class
The wcfTopObjectDefinition class is an organizational object definition that describes the root object for an instance of the wcfBusinessObjectEditor class. This root object is the starting point for populating the navigation tree.The
following diagram illustrates how the wcfTopObjectDefinition class
relates to other classes within the Management Center framework:
wcfPrimaryObjectDefinition class
The wcfPrimaryObjectDefinition class contains the definition for a primary object. A primary object definition describes a top level business object that exists as its own entity, independent of other objects.The following diagram illustrates
how the wcfPrimaryObjectDefinition class relates to other classes
within the Management Center framework:
wcfOrganizationalObjectDefinition class
The wcfOrganizationalObjectDefinition class describes an organizational object definition. Organizational objects are represented in the explorer view and the utilities browse view as high level navigation tree nodes. You can only declare instances of wcfOrganizationalObjectDefinition as children of wcfBusinessObjectEditor.The
following diagram illustrates how the wcfOrganizationalObjectDefinition
class relates to other classes within the Management Center framework:
wcfChildObjectDefinition class
The wcfChildObjectDefinition class defines a child object definition. A child object definition describes a secondary business object that is owned by a primary object or another child object.The following diagram illustrates how
the wcfChildObjectDefinition class relates to other classes within
the Management Center framework:
wcfPropertyDefinition class
The wcfPropertyDefinition class describes a named property of a business object. You can use property definitions to define the information that will automatically be verified by the validators.The following diagram illustrates
how the wcfPropertyDefinition class relates to other classes within
the Management Center framework:
wcfParentReferenceObjectDefinition class
The wcfParentReferenceObjectDefinition class defines a parent-child relationship in which each child can only have one parent. In this relationship, the parent is the owning object and the child is the referenced object. The owning object is the primary object definition that contains the parent reference object definition.The
following diagram illustrates how the wcfParentReferenceObjectDefinition
class relates to other classes within the Management Center framework:
wcfCollectionReferenceObjectDefinition
The wcfCollectionReferenceObjectDefinition class defines a parent-child relationship in which each child can have more than one parent. In this relationship, the parent is the owning object and the child is the referenced object. The owning object is the primary object definition that contains the collection reference object definition.The
following diagram illustrates how the wcfCollectionReferenceObjectDefinition
class relates to other classes within the Management Center framework:
wcfReferenceObjectDefinition class
The wcfReferenceObjectDefinition class describes a relationship between two primary objects. This relationship object must be owned by one of these two primary objects, called the owning object. The other primary object is called the referenced object. The type of the referenced object must be specified as the value of wcfReferenceObjectDefinition.referencedType.The
following diagram illustrates how the wcfReferenceObjectDefinition
class relates to other classes within the Management Center framework: