| Developing with the SDK > Using and Writing Data Models |
Using and Writing Data Models |
INDEX
PREVIOUS
NEXT
|
The term data model in ILOG JViews Diagrammer refers to an interface that defines methods to access a hierarchy of objects with properties. This does not necessarily imply that business object types are represented by Java classes. If you have Java classes that represent your business object types, you can implement the data model interface on top of these; if you do not already have such Java classes, you can implement the data model interface without them.
ILOG JViews Diagrammer uses the data model for information about all the business objects and creates graphic objects according to the model object states. Note that one model object is represented by at most one graphic object.
Implementing a data model to interface with existing business objects does not mean that you have to duplicate your data. You can implement an appropriate data model directly on top of your existing data objects. To do this, you must write a class that implements the IlvSDMModel interface. You can use the existing classes in the package ilog.views.sdm.model as base classes.
This section explains how to decide on a strategy for implementing a data model, explains the data model facilities available and how to make use of them, and gives examples of the principal strategies available. The topics covered are:
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |