org.shiwa.fgi.iwir
Class AbstractDataPort

java.lang.Object
  extended by org.shiwa.fgi.iwir.AbstractPort
      extended by org.shiwa.fgi.iwir.AbstractDataPort
Direct Known Subclasses:
InputPort, LoopElement, LoopPort, OutputPort, UnionPort

public abstract class AbstractDataPort
extends AbstractPort

The Class AbstractDataPort represents a port and is the super class for all data ports. A data port has a name and a typeData ports are used to define the control flow of the IWIR object. All input ports and output ports except the loop counter are data ports. However, a loop counter can define up to three data ports.


Constructor Summary
AbstractDataPort(java.lang.String name, DataType type)
          Instantiates a new port.
AbstractDataPort(java.lang.String name, java.lang.String type)
          Instantiates a new port.
 
Method Summary
 
Methods inherited from class org.shiwa.fgi.iwir.AbstractPort
addConstraint, addProperty, equals, getAllSuccessors, getConstraints, getMyTask, getName, getPredecessors, getProperties, getSuccessors, getType, getUniqueId, hashCode, isInputPort, isOutputPort, removeProperty, setType, setType, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractDataPort

public AbstractDataPort(java.lang.String name,
                        DataType type)
Instantiates a new port.

Parameters:
name - the port name
type - the port type

AbstractDataPort

public AbstractDataPort(java.lang.String name,
                        java.lang.String type)
                 throws java.lang.IllegalArgumentException
Instantiates a new port.

Parameters:
name - the name
type - the type
Throws:
java.lang.IllegalArgumentException - if the type is not valid