|
Gantt 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontimize.gantt.relations.RelationBuilderImp
Class that manages the possible relations between Gantt tasks:
-Finish to Start
-Start to Start
-Finish to Finish
-Start to Finish
| Field Summary | |
static java.lang.String |
FF
Finish to finish |
protected java.util.Hashtable |
filter
|
static java.lang.String |
FS
Finish to start |
protected EntityReferenceLocator |
locator
|
static java.lang.String |
NO_RELATION
No relation |
protected java.lang.String |
offset
|
protected Entity |
relationEntity
|
protected java.lang.String |
relationEntityName
|
protected RelationPaintManager |
relationPaintManager
|
static java.lang.String |
SF
Start to Finish |
static java.lang.String |
SS
Start to start |
protected java.lang.String |
type
|
protected java.util.Vector |
vIdWP1
|
protected java.util.Vector |
vIdWP2
|
protected java.util.Vector |
vKeys
|
protected java.util.Vector |
vKeysValues
|
protected java.util.Vector |
vParentKeys
|
protected java.util.Vector |
vParentKeysValues
|
| Fields inherited from interface com.ontimize.gantt.relations.RelationBuilder |
ENTITY, KEYS, KEYSWORKPACKAGE1, KEYSWORKPACKAGE2, OFFSET, PARENTKEYS, TYPE |
| Constructor Summary | |
RelationBuilderImp(java.util.Hashtable params)
|
|
| Method Summary | |
void |
clearFilter()
|
EntityResult |
getData()
|
java.lang.String |
getEntity()
|
java.util.Hashtable |
getFilter()
|
java.util.Vector |
getKeys()
|
java.util.Vector |
getKeysWorkPackage1()
|
java.util.Vector |
getKeysWorkPackage2()
|
java.lang.String |
getOffset()
|
java.util.Vector |
getParentKeys()
|
EntityResult |
getRelationDataForTask(Task task)
|
java.lang.String |
getType()
|
java.util.Vector |
getVKeysValues()
|
java.util.Vector |
getVParentKeysValues()
|
void |
init(java.util.Hashtable hrelations)
|
void |
setData(EntityResult res)
|
void |
setFilter(java.util.Vector vKeysValues,
java.util.Vector vParentKeysValues)
|
void |
setRelation(EntityResult res)
|
void |
setVKeysValues(java.util.Vector keysValues)
|
void |
setVParentKeysValues(java.util.Vector parentKeysValues)
|
java.util.Vector |
translateKeys(Task task)
|
java.util.Vector |
translateParentKeys(Task task)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected EntityReferenceLocator locator
protected RelationPaintManager relationPaintManager
protected java.lang.String relationEntityName
protected Entity relationEntity
protected java.util.Vector vKeys
protected java.util.Vector vParentKeys
protected java.lang.String offset
protected java.util.Vector vIdWP1
protected java.util.Vector vIdWP2
protected java.lang.String type
protected java.util.Hashtable filter
protected java.util.Vector vParentKeysValues
protected java.util.Vector vKeysValues
public static final java.lang.String FS
public static final java.lang.String SS
public static final java.lang.String FF
public static final java.lang.String SF
public static final java.lang.String NO_RELATION
| Constructor Detail |
public RelationBuilderImp(java.util.Hashtable params)
| Method Detail |
public void init(java.util.Hashtable hrelations)
public java.lang.String getEntity()
getEntity in interface RelationBuilderpublic java.util.Vector getKeys()
getKeys in interface RelationBuilderpublic java.util.Vector getKeysWorkPackage1()
getKeysWorkPackage1 in interface RelationBuilderpublic java.util.Vector getKeysWorkPackage2()
getKeysWorkPackage2 in interface RelationBuilderpublic java.lang.String getOffset()
getOffset in interface RelationBuilderpublic java.util.Vector getParentKeys()
getParentKeys in interface RelationBuilderpublic java.util.Vector getVParentKeysValues()
public void setVParentKeysValues(java.util.Vector parentKeysValues)
setVParentKeysValues in interface RelationBuilderpublic java.util.Vector getVKeysValues()
public void setVKeysValues(java.util.Vector keysValues)
public EntityResult getData()
getData in interface RelationBuilderpublic EntityResult getRelationDataForTask(Task task)
getRelationDataForTask in interface RelationBuilderpublic void setData(EntityResult res)
setData in interface RelationBuilderpublic void setRelation(EntityResult res)
setRelation in interface RelationBuilder
public void setFilter(java.util.Vector vKeysValues,
java.util.Vector vParentKeysValues)
setFilter in interface RelationBuilderpublic java.util.Hashtable getFilter()
getFilter in interface RelationBuilderpublic void clearFilter()
public java.lang.String getType()
getType in interface RelationBuilderpublic java.util.Vector translateKeys(Task task)
translateKeys in interface RelationBuilderpublic java.util.Vector translateParentKeys(Task task)
translateParentKeys in interface RelationBuilder
|
Gantt | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||