Class AnnotationBasedDataRepositoryFactory
java.lang.Object
org.n52.sensorweb.server.db.factory.AnnotationBasedDataRepositoryFactory
- All Implemented Interfaces:
DataRepositoryTypeFactory
public class AnnotationBasedDataRepositoryFactory
extends Object
implements DataRepositoryTypeFactory
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationBasedDataRepositoryFactory(org.springframework.context.ApplicationContext appContext) -
Method Summary
Modifier and TypeMethodDescription<E extends org.n52.series.db.beans.DataEntity<T>,V extends org.n52.io.response.dataset.AbstractValue<?>, T>
ValueAssembler<E,V, T> Class<? extends org.n52.series.db.beans.DatasetEntity>getDatasetEntityType(String datasetType, String observationType, String valueType) booleanhasCacheEntry(String datasetType, String observationType, String valueType) boolean
-
Constructor Details
-
AnnotationBasedDataRepositoryFactory
@Inject public AnnotationBasedDataRepositoryFactory(org.springframework.context.ApplicationContext appContext)
-
-
Method Details
-
isKnown
- Specified by:
isKnownin interfaceDataRepositoryTypeFactory
-
getKnownTypes
- Specified by:
getKnownTypesin interfaceDataRepositoryTypeFactory
-
create
public <E extends org.n52.series.db.beans.DataEntity<T>,V extends org.n52.io.response.dataset.AbstractValue<?>, ValueAssembler<E,T> V, createT> (String datasetType, String observationType, String valueType, Class<?> entityType) - Specified by:
createin interfaceDataRepositoryTypeFactory
-
getDatasetEntityType
public Class<? extends org.n52.series.db.beans.DatasetEntity> getDatasetEntityType(String datasetType, String observationType, String valueType) - Specified by:
getDatasetEntityTypein interfaceDataRepositoryTypeFactory
-
hasCacheEntry
- Specified by:
hasCacheEntryin interfaceDataRepositoryTypeFactory
-
getValueTypes
- Specified by:
getValueTypesin interfaceDataRepositoryTypeFactory
-