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

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


                    dataObjectType.setType(DataType.valueOf(inputResource.getInputType()));
                }
                dataObjectType.setMetaData(inputResource.getMetadata());
                return dataObjectType;
            }else if (object instanceof ApplicationOutputResource){
                ApplicationOutputResource outputResource = (ApplicationOutputResource)object;
                dataObjectType.setKey(outputResource.getOutputKey());
                dataObjectType.setValue(outputResource.getValue());
                if (outputResource.getOutputType() != null){
                    dataObjectType.setType(DataType.valueOf(outputResource.getOutputType()));
                }
                dataObjectType.setMetaData(outputResource.getMetadata());
                return dataObjectType;
            }else {
                return null;
            }
        }
View Full Code Here

TOP

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

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.