Package org.apache.airavata.persistance.registry.jpa.resources

Examples of org.apache.airavata.persistance.registry.jpa.resources.NodeInputResource


                    dataObjectType.setType(DataType.valueOf(expOutput.getOutputType()));
                }
                dataObjectType.setMetaData(expOutput.getMetadata());
                return dataObjectType;
            }else if (object instanceof NodeInputResource){
                NodeInputResource nodeInputResource = (NodeInputResource)object;
                dataObjectType.setKey(nodeInputResource.getInputKey());
                dataObjectType.setValue(nodeInputResource.getValue());
                if (nodeInputResource.getInputType() != null){
                    dataObjectType.setType(DataType.valueOf(nodeInputResource.getInputType()));
                }
                dataObjectType.setMetaData(nodeInputResource.getMetadata());
                return dataObjectType;
            }else if (object instanceof NodeOutputResource){
                NodeOutputResource nodeOutputResource = (NodeOutputResource)object;
                dataObjectType.setKey(nodeOutputResource.getOutputKey());
                dataObjectType.setValue(nodeOutputResource.getValue());
View Full Code Here

TOP

Related Classes of org.apache.airavata.persistance.registry.jpa.resources.NodeInputResource

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.