Class AgentRegistry.SocialAgentRegistrationList<T>
java.lang.Object
com.janeirodigital.sai.core.utils.RegistrationList<T>
com.janeirodigital.sai.core.agents.AgentRegistry.SocialAgentRegistrationList<T>
- All Implemented Interfaces:
 Iterable<T>
- Enclosing class:
 - AgentRegistry
 
Class for access and iteration of 
SocialAgentRegistrations. Most of the capability is provided
 through extension of RegistrationList, which requires select overrides to ensure the correct
 types are built and returned by the iterator.- 
Nested Class Summary
Nested classes/interfaces inherited from class com.janeirodigital.sai.core.utils.RegistrationList
RegistrationList.RegistrationListIterator<T> - 
Field Summary
Fields inherited from class com.janeirodigital.sai.core.utils.RegistrationList
linkedVia, registrationUris, resource, saiSession - 
Constructor Summary
ConstructorsConstructorDescriptionSocialAgentRegistrationList(SaiSession saiSession, org.apache.jena.rdf.model.Resource resource)  - 
Method Summary
Modifier and TypeMethodDescriptionOverride the default find inRegistrationListto lookup based on the registeredAgent of theSocialAgentRegistrationiterator()Return an iterator forSocialAgentRegistrationinstancesMethods inherited from class com.janeirodigital.sai.core.utils.RegistrationList
add, addAll, isEmpty, isPresent, populate, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator 
- 
Constructor Details
- 
SocialAgentRegistrationList
public SocialAgentRegistrationList(SaiSession saiSession, org.apache.jena.rdf.model.Resource resource)  
 - 
 - 
Method Details
- 
find
Override the default find inRegistrationListto lookup based on the registeredAgent of theSocialAgentRegistration- Specified by:
 findin classRegistrationList<T>- Parameters:
 agentUri- URI of the registered agent- Returns:
 SocialAgentRegistration
 - 
iterator
Return an iterator forSocialAgentRegistrationinstances- Specified by:
 iteratorin interfaceIterable<T>- Overrides:
 iteratorin classRegistrationList<T>- Returns:
 SocialAgentRegistrationIterator
 
 -