Package com.janeirodigital.sai.core.data
Class DataRegistry.DataRegistrationList<T>
java.lang.Object
com.janeirodigital.sai.core.utils.RegistrationList<T>
com.janeirodigital.sai.core.data.DataRegistry.DataRegistrationList<T>
- All Implemented Interfaces:
Iterable<T>
- Enclosing class:
- DataRegistry
Class for access and iteration of
DataRegistration
s. 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
ConstructorsConstructorDescriptionDataRegistrationList
(SaiSession saiSession, org.apache.jena.rdf.model.Resource resource) -
Method Summary
Modifier and TypeMethodDescriptionOverride the default find inRegistrationList
to lookup based on the registered shape tree of aDataRegistration
iterator()
Return an iterator forDataRegistration
instancesMethods inherited from class com.janeirodigital.sai.core.utils.RegistrationList
add, addAll, isEmpty, isPresent, populate, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DataRegistrationList
-
-
Method Details
-
find
Override the default find inRegistrationList
to lookup based on the registered shape tree of aDataRegistration
- Specified by:
find
in classRegistrationList<T>
- Parameters:
shapeTreeUri
- URI of the registeredShapeTree to find- Returns:
DataRegistration
-
iterator
Return an iterator forDataRegistration
instances- Specified by:
iterator
in interfaceIterable<T>
- Overrides:
iterator
in classRegistrationList<T>
- Returns:
DataRegistration
Iterator
-