public abstract class AbstractOmObservationCreator extends Object
Modifier and Type | Field and Description |
---|---|
private Locale |
i18n |
private AbstractObservationRequest |
request |
private org.hibernate.Session |
session |
Constructor and Description |
---|
AbstractOmObservationCreator(AbstractObservationRequest request,
Locale i18n,
org.hibernate.Session session) |
AbstractOmObservationCreator(AbstractObservationRequest request,
org.hibernate.Session session) |
private final AbstractObservationRequest request
private final org.hibernate.Session session
private final Locale i18n
public AbstractOmObservationCreator(AbstractObservationRequest request, org.hibernate.Session session)
public AbstractOmObservationCreator(AbstractObservationRequest request, Locale i18n, org.hibernate.Session session)
protected ContentCache getCache()
protected FeatureQueryHandler getFeatureQueryHandler()
protected Profile getActiveProfile()
protected String getTokenSeparator()
protected String getTupleSeparator()
protected String getDecimalSeparator()
protected String getNoDataValue()
public abstract List<OmObservation> create() throws OwsExceptionReport, ConverterException
OwsExceptionReport
ConverterException
public String getVersion()
public String getResponseFormat()
public org.hibernate.Session getSession()
public Locale getI18N()
protected NamedValue<?> createSpatialFilteringProfileParameter(com.vividsolutions.jts.geom.Geometry samplingGeometry) throws OwsExceptionReport
OwsExceptionReport
protected OmObservableProperty createObservableProperty(ObservableProperty observableProperty)
protected SosProcedureDescription createProcedure(String identifier) throws ConverterException, OwsExceptionReport
encodeProcedureInObservation
- ConverterException
- If an error occurs sensor description creationOwsExceptionReport
- If an error occursprotected void addName(AbstractFeature abstractFeature, AbstractIdentifierNameDescriptionEntity hAbstractFeature)
abstractFeature
- hAbstractFeature
- protected AbstractFeature createFeatureOfInterest(String identifier) throws OwsExceptionReport
OwsExceptionReport
- If an error occursprotected void checkForAdditionalObservationCreator(AbstractObservation hObservation, OmObservation sosObservation)
public static String checkVersion(AbstractObservationRequest request)
Copyright © 2012-2015 52north.org. All Rights Reserved.