*/
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;
}