org.shiwa.fgi.iwir
Class AbstractDataPort
java.lang.Object
org.shiwa.fgi.iwir.AbstractPort
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.
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 |
AbstractDataPort
public AbstractDataPort(java.lang.String name,
DataType type)
- Instantiates a new port.
- Parameters:
name
- the port nametype
- 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 nametype
- the type
- Throws:
java.lang.IllegalArgumentException
- if the type is not valid