* @see org.apache.airavata.workflow.model.graph.impl.PortImpl#getComponentPort()
*/
@Override
public WSComponentPort getComponentPort() {
if (this.componentPort == null) {
ComponentPort port = super.getComponentPort();
if (port instanceof WSComponentPort) {
this.componentPort = (WSComponentPort) port;
}
if (port instanceof SystemComponentDataPort) {
// XXX to handle the xwf created by version 2.6.2_XX or earlier.