public Object createWrapperObject(List<?> lst) throws Fault { try { Object wrapperObject = createWrapperObject(wrapperType); o = getPartObject(x, o); if (o instanceof List && getMethods[x] != null) { List<Object> col = CastUtils.cast((List<?>)getMethods[x].invoke(wrapperObject));
public List<Object> getWrapperParts(Object o) throws Fault { try { Object wrapperObject = getWrapperObject(o); List<Object> ret = new ArrayList<>(getMethods.length); for (int x = 0; x < getMethods.length; x++) { if (getMethods[x] != null) { ret.add(getValue(getMethods[x], wrapperObject)); } else if (fields[x] != null) { ret.add(fields[x].get(wrapperObject)); } else { //placeholder ret.add(null); } } return ret; } catch (Exception ex) { if (ex.getCause() == null) { throw new Fault(ex); } throw new Fault(ex.getCause()); } }
if (ServiceUtils.isSchemaValidationEnabled(SchemaValidationType.OUT, message) && helper instanceof AbstractWrapperHelper) { ((AbstractWrapperHelper)helper).setValidate(true);
if (ServiceUtils.isSchemaValidationEnabled(SchemaValidationType.OUT, message) && helper instanceof AbstractWrapperHelper) { ((AbstractWrapperHelper)helper).setValidate(true);
public List<Object> getWrapperParts(Object o) throws Fault { try { Object wrapperObject = getWrapperObject(o); List<Object> ret = new ArrayList<>(getMethods.length); for (int x = 0; x < getMethods.length; x++) { if (getMethods[x] != null) { ret.add(getValue(getMethods[x], wrapperObject)); } else if (fields[x] != null) { ret.add(fields[x].get(wrapperObject)); } else { //placeholder ret.add(null); } } return ret; } catch (Exception ex) { if (ex.getCause() == null) { throw new Fault(ex); } throw new Fault(ex.getCause()); } }
public Object createWrapperObject(List<?> lst) throws Fault { try { Object wrapperObject = createWrapperObject(wrapperType); o = getPartObject(x, o); if (o instanceof List && getMethods[x] != null) { List<Object> col = CastUtils.cast((List<?>)getMethods[x].invoke(wrapperObject));
public List<Object> getWrapperParts(Object o) throws Fault { try { Object wrapperObject = getWrapperObject(o); List<Object> ret = new ArrayList<Object>(getMethods.length); for (int x = 0; x < getMethods.length; x++) { if (getMethods[x] != null) { ret.add(getValue(getMethods[x], wrapperObject)); } else if (fields[x] != null) { ret.add(fields[x].get(wrapperObject)); } else { //placeholder ret.add(null); } } return ret; } catch (Exception ex) { if (ex.getCause() == null) { throw new Fault(ex); } throw new Fault(ex.getCause()); } }
public Object createWrapperObject(List<?> lst) throws Fault { try { Object wrapperObject = createWrapperObject(wrapperType); o = getPartObject(x, o); if (o instanceof List && getMethods[x] != null) { List<Object> col = CastUtils.cast((List<?>)getMethods[x].invoke(wrapperObject));
public List<Object> getWrapperParts(Object o) throws Fault { try { Object wrapperObject = getWrapperObject(o); List<Object> ret = new ArrayList<Object>(getMethods.length); for (int x = 0; x < getMethods.length; x++) { if (getMethods[x] != null) { ret.add(getValue(getMethods[x], wrapperObject)); } else if (fields[x] != null) { ret.add(fields[x].get(wrapperObject)); } else { //placeholder ret.add(null); } } return ret; } catch (Exception ex) { if (ex.getCause() == null) { throw new Fault(ex); } throw new Fault(ex.getCause()); } }
public Object createWrapperObject(List<?> lst) throws Fault { try { Object wrapperObject = createWrapperObject(wrapperType); o = getPartObject(x, o); if (o instanceof List && getMethods[x] != null) { List<Object> col = CastUtils.cast((List<?>)getMethods[x].invoke(wrapperObject));