@Test public void getUpdateQuery() { final String updateQuery = "UPDATE egasset_assetcategory SET parentid=?,assetcategorytype=?,depreciationmethod=?,depreciationrate=?," + "assetaccount=?,accumulateddepreciationaccount=?,revaluationreserveaccount=?,depreciationexpenseaccount=?," + "unitofmeasurement=?,customfields=?,lastmodifiedby=?,lastmodifieddate=?,isassetallow=?,version=?,usedforlease=?,lifeoftheasset=? WHERE code=? and " + "tenantid=?"; assertEquals(updateQuery, assetCategoryQueryBuilder.getUpdateQuery()); }
public String getUpdateQuery() { return "UPDATE egasset_assetcategory SET " + "parentid=?,assetcategorytype=?,depreciationmethod=?,depreciationrate=?,assetaccount=?,accumulateddepreciationaccount=?," + "revaluationreserveaccount=?,depreciationexpenseaccount=?,unitofmeasurement=?,customfields=?," + "lastmodifiedby=?,lastmodifieddate=?,isassetallow=?,version=?,usedforlease=?,lifeoftheasset=? WHERE code=? and tenantid=?"; }
AssetCategoryQueryBuilder { public String getUpdateQuery() { return "UPDATE egasset_assetcategory SET " + "parentid=?,assetcategorytype=?,depreciationmethod=?,depreciationrate=?,assetaccount=?,accumulateddepreciationaccount=?," + "revaluationreserveaccount=?,depreciationexpenseaccount=?,unitofmeasurement=?,customfields=?," + "lastmodifiedby=?,lastmodifieddate=?,isassetallow=?,version=?,usedforlease=?,lifeoftheasset=? WHERE code=? and tenantid=?"; } }
AssetCategoryQueryBuilder { public String getUpdateQuery() { return "UPDATE egasset_assetcategory SET " + "parentid=?,assetcategorytype=?,depreciationmethod=?,depreciationrate=?,assetaccount=?,accumulateddepreciationaccount=?," + "revaluationreserveaccount=?,depreciationexpenseaccount=?,unitofmeasurement=?,customfields=?," + "lastmodifiedby=?,lastmodifieddate=?,isassetallow=?,version=?,usedforlease=?,lifeoftheasset=? WHERE code=? and tenantid=?"; }  }
AssetCategoryQueryBuilder { public String getUpdateQuery() { return "UPDATE egasset_assetcategory SET " + "parentid=?,assetcategorytype=?,depreciationmethod=?,depreciationrate=?,assetaccount=?,accumulateddepreciationaccount=?," + "revaluationreserveaccount=?,depreciationexpenseaccount=?,unitofmeasurement=?,customfields=?," + "lastmodifiedby=?,lastmodifieddate=?,isassetallow=?,version=?,usedforlease=?,lifeoftheasset=? WHERE code=? and tenantid=?"; }  String getQuery(final AssetCategoryCriteria assetCategoryCriteria,
            final List<Object> preparedStatementValues); String getInsertQuery(); String getUpdateQuery(); }
AssetCategoryQueryBuilder { public String getUpdateQuery() { return "UPDATE egasset_assetcategory SET " + "parentid=?,assetcategorytype=?,depreciationmethod=?,depreciationrate=?,assetaccount=?,accumulateddepreciationaccount=?," + "revaluationreserveaccount=?,depreciationexpenseaccount=?,unitofmeasurement=?,customfields=?," + "lastmodifiedby=?,lastmodifieddate=?,isassetallow=?,version=?,usedforlease=?,lifeoftheasset=? WHERE code=? and tenantid=?"; }  String getQuery(final AssetCategoryCriteria assetCategoryCriteria,
            final List<Object> preparedStatementValues); String getInsertQuery(); String getUpdateQuery();  }