Package edu.indiana.extreme.xbaya.graph.dynamic

Examples of edu.indiana.extreme.xbaya.graph.dynamic.CepPort


        }
        PortImpl port;
        if (GraphSchema.PORT_TYPE_WS_DATA.equals(type)) {
            port = new WSPort(portElement);
        } else if(GraphSchema.PORT_TYPE_CEP.equals(type)){
          port = new CepPort(portElement);
        }else if (GraphSchema.PORT_TYPE_SYSTEM_DATA.equals(type)) {
            port = new SystemDataPort(portElement);
        } else if (GraphSchema.PORT_TYPE_CONTROL.equals(type)) {
            port = new ControlPort(portElement);
        } else if (GraphSchema.PORT_TYPE_EPR.equals(type)) {
View Full Code Here


  /**
   * @see edu.indiana.extreme.xbaya.component.ComponentDataPort#createPort()
   */
  @Override
  public DataPort createPort() {
    CepPort port = new CepPort();
    port.setComponentPort(this);
   
    return port;
  }
View Full Code Here

    if(node instanceof WSNode){
      WSNode wsNode = new WSNode(((WSNode) node).toXML());
      ((NodeImpl)wsNode).setGraph(wsGraph);
      List<DataPort> inputPorts = node.getInputPorts();
      for (DataPort dataPort : inputPorts) {
        wsNode.addInputPort(new CepPort(dataPort.toXML()));
      }
     
      List<DataPort> outputPorts = node.getOutputPorts();
      for (DataPort dataPort : outputPorts) {
        wsNode.addOutputPort(new CepPort(dataPort.toXML()));
      }
      return wsNode;
    }else if(node instanceof CepNode){
      CepNode cepNode = new CepNode(((CepNode) node).toXML());
     
      List<DataPort> inputPorts = node.getInputPorts();
      for (DataPort dataPort : inputPorts) {
        CepPort cepPort = new CepPort(dataPort.toXML());
        cepNode.addInputPort(cepPort);
      }
     
      List<DataPort> outputPorts = node.getOutputPorts();
      for (DataPort dataPort : outputPorts) {
        cepNode.addOutputPort(new CepPort(dataPort.toXML()));
      }
      ((NodeImpl)cepNode).setGraph(wsGraph);
      return cepNode;
    }else if(node instanceof InputNode){
      InputNode inputNode = new InputNode(((InputNode) node).toXML());
     
     
      List<DataPort> outputPorts = node.getOutputPorts();
      for (DataPort dataPort : outputPorts) {
        inputNode.addOutputPort(new CepPort(dataPort.toXML()));
      }
      ((NodeImpl)inputNode).setGraph(wsGraph);
      return inputNode;
    }else if(node instanceof OutputNode){
      OutputNode outputNode = new OutputNode(((OutputNode) node).toXML());
     
     
      List<DataPort> inputPorts = node.getInputPorts();
      for (DataPort dataPort : inputPorts) {
        outputNode.addInputPort(new CepPort(dataPort.toXML()));
      }
     
      ((NodeImpl)outputNode).setGraph(wsGraph);
      return outputNode;
    }
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.graph.dynamic.CepPort

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.