public abstract class AbstractDepthPort extends AbstractNamedChild implements DepthPort
Port
that has a depth property.
The depth of a Port
specifies whether the data is a list and how deep lists are
nested. A depth of 0 is a single element, depth 1 is a list, depth 2 is a list of lists and so
on.
Constructor and Description |
---|
AbstractDepthPort()
Constructs an
AbstractDepthPort with a random UUID as the name. |
AbstractDepthPort(String name)
Constructs an
AbstractDepthPort with the specified name. |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Visitor visitor)
Accepts a
Visitor to this WorkflowBean . |
Integer |
getDepth()
Returns the depth of the
Port . |
void |
setDepth(Integer depth)
Sets the depth of the
Port . |
compareTo, equals, getName, hashCode, setName, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo
public AbstractDepthPort()
AbstractDepthPort
with a random UUID as the name.public AbstractDepthPort(String name)
AbstractDepthPort
with the specified name.name
- the name of the Port
. Must not be
null
or an empty String.public boolean accept(Visitor visitor)
WorkflowBean
Visitor
to this WorkflowBean
.accept
in interface WorkflowBean
visitor
- the Visitor
to accepttrue
if this WorkflowBeans
children should be visited.public Integer getDepth()
Port
.Copyright © 2013 myGrid. All rights reserved.