public class PortNode extends AbstractCloneable implements IterationStrategyNode
AbstractCloneable.Cloning, AbstractCloneable.CopyVisitor
Constructor and Description |
---|
PortNode() |
PortNode(IterationStrategyParent parent,
InputProcessorPort inputProcessorPort) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Visitor visitor)
Accepts a
Visitor to this WorkflowBean . |
protected void |
cloneInto(WorkflowBean clone,
AbstractCloneable.Cloning cloning) |
boolean |
equals(Object obj) |
Integer |
getDesiredDepth() |
InputProcessorPort |
getInputProcessorPort() |
IterationStrategyParent |
getParent()
Returns the parent of this workflow bean, or
null if it is orphan. |
int |
hashCode() |
void |
setDesiredDepth(Integer desiredDepth) |
void |
setInputProcessorPort(InputProcessorPort inputProcessorPort) |
void |
setParent(IterationStrategyParent newParent)
Sets the parent of this workflow bean.
|
String |
toString() |
clone, cloneWorkflowBean
finalize, getClass, notify, notifyAll, wait, wait, wait
clone
public PortNode()
public PortNode(IterationStrategyParent parent, InputProcessorPort inputProcessorPort)
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 getDesiredDepth()
public InputProcessorPort getInputProcessorPort()
public IterationStrategyParent getParent()
Child
null
if it is orphan.getParent
in interface Child<IterationStrategyParent>
null
if it is orphanpublic void setDesiredDepth(Integer desiredDepth)
public void setInputProcessorPort(InputProcessorPort inputProcessorPort)
public void setParent(IterationStrategyParent newParent)
Child
Setting the parent would normally also add the object to the relevant collection in the parent if it does not already exist there.
If the child has an existing, object-identity different parent, the child will first be removed from the parent collection if it exists there.
Note:If the child is Named
the parent collection will be a
NamedSet
. This implicit insertion would overwrite any conflicting sibling with the
same Named.getName()
- to avoid this, add the child to the parent collection by using
NamedSet.addWithUniqueName(Named)
before setting the parent.
setParent
in interface Child<IterationStrategyParent>
newParent
- the parent of this workflow beanprotected void cloneInto(WorkflowBean clone, AbstractCloneable.Cloning cloning)
cloneInto
in class AbstractCloneable
Copyright © 2014 myGrid. All rights reserved.