|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.starbase.starteam.CacheRef
|
+--com.starbase.starteam.NamedCacheRef
|
+--com.starbase.starteam.TypedResource
|
+--com.starbase.starteam.SimpleTypedResource
|
+--com.starbase.starteam.TaskDependency
This is a class reprensenting a dependency between two tasks.
| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
int |
getID()
Returns the integer identifier for this task dependency. |
int |
getLagTime()
Returns the lag time for this task dependency. |
int[] |
getPossiblePredecessorType()
Returns the possible enum codes that are valid values for the PredecessorType property. |
int |
getPredecessorID()
Returns the ObjectID of the predecessor Task. |
int |
getPredecessorType()
Returns the PredecessorType of this task dependency. |
java.lang.String |
getPredecessorTypeDisplayName(int value)
Returns a user-friendly display name for the given PredecessorType value. |
int |
getTaskID()
Returns the ObjectID of the successor Task. |
int |
hashCode()
returns a unique hash for all instances of this type |
boolean |
isDirty()
Returns true if this task dependency has been modified but not yet saved. |
java.lang.Object |
put(java.lang.String propertyName,
java.lang.Object value)
Sets the value of the specified property and return the old value. |
void |
setLagTime(int lagTime)
Sets the lag time for this task dependency. |
void |
setPredecessorType(int Type)
Sets the PredecessorType of this task dependency. |
| Methods inherited from class com.starbase.starteam.SimpleTypedResource |
get, getByteArray, getDouble, getEnumDisplayName, getInt, getIntArray, getOLEDate, getPossibleValues, getPropertyNames, getString, getType, getTypeNames, putByPropertyID |
| Methods inherited from class com.starbase.starteam.TypedResource |
addToIntArray, removeFromIntArray, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public int getTaskID()
PropertyNames.TASKDEPENDENCY_TASK_ID,
PropertyNames.OBJECT_IDpublic int getID()
getID in class SimpleTypedResourcegetTaskID.TaskDependency.getTaskID()public int getPredecessorID()
PropertyNames.TASKDEPENDENCY_PREDECESSOR_ID,
PropertyNames.OBJECT_IDpublic int getLagTime()
PropertyNames.TASKDEPENDENCY_LAG_TIMEpublic void setLagTime(int lagTime)
lagTime - the lag time for this dependency.PropertyNames.TASKDEPENDENCY_LAG_TIMEpublic int getPredecessorType()
TaskDependency.getPossiblePredecessorType(),
TaskDependency.getPredecessorTypeDisplayName(int),
PropertyNames.TASKDEPENDENCY_TYPEpublic void setPredecessorType(int Type)
Type - the new PredecessorType for this task dependency.public int[] getPossiblePredecessorType()
TaskDependency.getPredecessorType(),
TaskDependency.getPredecessorTypeDisplayName(int),
TypedResource.getPossibleValues(java.lang.String),
PropertyNames.TASKDEPENDENCY_TYPEpublic java.lang.String getPredecessorTypeDisplayName(int value)
TaskDependency.getPredecessorType(),
TaskDependency.getPossiblePredecessorType(),
TypedResource.getEnumDisplayName(java.lang.String, int),
PropertyNames.TASKDEPENDENCY_TYPE
public java.lang.Object put(java.lang.String propertyName,
java.lang.Object value)
throws NoSuchPropertyException,
java.lang.ClassCastException
put in class SimpleTypedResourcepropertyName - the name of the property to setvalue - the new value to set for the specified property
NoSuchPropertyException - if the named property does not exist
java.lang.ClassCastException - if the value is of the wrong type for the specified propertypublic boolean isDirty()
Task object.
Task.update()public boolean equals(java.lang.Object source)
equals in class SimpleTypedResourcesource - Object the source to comapre with
public int hashCode()
hashCode in class SimpleTypedResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||