org.globus.cog.abstraction.impl.common.set
Class SetImpl

java.lang.Object
  extended byorg.globus.cog.abstraction.impl.common.taskgraph.TaskGraphImpl
      extended byorg.globus.cog.abstraction.impl.common.set.SetImpl
All Implemented Interfaces:
ExecutableObject, Set, TaskGraph

public class SetImpl
extends TaskGraphImpl
implements Set


Field Summary
 
Fields inherited from interface org.globus.cog.abstraction.interfaces.TaskGraph
AbortOnFailure, ContinueOnFailure
 
Fields inherited from interface org.globus.cog.abstraction.interfaces.ExecutableObject
TASK, TASKGRAPH
 
Constructor Summary
SetImpl()
           
SetImpl(Identity id)
           
 
Method Summary
 void addDependency(Identity from, Identity to)
           
 Dependency getDependency()
          Returns the dependency object associated with this TaskGraph.
 boolean removeDependency(Identity from, Identity to)
           
 void setDependency(Dependency dependency)
          Sets all the dependencies associated with this TaskGraph.
 
Methods inherited from class org.globus.cog.abstraction.impl.common.taskgraph.TaskGraphImpl
add, addChangeListener, addDependency, addStatusListener, contains, elements, equals, get, getActiveCount, getAllAttributes, getAttribute, getCanceledCount, getCompletedCount, getCompletedTime, getFailedCount, getFailureHandlingPolicy, getIdentity, getName, getObjectType, getResumedCount, getSize, getStatus, getSubmittedCount, getSubmittedTime, getSuspendedCount, getUnsubmittedCount, hashCode, isEmpty, remove, removeChangeListener, removeDependency, removeStatusListener, setAttribute, setFailureHandlingPolicy, setIdentity, setName, setStatus, setStatus, toArray, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.globus.cog.abstraction.interfaces.TaskGraph
add, addChangeListener, addDependency, contains, elements, get, getActiveCount, getAllAttributes, getAttribute, getCanceledCount, getCompletedCount, getCompletedTime, getFailedCount, getFailureHandlingPolicy, getResumedCount, getSize, getSubmittedCount, getSubmittedTime, getSuspendedCount, getUnsubmittedCount, isEmpty, remove, removeChangeListener, removeDependency, setAttribute, setFailureHandlingPolicy, toArray, toXML
 
Methods inherited from interface org.globus.cog.abstraction.interfaces.ExecutableObject
addStatusListener, getIdentity, getName, getObjectType, getStatus, removeStatusListener, setIdentity, setName, setStatus, setStatus
 

Constructor Detail

SetImpl

public SetImpl()

SetImpl

public SetImpl(Identity id)
Method Detail

setDependency

public void setDependency(Dependency dependency)
Description copied from interface: TaskGraph
Sets all the dependencies associated with this TaskGraph.

Specified by:
setDependency in interface TaskGraph
Overrides:
setDependency in class TaskGraphImpl

getDependency

public Dependency getDependency()
Description copied from interface: TaskGraph
Returns the dependency object associated with this TaskGraph.

Specified by:
getDependency in interface TaskGraph
Overrides:
getDependency in class TaskGraphImpl

addDependency

public void addDependency(Identity from,
                          Identity to)

removeDependency

public boolean removeDependency(Identity from,
                                Identity to)