skip to main content
Getting started > Introducing JViews Gantt > Architecture of JViews Gantt > The data model
 
The data model
JViews Gantt provides a library of classes for displaying an abstract data model of scheduling information as a Gantt chart, a Schedule chart, or a Resource Data chart.
The scheduling data displayed by the Gantt chart, Schedule chart, and Resource Data chart is defined by the abstract IlvGanttModel interface. This interface defines the overall data model, which is completely abstract. This interface acts as an intelligent container for four other abstract interfaces that represent the scheduling data itself: IlvActivity, IlvConstraint, IlvResource, and IlvReservation.
The following table gives a brief description of each of the JViews Gantt data model interfaces.
Data Model Interface
Description
Defines the overall JViews Gantt data model and is a container for the other four entities. See Data for the concept of the Gantt data model.
Represents an activity or task that must be completed in the schedule. See Activities.
Represents a resource that can be allocated to an activity to enable its completion. See Resources.
Represents an activity-to-activity scheduling constraint. See Constraints.
Represents the allocation of a resource to an activity. See Reservations.
The following figure shows the relationships between the interfaces that compose the JViews Gantt data model.
All the data model interfaces and supplied implementations are independent of the exact implementation of the other parts of the data model. For example, a default Gantt data model object can store your own custom activity implementation as easily as it would an instance of one of the supplied activity implementations. This allows you to customize only those parts of the data model that are necessary for your particular application.

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