public abstract class AbstractDepthPort extends AbstractNamed 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.
AbstractCloneable.Cloning, AbstractCloneable.CopyVisitor
INVALID_NAME
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 . |
protected void |
cloneInto(WorkflowBean clone,
AbstractCloneable.Cloning cloning) |
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, cloneWorkflowBean
finalize, getClass, notify, notifyAll, wait, wait, wait
clone
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
.public void setDepth(Integer depth)
Port
.protected void cloneInto(WorkflowBean clone, AbstractCloneable.Cloning cloning)
cloneInto
in class AbstractNamed
Copyright © 2014 myGrid. All rights reserved.