Java Data Sources > Working with the Server/Java Mapping > Gantt Charts > IlsRpActivity
 
IlsRpActivity
Description
Instances of the class IlsRpActivity are representation objects that represent each server object as an activity in the Gantt model attached to the JavaTM data source. No activity representation object can exist without a Gantt model representation object to which this item is directly or indirectly attached. Activities represent server objects that are the target of the relation represented by the associated activities hierarchy.
Activity Representation Attributes
*gantt (ref<IlsRpGanttModel>): references the Gantt model to which the element belongs.
*parent (ref<IlsRpActivity>): references the parent activity of this element.
*id (string): the identifier string of the activity.
*name (string): the name of the activity.
*startTime (int): the start time of the activity.
*endTime (int): the end time of the activity.
Note: The adapter IlsGanttDS2IlvHierarchyChartAdapter allows the conversion of business time and Gantt model time with a factor and a constant.
Activity User-defined Properties
You can add your own activity properties in the dynamic view specification. To handle these specific properties, you must derive the class IlsRpActivity or IlsGanttDS2IlvHierarchyChartAdapter, or define a new adapter strategy.

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