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.CsdlAbstractEdmProvider
CsdlEdmProvider for O&M Observations. This provider establishes the following properties:
NameTypeValue reference
valuestringom:result
valuesstringom:result
countValuelongom:result
countValueslongom:result
numericValuedoubleom:result
numericValuesdoubleom:result
quantitydoubleom:result
quantitiesdoubleom:result
textValuestringom:result
textValuesstringom:result
samplingGeometrygeometry http://www.opengis.net/req/omxml/2.0/data/samplingGeometry
featureOfIntereststringom:featureOfInterest
featureOfInterest/idstringom:featureOfInterest
featureOfInterest/shapegeometryom:featureOfInterest/*/sams:shape
featuregeometryom:featureOfInterest/*/sams:shape
idstringgml:identifier
identifierstringgml:identifier
observedPropertystringom:observedProperty
procedurestringom:procedure
offeringstringsos:offering
phenomenonTimegml:AbstractTimeObjectom:phenomenonTime
resultTimegml:AbstractTimeObjectom:resultTime
validTimegml:TimePeriodom:validTime
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.olingo.commons.api.edm.provider.CsdlComplexType
    getComplexType(org.apache.olingo.commons.api.edm.FullQualifiedName name)
     
    org.apache.olingo.commons.api.edm.provider.CsdlEntityContainer
     
    org.apache.olingo.commons.api.edm.provider.CsdlEntityContainerInfo
    getEntityContainerInfo(org.apache.olingo.commons.api.edm.FullQualifiedName name)
     
    org.apache.olingo.commons.api.edm.provider.CsdlEntitySet
    getEntitySet(org.apache.olingo.commons.api.edm.FullQualifiedName container, String name)
     
    org.apache.olingo.commons.api.edm.provider.CsdlEntityType
    getEntityType(org.apache.olingo.commons.api.edm.FullQualifiedName name)
     
    List<org.apache.olingo.commons.api.edm.provider.CsdlSchema>
     
    mapProperty(String property)
    Get the canonical value reference for the supplied property.

    Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmProvider

    getActionImport, getActions, getAliasInfos, getAnnotationsGroup, getEnumType, getFunctionImport, getFunctions, getSingleton, getTerm, getTypeDefinition

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ObservationCsdlEdmProvider

      public ObservationCsdlEdmProvider()
  • Method Details

    • getEntityContainer

      public org.apache.olingo.commons.api.edm.provider.CsdlEntityContainer getEntityContainer() throws org.apache.olingo.commons.api.ex.ODataException
      Specified by:
      getEntityContainer in interface org.apache.olingo.commons.api.edm.provider.CsdlEdmProvider
      Overrides:
      getEntityContainer in class org.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:
      getEntityContainerInfo in interface org.apache.olingo.commons.api.edm.provider.CsdlEdmProvider
      Overrides:
      getEntityContainerInfo in class org.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:
      getEntitySet in interface org.apache.olingo.commons.api.edm.provider.CsdlEdmProvider
      Overrides:
      getEntitySet in class org.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:
      getEntityType in interface org.apache.olingo.commons.api.edm.provider.CsdlEdmProvider
      Overrides:
      getEntityType in class org.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:
      getSchemas in interface org.apache.olingo.commons.api.edm.provider.CsdlEdmProvider
      Overrides:
      getSchemas in class org.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:
      getComplexType in interface org.apache.olingo.commons.api.edm.provider.CsdlEdmProvider
      Overrides:
      getComplexType in class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmProvider
      Throws:
      org.apache.olingo.commons.api.ex.ODataException