use of org.apache.airavata.workflow.model.component.system.EndifComponent in project airavata by apache.
the class EndifNode method getComponent.
/**
* @see org.apache.airavata.workflow.model.graph.impl.NodeImpl#getComponent()
*/
@Override
public EndifComponent getComponent() {
EndifComponent component = (EndifComponent) super.getComponent();
if (component == null) {
// The component is null when read from the graph XML.
component = new EndifComponent();
setComponent(component);
}
return component;
}
use of org.apache.airavata.workflow.model.component.system.EndifComponent in project airavata by apache.
the class EndifNode method addOutputPort.
/**
* Adds additional output port.
*/
public void addOutputPort() {
EndifComponent component = getComponent();
ComponentDataPort outputPort = component.getOutputPort();
DataPort port = outputPort.createPort();
addOutputPort(port);
}
use of org.apache.airavata.workflow.model.component.system.EndifComponent in project airavata by apache.
the class EndifNode method addInputPort.
/**
* Adds additional input port.
*/
public void addInputPort() {
EndifComponent component = getComponent();
ComponentDataPort input = component.getInputPort();
DataPort port = input.createPort();
addInputPort(port);
}
Aggregations