com.starteam
Class TaskDependency.WebCacheTaskDependency

java.lang.Object
  extended by com.starteam.LiveObject.WebCacheLiveObject
      extended by com.starteam.TrackedObject.WebCacheTrackedObject
          extended by com.starteam.TaskDependency.WebCacheTaskDependency
Enclosing class:
TaskDependency

public static final class TaskDependency.WebCacheTaskDependency
extends TrackedObject.WebCacheTrackedObject

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


Method Summary
 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.
 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 com.starteam.TrackedObject.WebCacheTrackedObject
getModifiedBy, getModifiedTime
 
Methods inherited from class com.starteam.LiveObject.WebCacheLiveObject
addTo, equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getID, getObjectID, getServer, getType, getValue, getValue, hashCode, hasValue, isNew, refresh, remove, removeFrom, setValue, setValue, toStarTeamURL, update
 
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.

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.

Overrides:
isDirty in class LiveObject.WebCacheLiveObject
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.


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