com.starteam
Class TaskDependency.WebCacheTaskDependency

java.lang.Object
  extended by com.starteam.TaskDependency.WebCacheTaskDependency
Enclosing class:
TaskDependency

public static final class TaskDependency.WebCacheTaskDependency
extends java.lang.Object

Item accessor for cached SDK Task Dependencies contained objects are obtained from the artifact cache


Method Summary
 boolean equals(java.lang.Object o)
          Test this object for equality with another
 int getID()
          Returns the integer identifier for this task dependency.
 int getLagTime()
          Returns the lag time for this task dependency.
 int getPredecessorID()
          Returns the ObjectID of the predecessor Task.
 TaskDependency.PredecessorType getPredecessorType()
          Returns the PredecessorType of this task dependency.
 int getTaskID()
          Returns the ObjectID of the successor Task.
 int hashCode()
          Return a hash code for this object
 boolean isDirty()
          Returns true if this task dependency has been modified but not yet saved.
 void setLagTime(int lagTime)
          Sets the lag time for this task dependency.
 void setPredecessorType(TaskDependency.PredecessorType type)
          Sets the PredecessorType of this task dependency.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTaskID

public int getTaskID()
Returns the ObjectID of the successor Task.

Returns:
The ObjectID of the successor Task.

getID

public int getID()
Returns the integer identifier for this task dependency.

Returns:
The integer identifier for this task dependency.

isDirty

public boolean isDirty()
Returns true if this task dependency has been modified but not yet saved. Task dependencies are saved but updating the to corresponding Task object.

Returns:
true if this task dependency has been modified but not yet saved.
See Also:
Task.update()

getPredecessorID

public int getPredecessorID()
Returns the ObjectID of the predecessor Task.

Returns:
The ObjectID of the predecessor Task.
See Also:
TaskDependency.Type.PredecessorProperty.NAME

getLagTime

public int getLagTime()
Returns the lag time for this task dependency.

Returns:
the lag time for this task dependency.
See Also:
TaskDependency.Type.LagTimeProperty.NAME

setLagTime

public void setLagTime(int lagTime)
Sets the lag time for this task dependency.

Parameters:
lagTime - the lag time for this dependency.
See Also:
TaskDependency.Type.LagTimeProperty.NAME

getPredecessorType

public TaskDependency.PredecessorType getPredecessorType()
Returns the PredecessorType of this task dependency.

Returns:
the PredecessorType of this task dependency.
See Also:
TaskDependency.Type.PredecessorProperty.NAME

setPredecessorType

public void setPredecessorType(TaskDependency.PredecessorType type)
Sets the PredecessorType of this task dependency.

Parameters:
type - the new PredecessorType for this task dependency.

equals

public boolean equals(java.lang.Object o)
Test this object for equality with another

Overrides:
equals in class java.lang.Object
Parameters:
o - the object to test against

hashCode

public int hashCode()
Return a hash code for this object

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code for this object


StarTeam SDK 13.0, Build 31
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.