Java Data Sources > Working with the Server/Java Mapping > Gantt Charts > IlsRpConstraint
 
IlsRpConstraint
Description
Instances of the class IlsRpConstraint are representation objects that represent each server object by a constraint in the Gantt model attached to the JavaTM Data Source. No constraint representation object can exist without a Gantt model representation object to which this item is attached. Constraints represent server objects that are the target of the relation represented by the associated constraints.
Constraint Representation Attributes
*fromActivity (ref<IlsRpActivity>): references the origin activity of the constraint.
*toActivity (ref<IlsRpActivity>): references the target activity of the constraint.
*fromStart (boolean): defines with toStart attribute, which is the type of the constraint.
*toStart (boolean): defines with fromStart attribute, which is the type of the constraint. For example, an end-to-end constraint type means that the attributes fromStart and toStart set to false.
Constraint User-defined Properties
You can add your own constraint properties in the dynamic view specification. To handle these specific properties, you must derive the class IlsRpConstraint or IlsGanttDS2IlvHierarchyChartAdapter, or define a new adapter strategy.

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