We have a class in BOM with java.util.Map type member. When we "Check Project" using DVS, it is giving an error
"class java.util.Map: cannot find a Decision Validation Services constructor for the business object model class. If there are no constructors, create one. If there are several constructors in the business object model class, you must specify a constructor by selecting the "DVS constructor" option in the business object model editor."
Here is the class -
public Country(Map countries) { super(); this.countries = countries; }
private Map countries; public Map getCountries() { return countries; } public void setCountries(Map countries) { this.countries = countries; }
public void addValuesToCountries(String countryCode, String countryName){
this.countries.put(countryCode, countryName);
}
public void getCountryValues(String countryCode){
this.countries.get(countryCode);
}
Date time support in IBM ODM 2 Answers
How to set DecisionID from within a Rule or through BOM to XOM mapping? 0 Answers
GBRTV0022W Attribute is not ignored because it is not optional. 1 Answer
BOM reuse between Event project and Rule project 1 Answer
DataPower request/response rule returns expected content concatenated to original Input 1 Answer