A
- the ActivityPort
P
- the ProcessorPort
public abstract class ProcessorPortBinding<A extends ActivityPort,P extends ProcessorPort> extends AbstractCloneable implements Child<ProcessorBinding>
ActivityPort
and a
ProcessorPort
.
This abstract class is realized as either an
ProcessorInputPortBinding
or ProcessorOutputPortBinding
. For
an input port binding, the binding goes from an InputProcessorPort
to
an InputActivityPort
, while for an output port binding the binding
goes from an OutputActivityPort
to an OutputProcessorPort
.
AbstractCloneable.Cloning, AbstractCloneable.CopyVisitor
Constructor and Description |
---|
ProcessorPortBinding() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Visitor visitor)
Accepts a
Visitor to this WorkflowBean . |
protected void |
cloneInto(WorkflowBean clone,
AbstractCloneable.Cloning cloning) |
Collection<Annotation> |
getAnnotations()
Get all the annotations that pertain to this port binding.
|
A |
getBoundActivityPort()
Return the
ActivityPort which is passing data from/to the
getBoundProcessorPort() . |
P |
getBoundProcessorPort()
Return the
ProcessorPort which is passing data to/from the
getBoundActivityPort() . |
URI |
getRelativeURI(WorkflowBean relativeTo)
Get the URI of this port binding relative to another workflow element.
|
URI |
getURI()
Get the URI of this port binding.
|
void |
setBoundActivityPort(A boundActivityPort)
Sets the
ActivityPort which is passing data from/to the
getBoundProcessorPort() . |
void |
setBoundProcessorPort(P boundProcessorPort)
Sets the
ProcessorPort which is passing data to/from the
getBoundActivityPort() . |
clone, cloneWorkflowBean, getTools, getUriTools
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone
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 A getBoundActivityPort()
ActivityPort
which is passing data from/to the
getBoundProcessorPort()
.ActivityPort
to which data is passing from/to
the bound ProcessorPort
public P getBoundProcessorPort()
ProcessorPort
which is passing data to/from the
getBoundActivityPort()
.ProcessorPort
to which data is passing to/from
the bound ActivityPort
public void setBoundActivityPort(A boundActivityPort)
ActivityPort
which is passing data from/to the
getBoundProcessorPort()
.boundActivityPort
- the ActivityPort
to which data is passing from/to
the bound ProcessorPort
public void setBoundProcessorPort(P boundProcessorPort)
ProcessorPort
which is passing data to/from the
getBoundActivityPort()
.boundProcessorPort
- the ProcessorPort
to which data is passing
to/from the bound ActivityPort
protected void cloneInto(WorkflowBean clone, AbstractCloneable.Cloning cloning)
cloneInto
in class AbstractCloneable
public Collection<Annotation> getAnnotations()
Scufl2Tools.annotationsFor(Child)
public URI getURI()
URITools.uriForBean(WorkflowBean)
public URI getRelativeURI(WorkflowBean relativeTo)
URITools#relativeUriForBean(WorkflowBean,WorflowBean)
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.