public static ExpandoValueSoap toSoapModel(ExpandoValue model) { ExpandoValueSoap soapModel = new ExpandoValueSoap(); soapModel.setValueId(model.getValueId()); soapModel.setCompanyId(model.getCompanyId()); soapModel.setTableId(model.getTableId()); soapModel.setColumnId(model.getColumnId()); soapModel.setRowId(model.getRowId()); soapModel.setClassNameId(model.getClassNameId()); soapModel.setClassPK(model.getClassPK()); soapModel.setData(model.getData()); return soapModel; }
/** * Converts the soap model instance into a normal model instance. * * @param soapModel the soap model instance to convert * @return the normal model instance */ public static ExpandoValue toModel(ExpandoValueSoap soapModel) { ExpandoValue model = new ExpandoValueImpl(); model.setValueId(soapModel.getValueId()); model.setCompanyId(soapModel.getCompanyId()); model.setTableId(soapModel.getTableId()); model.setColumnId(soapModel.getColumnId()); model.setRowId(soapModel.getRowId()); model.setClassNameId(soapModel.getClassNameId()); model.setClassPK(soapModel.getClassPK()); model.setData(soapModel.getData()); return model; }