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

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

public abstract class AbstractEntry
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
AbstractEntry()
           
 
Method Summary
abstract  List getEntryCollection()
           
abstract  int getEntrySize()
           
 int getItemsPerPage()
           
 int getStartIndex()
           
 int getTotalResults()
           
 boolean getUpdatedSince()
           
 boolean isFiltered()
           
 boolean isSorted()
           
abstract  void setEntryCollection(List entry)
           
 void setFiltered(boolean filtered)
           
 void setItemsPerPage(int itemsPerPage)
           
 void setSorted(boolean sorted)
           
 void setStartIndex(int startIndex)
           
 void setTotalResults(int totalResults)
           
 void setUpdatedSince(boolean updatedSince)
           
abstract  void sortEntryCollection(String sort)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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

getEntryCollection

public abstract List getEntryCollection()

setEntryCollection

public abstract void setEntryCollection(List entry)

sortEntryCollection

public abstract void sortEntryCollection(String sort)

toString

public String toString()
Overrides:
toString in class Object


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