nl.surfnet.coin.api.client.domain
Class AbstractEntry

java.lang.Object
  extended by nl.surfnet.coin.api.client.domain.AbstractEntry
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Group20Entry, GroupEntry, GroupMembersEntry, PersonEntry

public abstract class AbstractEntry
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AbstractEntry()
           
 
Method Summary
abstract  int getEntrySize()
           
 int getItemsPerPage()
           
 int getStartIndex()
           
 int getTotalResults()
           
 boolean getUpdatedSince()
           
 boolean isFiltered()
           
 boolean isSorted()
           
 void setFiltered(boolean filtered)
           
 void setItemsPerPage(int itemsPerPage)
           
 void setSorted(boolean sorted)
           
 void setStartIndex(int startIndex)
           
 void setTotalResults(int totalResults)
           
 void setUpdatedSince(boolean updatedSince)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEntry

public AbstractEntry()
Method Detail

getStartIndex

public int getStartIndex()
Returns:
the startIndex

setStartIndex

public void setStartIndex(int startIndex)
Parameters:
startIndex - the startIndex to set

getTotalResults

public int getTotalResults()
Returns:
the totalResults

setTotalResults

public void setTotalResults(int totalResults)
Parameters:
totalResults - the totalResults to set

getItemsPerPage

public int getItemsPerPage()
Returns:
the itemsPerPage

setItemsPerPage

public void setItemsPerPage(int itemsPerPage)
Parameters:
itemsPerPage - the itemsPerPage to set

isFiltered

public boolean isFiltered()
Returns:
boolean if the result set is filtered

setFiltered

public void setFiltered(boolean filtered)
Parameters:
filtered - boolean if the result set is filtered

getUpdatedSince

public boolean getUpdatedSince()
Returns:
updated since

setUpdatedSince

public void setUpdatedSince(boolean updatedSince)
Parameters:
updatedSince - int to indicate when it was updated

isSorted

public boolean isSorted()
Returns:
boolean to indicate if the result set is sorted

setSorted

public void setSorted(boolean sorted)
Parameters:
sorted - boolean to indicate if the result set is sorted

getEntrySize

public abstract int getEntrySize()
Returns:
the size of the embedded entry


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.