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

java.lang.Object
  extended by nl.surfnet.coin.api.client.domain.AbstractEntry
      extended by nl.surfnet.coin.api.client.domain.GroupMembersEntry
All Implemented Interfaces:
Serializable

public class GroupMembersEntry
extends AbstractEntry

See Also:
Serialized Form

Constructor Summary
GroupMembersEntry()
           
GroupMembersEntry(List<Person> persons)
           
 
Method Summary
 List<Person> getEntry()
           
 List getEntryCollection()
           
 int getEntrySize()
           
 boolean isEmpty()
           
 boolean isMember(String personId)
          Returns whether the given personId is member of this group
 void setEntry(List<Person> entry)
           
 void setEntryCollection(List entry)
           
 void sortEntryCollection(String sort)
           
 String toString()
           
 
Methods inherited from class nl.surfnet.coin.api.client.domain.AbstractEntry
getItemsPerPage, getStartIndex, getTotalResults, getUpdatedSince, isFiltered, isSorted, setFiltered, setItemsPerPage, setSorted, setStartIndex, setTotalResults, setUpdatedSince
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupMembersEntry

public GroupMembersEntry()

GroupMembersEntry

public GroupMembersEntry(List<Person> persons)
Parameters:
persons -
Method Detail

getEntry

public List<Person> getEntry()
Returns:
the entry

setEntry

public void setEntry(List<Person> entry)
Parameters:
entry - the entry to set

isEmpty

public boolean isEmpty()

isMember

public boolean isMember(String personId)
Returns whether the given personId is member of this group

Parameters:
personId - the person
Returns:
boolean

getEntrySize

public int getEntrySize()
Specified by:
getEntrySize in class AbstractEntry
Returns:
the size of the embedded entry

getEntryCollection

public List getEntryCollection()
Specified by:
getEntryCollection in class AbstractEntry

sortEntryCollection

public void sortEntryCollection(String sort)
Specified by:
sortEntryCollection in class AbstractEntry

setEntryCollection

public void setEntryCollection(List entry)
Specified by:
setEntryCollection in class AbstractEntry

toString

public String toString()
Overrides:
toString in class AbstractEntry


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