/* * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.wso2.carbon.registry.social.impl.utils; import edu.umd.cs.findbugs.annotations.SuppressWarnings; import org.wso2.carbon.registry.social.api.utils.FilterOperation; import org.wso2.carbon.registry.social.api.utils.FilterOptions; import org.wso2.carbon.registry.social.api.utils.SortOrder; import java.util.Date; @SuppressWarnings({"EI_EXPOSE_REP", "EI_EXPOSE_REP2"}) public class FilterOptionsImpl implements FilterOptions { private String sortBy; private SortOrder sortOrder; private String filter; private FilterOperation filterOperation; private String filterValue; private int first; private int max; private Date updatedSince; public String getSortBy() { return sortBy; } public void setSortBy(String sortBy) { this.sortBy = sortBy; } public SortOrder getSortOrder() { return sortOrder; } public void setSortOrder(SortOrder sortOrder) { this.sortOrder = sortOrder; } public String getFilter() { return filter; } public void setFilter(String filter) { this.filter = filter; } public FilterOperation getFilterOperation() { return filterOperation; } public void setFilterOperation(FilterOperation filterOperation) { this.filterOperation = filterOperation; } public String getFilterValue() { return filterValue; } public void setFilterValue(String filterValue) { this.filterValue = filterValue; } public int getFirst() { return first; } public void setFirst(int first) { this.first = first; } public int getMax() { return max; } public void setMax(int max) { this.max = max; } public Date getUpdatedSince() { return updatedSince; } public void setUpdatedSince(Date date) { this.updatedSince = date; } }