com.kuangkie.carbon.common.QueryParam Maven / Gradle / Ivy
The newest version!
package com.kuangkie.carbon.common;
import java.util.List;
import com.kuangkie.carbon.record.criteria.ProConJunction;
public class QueryParam {
private ProConJunction conJunction;
private List sortItems;
public QueryParam() {
}
public QueryParam(QueryParam queryParam) {
if(queryParam!=null) {
this.setConJunction(queryParam.getConJunction());
this.setSortItems(queryParam.getSortItems());
}
}
public QueryParam(ProConJunction conJunction, List sortItems) {
this.conJunction = conJunction;
this.sortItems = sortItems;
}
public ProConJunction getConJunction() {
return conJunction;
}
public void setConJunction(ProConJunction conJunction) {
this.conJunction = conJunction;
}
public List getSortItems() {
return sortItems;
}
public void setSortItems(List sortItems) {
this.sortItems = sortItems;
}
}