support loan product validation messages.

This commit is contained in:
Keith Woodlock
2012-05-29 13:31:16 +01:00
parent 53bf93468f
commit 41493b5c49
9 changed files with 41 additions and 25 deletions
@@ -1,28 +0,0 @@
package org.mifosng.data.command;
import java.io.Serializable;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class OrganisationCurrencyCommand implements Serializable {
private String[] currencies;
public OrganisationCurrencyCommand() {
//
}
public OrganisationCurrencyCommand(final List<String> selectedCurrencyCodes) {
this.currencies = selectedCurrencyCodes.toArray(new String[selectedCurrencyCodes.size()]);
}
public String[] getCurrencies() {
return currencies;
}
public void setCurrencies(String... currencies) {
this.currencies = currencies;
}
}