001/*
002 * (C) Copyright 2010 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 *
016 * Contributors:
017 *     Thierry Delprat
018 */
019package org.nuxeo.ecm.platform.indexing.gateway.ws;
020
021import java.io.Serializable;
022
023public class UUIDPage implements Serializable {
024
025    private static final long serialVersionUID = 1L;
026
027    private String[] uuids;
028
029    private int pageIndex;
030
031    private boolean hasMorePage;
032
033    public UUIDPage(String[] uuids, int pageIndex, boolean hasMorePage) {
034        this.uuids = uuids;
035        this.pageIndex = pageIndex;
036        this.hasMorePage = hasMorePage;
037    }
038
039    public UUIDPage() {
040    }
041
042    public String[] getUuids() {
043        return uuids;
044    }
045
046    public void setUuids(String[] uuids) {
047        this.uuids = uuids;
048    }
049
050    public int getPageIndex() {
051        return pageIndex;
052    }
053
054    public void setPageIndex(int pageIndex) {
055        this.pageIndex = pageIndex;
056    }
057
058    public boolean isHasMorePage() {
059        return hasMorePage;
060    }
061
062    public void setHasMorePage(boolean hasMorePage) {
063        this.hasMorePage = hasMorePage;
064    }
065
066}