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

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


                    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());
                if (nodeOutputResource.getOutputType() != null){
                    dataObjectType.setType(DataType.valueOf(nodeOutputResource.getOutputType()));
                }
                dataObjectType.setMetaData(nodeOutputResource.getMetadata());
                return dataObjectType;
            }else if (object instanceof ApplicationInputResource){
                ApplicationInputResource inputResource = (ApplicationInputResource)object;
                dataObjectType.setKey(inputResource.getInputKey());
                dataObjectType.setValue(inputResource.getValue());
View Full Code Here

TOP

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

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.