Package org.n52.svalbard.odata
Class ObservationCsdlEdmProvider
- java.lang.Object
-
- org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmProvider
-
- org.n52.svalbard.odata.ObservationCsdlEdmProvider
-
- All Implemented Interfaces:
org.apache.olingo.commons.api.edm.provider.CsdlEdmProvider
public class ObservationCsdlEdmProvider extends org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmProviderCsdlEdmProviderfor O&M Observations. This provider establishes the following properties:Name Type Value reference value string om:result values string om:result countValue long om:result countValues long om:result numericValue double om:result numericValues double om:result quantity double om:result quantities double om:result textValue string om:result textValues string om:result samplingGeometry geometry http://www.opengis.net/req/omxml/2.0/data/samplingGeometry featureOfInterest string om:featureOfInterest featureOfInterest/id string om:featureOfInterest featureOfInterest/shape geometry om:featureOfInterest/*/sams:shape feature geometry om:featureOfInterest/*/sams:shape id string gml:identifier identifier string gml:identifier observedProperty string om:observedProperty procedure string om:procedure offering string sos:offering phenomenonTime gml:AbstractTimeObject om:phenomenonTime resultTime gml:AbstractTimeObject om:resultTime validTime gml:TimePeriod om:validTime
-
-
Constructor Summary
Constructors Constructor Description ObservationCsdlEdmProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.olingo.commons.api.edm.provider.CsdlComplexTypegetComplexType(org.apache.olingo.commons.api.edm.FullQualifiedName name)org.apache.olingo.commons.api.edm.provider.CsdlEntityContainergetEntityContainer()org.apache.olingo.commons.api.edm.provider.CsdlEntityContainerInfogetEntityContainerInfo(org.apache.olingo.commons.api.edm.FullQualifiedName name)org.apache.olingo.commons.api.edm.provider.CsdlEntitySetgetEntitySet(org.apache.olingo.commons.api.edm.FullQualifiedName container, String name)org.apache.olingo.commons.api.edm.provider.CsdlEntityTypegetEntityType(org.apache.olingo.commons.api.edm.FullQualifiedName name)List<org.apache.olingo.commons.api.edm.provider.CsdlSchema>getSchemas()StringmapProperty(String property)Get the canonical value reference for the supplied property.
-
-
-
Method Detail
-
getEntityContainer
public org.apache.olingo.commons.api.edm.provider.CsdlEntityContainer getEntityContainer() throws org.apache.olingo.commons.api.ex.ODataException- Specified by:
getEntityContainerin interfaceorg.apache.olingo.commons.api.edm.provider.CsdlEdmProvider- Overrides:
getEntityContainerin classorg.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmProvider- Throws:
org.apache.olingo.commons.api.ex.ODataException
-
getEntityContainerInfo
public org.apache.olingo.commons.api.edm.provider.CsdlEntityContainerInfo getEntityContainerInfo(org.apache.olingo.commons.api.edm.FullQualifiedName name) throws org.apache.olingo.commons.api.ex.ODataException- Specified by:
getEntityContainerInfoin interfaceorg.apache.olingo.commons.api.edm.provider.CsdlEdmProvider- Overrides:
getEntityContainerInfoin classorg.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmProvider- Throws:
org.apache.olingo.commons.api.ex.ODataException
-
getEntitySet
public org.apache.olingo.commons.api.edm.provider.CsdlEntitySet getEntitySet(org.apache.olingo.commons.api.edm.FullQualifiedName container, String name) throws org.apache.olingo.commons.api.ex.ODataException- Specified by:
getEntitySetin interfaceorg.apache.olingo.commons.api.edm.provider.CsdlEdmProvider- Overrides:
getEntitySetin classorg.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmProvider- Throws:
org.apache.olingo.commons.api.ex.ODataException
-
mapProperty
public String mapProperty(String property)
Get the canonical value reference for the supplied property.- Parameters:
property- the property- Returns:
- the value reference
-
getEntityType
public org.apache.olingo.commons.api.edm.provider.CsdlEntityType getEntityType(org.apache.olingo.commons.api.edm.FullQualifiedName name) throws org.apache.olingo.commons.api.ex.ODataException- Specified by:
getEntityTypein interfaceorg.apache.olingo.commons.api.edm.provider.CsdlEdmProvider- Overrides:
getEntityTypein classorg.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmProvider- Throws:
org.apache.olingo.commons.api.ex.ODataException
-
getSchemas
public List<org.apache.olingo.commons.api.edm.provider.CsdlSchema> getSchemas() throws org.apache.olingo.commons.api.ex.ODataException
- Specified by:
getSchemasin interfaceorg.apache.olingo.commons.api.edm.provider.CsdlEdmProvider- Overrides:
getSchemasin classorg.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmProvider- Throws:
org.apache.olingo.commons.api.ex.ODataException
-
getComplexType
public org.apache.olingo.commons.api.edm.provider.CsdlComplexType getComplexType(org.apache.olingo.commons.api.edm.FullQualifiedName name) throws org.apache.olingo.commons.api.ex.ODataException- Specified by:
getComplexTypein interfaceorg.apache.olingo.commons.api.edm.provider.CsdlEdmProvider- Overrides:
getComplexTypein classorg.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmProvider- Throws:
org.apache.olingo.commons.api.ex.ODataException
-
-