net.sf.opendse.model
Class Task

java.lang.Object
  extended by net.sf.opendse.model.Element
      extended by net.sf.opendse.model.Node
          extended by net.sf.opendse.model.Task
All Implemented Interfaces:
IAttributes
Direct Known Subclasses:
Communication

public class Task
extends Node

The Task is the basic vertex element for Application graphs.


Nested Class Summary
static class Task.Type
          Type of a Task.
 
Field Summary
 
Fields inherited from class net.sf.opendse.model.Element
attributes, id, parent, TYPE
 
Constructor Summary
Task(Element parent)
          Constructs a new parent.
Task(java.lang.String id)
          Constructs a new task.
 
Method Summary
 
Methods inherited from class net.sf.opendse.model.Element
equals, getAttribute, getAttributeNames, getAttributeParameter, getAttributes, getId, getLocalAttributeNames, getLocalAttributes, getParent, getType, hashCode, isDefined, setAttribute, setParent, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Task

public Task(java.lang.String id)
Constructs a new task.

Parameters:
id - the id

Task

public Task(Element parent)
Constructs a new parent.

Parameters:
parent - the parent