Package org.jitterbit.integration.server.implementation.webservice.interchange.treemapper.client

Examples of org.jitterbit.integration.server.implementation.webservice.interchange.treemapper.client.WsDataElement


            if (wsTestResult.getDataElements() != null) {
                size = wsTestResult.getDataElements().length;
            }
            List<DataElement> des = Lists.newArrayList();
            for (int i = 0; i < size; ++i) {
                WsDataElement wsDe = wsTestResult.getDataElements()[i];
                des.add(DataElementBuilder.build(wsDe));
            }
            return Collections.unmodifiableCollection(des);
        }
View Full Code Here


*/
final class WsDataElementBuilder {

    public static WsDataElement build(org.jitterbit.integration.debug.client.de.DataElement de) {
      if (de == null) return null;
        WsDataElement wsDe = new WsDataElement();
        wsDe.setIsArray(de.isArray());
        String name = ClientServerCommunicationUtils.encodeString(de.getName());
        wsDe.setName(name);
        String value = ClientServerCommunicationUtils.encodeString(de.getValue());
        wsDe.setValue(value);
        wsDe.setScope(de.getScope().name());
        wsDe.setType(de.getTypeName());
        return wsDe;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.server.implementation.webservice.interchange.treemapper.client.WsDataElement

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.