tidy up ui for loanproducts and offices after json changes.
This commit is contained in:
+11
-13
@@ -1,8 +1,6 @@
|
||||
package org.mifosng.data.command;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
@@ -10,30 +8,30 @@ import javax.xml.bind.annotation.XmlRootElement;
|
||||
@XmlRootElement
|
||||
public class OrganisationCurrencyCommand implements Serializable {
|
||||
|
||||
private Collection<String> notSelectedItems = new ArrayList<String>();
|
||||
private Collection<String> selectedItems = new ArrayList<String>();
|
||||
private String[] notSelectedCurrencies;
|
||||
private String[] currencies;
|
||||
|
||||
public OrganisationCurrencyCommand() {
|
||||
//
|
||||
}
|
||||
|
||||
public OrganisationCurrencyCommand(final List<String> selectedCurrencyCodes) {
|
||||
this.selectedItems = selectedCurrencyCodes;
|
||||
this.currencies = selectedCurrencyCodes.toArray(new String[selectedCurrencyCodes.size()]);
|
||||
}
|
||||
|
||||
public Collection<String> getSelectedItems() {
|
||||
return selectedItems;
|
||||
public String[] getNotSelectedCurrencies() {
|
||||
return notSelectedCurrencies;
|
||||
}
|
||||
|
||||
public void setSelectedItems(Collection<String> selectedItems) {
|
||||
this.selectedItems = selectedItems;
|
||||
public void setNotSelectedCurrencies(String... notSelectedCurrencies) {
|
||||
this.notSelectedCurrencies = notSelectedCurrencies;
|
||||
}
|
||||
|
||||
public Collection<String> getNotSelectedItems() {
|
||||
return notSelectedItems;
|
||||
public String[] getCurrencies() {
|
||||
return currencies;
|
||||
}
|
||||
|
||||
public void setNotSelectedItems(Collection<String> notSelectedItems) {
|
||||
this.notSelectedItems = notSelectedItems;
|
||||
public void setCurrencies(String... currencies) {
|
||||
this.currencies = currencies;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user