LoanProduct filtering changes
This commit is contained in:
@@ -7,9 +7,11 @@ import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import org.codehaus.jackson.map.annotate.JsonFilter;
|
||||
import org.joda.time.DateTime;
|
||||
|
||||
@XmlRootElement(name = "loanProduct")
|
||||
@JsonFilter("myFilter")
|
||||
public class LoanProductData implements Serializable {
|
||||
|
||||
private Long id;
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
package org.mifosng.data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
@XmlRootElement
|
||||
public class LoanProductList {
|
||||
|
||||
private Collection<LoanProductData> products = new ArrayList<LoanProductData>();
|
||||
|
||||
protected LoanProductList() {
|
||||
//
|
||||
}
|
||||
|
||||
public LoanProductList(final Collection<LoanProductData> products) {
|
||||
this.products = products;
|
||||
}
|
||||
|
||||
public Collection<LoanProductData> getProducts() {
|
||||
return this.products;
|
||||
}
|
||||
|
||||
public void setProducts(final Collection<LoanProductData> products) {
|
||||
this.products = products;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user