skip to main content
Defense > Programmer's documentation > Developing with the JViews Diagrammer SDK > Using and writing data models
 
Using and writing data models
Explains the data model classes available and how to write your own data model depending on whether you want to load existing data or not and, if so, from which kind of data source.
*Overview
*Provides an overview of the concept of data model.
*Deciding your data model strategy
*Describes how to decide what your data model strategy should be, depending on the characteristics of your existing business data and your requirements.
*Implementing the behavior of data model objects
*Presents the methods used to implement the behavior of data model objects.
*Connecting data sources to the diagram component
*Lists the ways to connect data sources to the diagram component.
*JavaBeans example
*Shows how to display a set of JavaBeans™ using Rogue Wave® JViews Diagrammer.
*NonJavaBeans example: abstract model variant
*Describes how to display a set of Java™ objects that are not JavaBeans™ by subclassing the abstract class IlvAbstractSDMModel.
*NonJavaBeans example: basic model variant
*Describes how to display a set of Java™ objects that are not JavaBeans™ by subclassing the basic class IlvBasicSDMModel.
*Using a custom data model in the Designer
*Describes how to use a custom data model in the Designer, and what limitations apply if you do.
*Handling XML data files in Java
*Explains how the class IlvSDMEngine allows you to read, write, and transform XML data.
*Content on demand
*Describes the content on demand feature.

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.