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

graphql.relay.PageInfo Maven / Gradle / Ivy

There is a newer version: 2.4.0-no-slf4j
Show newest version
package graphql.relay;


public class PageInfo {
    private ConnectionCursor startCursor;
    private ConnectionCursor endCursor;
    private boolean hasPreviousPage;
    private boolean hasNextPage;

    public ConnectionCursor getStartCursor() {
        return startCursor;
    }

    public void setStartCursor(ConnectionCursor startCursor) {
        this.startCursor = startCursor;
    }

    public ConnectionCursor getEndCursor() {
        return endCursor;
    }

    public void setEndCursor(ConnectionCursor endCursor) {
        this.endCursor = endCursor;
    }

    public boolean isHasPreviousPage() {
        return hasPreviousPage;
    }

    public void setHasPreviousPage(boolean hasPreviousPage) {
        this.hasPreviousPage = hasPreviousPage;
    }

    public boolean isHasNextPage() {
        return hasNextPage;
    }

    public void setHasNextPage(boolean hasNextPage) {
        this.hasNextPage = hasNextPage;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy