All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.n2oapp.criteria.api.CollectionPage Maven / Gradle / Ivy

The newest version!
package net.n2oapp.criteria.api;


import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Collection;

@Getter
@Setter
public class CollectionPage implements Serializable {
    private Integer count;
    private Collection collection;
    private Criteria criteria;
    private Boolean hasNext;
    private Object additionalInfo;


    public CollectionPage() {

    }

    public CollectionPage(int count, Collection collection, Criteria criteria) {
        this.count = count;
        this.collection = collection;
        this.criteria = criteria;
    }

    public CollectionPage(Boolean hasNext, Collection collection, Criteria criteria){
        this.hasNext = hasNext;
        this.collection = collection;
        this.criteria = criteria;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy