All Superinterfaces:
org.gcube.informationsystem.base.reference.Element, org.gcube.informationsystem.model.reference.entities.Entity, org.gcube.informationsystem.base.reference.entities.EntityElement, org.gcube.informationsystem.model.reference.ERElement, org.gcube.informationsystem.model.reference.entities.Facet, org.gcube.informationsystem.base.reference.IdentifiableElement, org.gcube.informationsystem.model.reference.ModelElement, org.gcube.informationsystem.base.reference.SchemaMixedElement, Serializable
All Known Implementing Classes:
LocationFacetImpl

@TypeMetadata(name="LocationFacet", description="LocationFacet captures information on a physical area characterising the resource it is associated with. This should not be confused with {@link CoverageFacet}. The LocationFacet provides information of a location (eventually using latitude and longitude), instead {@link CoverageFacet} provide a way to to define the spatial or the temporal extent the resource represent. It is mainly used to locate a data centre or to the geographic references of a legal body playing the role of an actor in the infrastructure.", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface LocationFacet extends org.gcube.informationsystem.model.reference.entities.Facet
LocationFacet captures information on a physical area characterising the resource it is associated with. This should not be confused with CoverageFacet The LocationFacet provides information of a location (eventually using latitude and longitude), instead CoverageFacet provide a way to to define the spatial or the temporal extent the resource represent. It is mainly used to locate a data centre or to the geographic references of a legal body playing the role of an actor in the infrastructure. https://wiki.gcube-system.org/gcube/GCube_Model#Location_Facet
Author:
Luca Frosini (ISTI - CNR)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name associated with this facet

    Fields inherited from interface org.gcube.informationsystem.base.reference.Element

    DATETIME_PATTERN, TYPE_PROPERTY

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

    CONTEXTS_PROPERTY

    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

    Modifier and Type
    Method
    Description
    The English name of the country
    Latitude
    The City name
    Longitude
    void
    setCountry(String country)
    Sets the English name of the country
    void
    setLatitude(String latitude)
    Sets the Latitude
    void
    setLocation(String location)
    Sets the City name
    void
    setLongitude(String longitude)
    Sets the Longitude

    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 Details

  • Method Details

    • getCountry

      @ISProperty(description="The English name of the country") String getCountry()
      The English name of the country
      Returns:
      the country
    • setCountry

      void setCountry(String country)
      Sets the English name of the country
      Parameters:
      country - the country
    • getLocation

      @ISProperty(description="The City name") String getLocation()
      The City name
      Returns:
      the location
    • setLocation

      void setLocation(String location)
      Sets the City name
      Parameters:
      location - the location
    • getLatitude

      @ISProperty(description="Latitude") String getLatitude()
      Latitude
      Returns:
      the latitude
    • setLatitude

      void setLatitude(String latitude)
      Sets the Latitude
      Parameters:
      latitude - the latitude
    • getLongitude

      @ISProperty(description="Longitude") String getLongitude()
      Longitude
      Returns:
      the longitude
    • setLongitude

      void setLongitude(String longitude)
      Sets the Longitude
      Parameters:
      longitude - the longitude