Package dev.enola.web
Class EnolaThingProvider
java.lang.Object
dev.enola.web.EnolaThingProvider
- All Implemented Interfaces:
Provider<String,,Thing> ProviderFromIRI<Thing>,Repository<Thing>
-
Constructor Details
-
EnolaThingProvider
public EnolaThingProvider(EnolaServiceGrpc.EnolaServiceBlockingStub service) throws com.google.protobuf.Descriptors.DescriptorValidationException - Throws:
com.google.protobuf.Descriptors.DescriptorValidationException
-
-
Method Details
-
get
Description copied from interface:ProviderGet. -
list
Description copied from interface:Repositorylist() returns Ts directly (not just the IRIs, likeRepository.listIRI()).This default implementation here just combines
Repository.listIRI()andProviderFromIRI.get(String). Your subclass may be able to provide a more efficient and more "direct" implementation?- Specified by:
listin interfaceRepository<Thing>
-
listIRI
- Specified by:
listIRIin interfaceRepository<Thing>
-