public class ProcessorInputPortBinding extends ProcessorPortBinding<InputActivityPort,InputProcessorPort>
AbstractCloneable.Cloning, AbstractCloneable.CopyVisitor
Constructor and Description |
---|
ProcessorInputPortBinding()
Constructs a
ProcessorInputPortBinding with no binding set. |
ProcessorInputPortBinding(ProcessorBinding processorBinding,
InputProcessorPort processorPort,
InputActivityPort activityPort)
Constructs a
ProcessorInputPortBinding for the specified
ProcessorBinding . |
Modifier and Type | Method and Description |
---|---|
InputActivityPort |
getBoundActivityPort()
Returns the
InputActivityPort to which data is actually sent
when passed to the bound InputProcessorPort . |
InputProcessorPort |
getBoundProcessorPort()
Returns the
InputProcessorPort that the binding is for. |
ProcessorBinding |
getParent() |
void |
setBoundActivityPort(InputActivityPort boundActivityPort)
Sets the
InputActivityPort to which data is actually sent
when passed to the bound InputProcessorPort . |
void |
setBoundProcessorPort(InputProcessorPort boundProcessorPort)
Sets the InputProcessorPort that the binding is for.
|
void |
setParent(ProcessorBinding parent)
Sets the parent of this workflow bean.
|
String |
toString() |
accept, cloneInto, getAnnotations, getRelativeURI, getURI
clone, cloneWorkflowBean, getTools, getUriTools
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone
public ProcessorInputPortBinding()
ProcessorInputPortBinding
with no binding set.public ProcessorInputPortBinding(ProcessorBinding processorBinding, InputProcessorPort processorPort, InputActivityPort activityPort)
ProcessorInputPortBinding
for the specified
ProcessorBinding
.processorBinding
- the ProcessorBinding
to add this
ProcessorInputPortBinding
to. Can be
null
processorPort
- the bound InputProcessorPort
. Can be
null
activityPort
- the bound InputActivityPort
. Can be
null
public InputActivityPort getBoundActivityPort()
InputActivityPort
to which data is actually sent
when passed to the bound InputProcessorPort
.getBoundActivityPort
in class ProcessorPortBinding<InputActivityPort,InputProcessorPort>
InputActivityPort
to which data is actually sent
when passed to the bound InputProcessorPort
public InputProcessorPort getBoundProcessorPort()
InputProcessorPort
that the binding is for.getBoundProcessorPort
in class ProcessorPortBinding<InputActivityPort,InputProcessorPort>
InputProcessorPort
that the binding is forpublic ProcessorBinding getParent()
null
if it is
orphanpublic void setBoundActivityPort(InputActivityPort boundActivityPort)
InputActivityPort
to which data is actually sent
when passed to the bound InputProcessorPort
.setBoundActivityPort
in class ProcessorPortBinding<InputActivityPort,InputProcessorPort>
boundActivityPort
- the InputActivityPort
to which data is actually
sent when passed to the bound InputProcessorPort
public void setBoundProcessorPort(InputProcessorPort boundProcessorPort)
setBoundProcessorPort
in class ProcessorPortBinding<InputActivityPort,InputProcessorPort>
boundProcessorPort
- the InputProcessorPort that the binding is forpublic void setParent(ProcessorBinding parent)
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.
parent
- the parent of this workflow beanCopyright © 2015–2016 The Apache Software Foundation. All rights reserved.