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

de.swm.gwt.client.paging.BasePagingLoadResult Maven / Gradle / Ivy

There is a newer version: 3.1
Show newest version
package de.swm.gwt.client.paging;

import java.util.List;

import de.swm.gwt.client.interfaces.IModelData;
import de.swm.gwt.client.interfaces.IPagingLoadResult;



/**
 * Base-Paging load implementierung..
 * 
 * @author wiese.daniel 
* copyright (C) 2011, SWM Services GmbH * * @param */ public class BasePagingLoadResult implements IPagingLoadResult { private static final long serialVersionUID = 1L; private int offset; private int totalLength; private List payload; /** * GWT Contructor. */ public BasePagingLoadResult() { } /** * * Default constructor. * * @param payload * der payload. */ public BasePagingLoadResult(List payload) { this.payload = payload; } @Override public int getOffset() { return offset; } @Override public int getTotalLength() { return totalLength; } @Override public List getData() { return payload; } /** * offset the offset to set. * * @param offset * the offset to set */ public void setOffset(int offset) { this.offset = offset; } /** * totalLength the totalLength to set. * * @param totalLength * the totalLength to set */ public void setTotalLength(int totalLength) { this.totalLength = totalLength; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy