Package org.apache.airavata.client.tools

Examples of org.apache.airavata.client.tools.NameValuePairType


        NodeSettings n = new NodeSettingsImpl(nodeSettings.getNodeId());
        n.setServiceId(nodeSettings.getServiceId());
        List<NameValuePairType> nameValuePairTypes = new ArrayList<NameValuePairType>();
        List<org.apache.airavata.experiment.execution.NameValuePairType> nameValuePairList = nodeSettings.getNameValuePairList();
        for (org.apache.airavata.experiment.execution.NameValuePairType np : nameValuePairList) {
            NameValuePairType nameValuePairObject = getNameValuePairObject(np);
            nameValuePairTypes.add(nameValuePairObject);
        }
        n.setNameValuePair(nameValuePairTypes);
        return (NodeSettingsImpl)n;
View Full Code Here


        return (NodeSettingsImpl)n;

    }

    public static NameValuePairType getNameValuePairObject(org.apache.airavata.experiment.execution.NameValuePairType nameValuePairType){
        NameValuePairType nameValuePair = new NameValuePairType();
        nameValuePair.setName(nameValuePairType.getName());
        nameValuePair.setValue(nameValuePairType.getValue());
        nameValuePair.setDescription(nameValuePairType.getDescription());
        return nameValuePair;
    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.client.tools.NameValuePairType

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.