<commit_before>/*
 * Copyright (c) 2006-2011 Nuxeo SA (http://nuxeo.com/) and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     matic
 */
package org.nuxeo.ecm.automation.client.model;

import java.util.List;



/**
 * @author matic
 *
 */
public class PaginableDocuments extends Documents {

    private static final long serialVersionUID = 1L;

    protected int totalSize;
    protected int pageSize;
    protected int pageCount;
    protected int pageIndex;

    public PaginableDocuments() {
    }

    /**
     * @param size
     */
    public PaginableDocuments(List<Document> docs, int totalSize, int pageSize, int pageCount, int pageIndex) {
        super (docs);
        this.totalSize = totalSize;
        this.pageSize = pageSize;
        this.pageCount = pageCount;
        this.pageIndex = pageIndex;
    }

    public int getTotalSize() {
        return totalSize;
    }

    public int getPageSize() {
        return pageSize;
    }


    public int getPageCount() {
        return pageCount;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setTotalSize(int totalSize) {
        this.totalSize = totalSize;
    }

    public void setPageCount(int pageCount) {<commit_msg>Format<commit_after>/*
 * Copyright (c) 2006-2011 Nuxeo SA (http://nuxeo.com/) and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     matic
 */
package org.nuxeo.ecm.automation.client.model;

import java.util.List;

/**
 * @author matic
 */
public class PaginableDocuments extends Documents {

    private static final long serialVersionUID = 1L;

    protected int totalSize;

    protected int pageSize;

    protected int pageCount;

    protected int pageIndex;

    public PaginableDocuments() {
    }

    /**
     * @param size
     */
    public PaginableDocuments(List<Document> docs, int totalSize, int pageSize,
            int pageCount, int pageIndex) {
        super(docs);
        this.totalSize = totalSize;
        this.pageSize = pageSize;
        this.pageCount = pageCount;
        this.pageIndex = pageIndex;
    }

    public int getTotalSize() {
        return totalSize;
    }

    public int getPageSize() {
        return pageSize;
    }

    public int getPageCount() {
        return pageCount;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setTotalSize(int totalSize) {
        this.totalSize = totalSize;
    }

    public void setPageCount(int pageCount) {
{'fraction_non_alphanumeric': 0.08860759493670886, 'fraction_numerical': 0.008894970920287376, 'mean_word_length': 2.5833333333333335, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1122661', 'n_tokens_mistral': 901, 'n_tokens_neox': 828, 'n_words': 249}