Class LocationFacetImpl

  • All Implemented Interfaces:
    Serializable, org.gcube.informationsystem.base.reference.Element, org.gcube.informationsystem.base.reference.entities.EntityElement, org.gcube.informationsystem.base.reference.IdentifiableElement, org.gcube.informationsystem.base.reference.SchemaMixedElement, org.gcube.informationsystem.model.reference.entities.Entity, org.gcube.informationsystem.model.reference.entities.Facet, org.gcube.informationsystem.model.reference.ERElement, org.gcube.informationsystem.model.reference.ModelElement, LocationFacet

    public class LocationFacetImpl
    extends org.gcube.informationsystem.model.impl.entities.FacetImpl
    implements LocationFacet
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected String location
      A human english name for the location, e.g., a city name, a country name, a site name, a region name, etc.
      protected org.gcube.com.fasterxml.jackson.databind.node.ObjectNode spatialGeometry  
      • Fields inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl

        additionalProperties, allowedAdditionalKeys
      • Fields inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl

        contexts, expectedtype, supertypes
      • Fields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl

        metadata, uuid
      • Fields inherited from interface org.gcube.informationsystem.base.reference.Element

        DATETIME_PATTERN, NAME, TYPE_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.model.reference.entities.Entity

        NAME
      • Fields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement

        NAME
      • Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement

        CONTEXTS_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.model.reference.entities.Facet

        NAME
      • Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement

        ID_PROPERTY, METADATA_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement

        EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getLocation()
      A human english name for the location, e.g., a city name, a country name, a site name, a region name, etc.
      org.gcube.com.fasterxml.jackson.databind.node.ObjectNode getSpatialGeometry()
      Spatial Geometry in GeoJSON format
      void setLocation​(String location)
      Sets A human english name for the location, e.g., a city name, a country name, a site name, a region name, etc.
      void setSpatialGeometry​(org.gcube.com.fasterxml.jackson.databind.node.ObjectNode spatialGeometry)
      Sets the Spatial Geometry in GeoJSON format
      • Methods inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl

        addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
      • Methods inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl

        getContexts, getExpectedtype, getSupertypes, setContexts
      • Methods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl

        getID, getMetadata, setID, setMetadata
      • Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl

        getTypeName, toString
      • Methods inherited from interface org.gcube.informationsystem.base.reference.Element

        getTypeName
      • Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement

        getID, getMetadata, setID, setMetadata
      • Methods inherited from interface org.gcube.informationsystem.model.reference.ERElement

        getContexts
      • Methods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet

        getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
      • Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement

        getExpectedtype, getSupertypes
    • Field Detail

      • location

        protected String location
        A human english name for the location, e.g., a city name, a country name, a site name, a region name, etc.
      • spatialGeometry

        protected org.gcube.com.fasterxml.jackson.databind.node.ObjectNode spatialGeometry
    • Constructor Detail

      • LocationFacetImpl

        public LocationFacetImpl()
    • Method Detail

      • getLocation

        public String getLocation()
        A human english name for the location, e.g., a city name, a country name, a site name, a region name, etc.
        Specified by:
        getLocation in interface LocationFacet
        Returns:
        the location
      • setLocation

        public void setLocation​(String location)
        Sets A human english name for the location, e.g., a city name, a country name, a site name, a region name, etc.
        Specified by:
        setLocation in interface LocationFacet
        Parameters:
        location - the location
      • getSpatialGeometry

        public org.gcube.com.fasterxml.jackson.databind.node.ObjectNode getSpatialGeometry()
        Spatial Geometry in GeoJSON format
        Specified by:
        getSpatialGeometry in interface LocationFacet
        Returns:
        the spatial geometry
      • setSpatialGeometry

        public void setSpatialGeometry​(org.gcube.com.fasterxml.jackson.databind.node.ObjectNode spatialGeometry)
        Sets the Spatial Geometry in GeoJSON format
        Specified by:
        setSpatialGeometry in interface LocationFacet
        Parameters:
        spatialGeometry - the spatial geometry