Java Data Sources > Working with the Server/Java Mapping > Gantt Charts > IlsRpResource
 
IlsRpResource
Description
Instances of the class IlsRpResource are representation objects that represent each server object by a resource in the Gantt model attached to the JavaTM Data Source. No resource representation object can exist without a Gantt model representation object to which this item is directly or indirectly attached. Resources represent server objects that are the target of the relation represented by the associated resources hierarchy.
Resource Representation Attributes
*gantt (ref<IlsRpGanttModel>): references the Gantt model to which the element belongs.
*parent (ref<IlsRpResource>): references the parent resource of this element.
*name (string): the name of the resource.
*quantity (float): the resource quantity.
Resource User-defined Properties
You can add your own resource properties in the dynamic view specification. To handle these specific properties, you must derive the class IlsRpResource or IlsGanttDS2IlvHierarchyChartAdapter, or define a new adapter strategy.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.