java.lang.Object
org.gcube.informationsystem.base.impl.ElementImpl
org.gcube.informationsystem.base.impl.entities.EntityElementImpl
org.gcube.informationsystem.model.impl.entities.EntityImpl
org.gcube.informationsystem.model.impl.entities.FacetImpl
org.gcube.resourcemanagement.model.impl.entities.facets.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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected String
     
    protected String
     
    protected String
     

    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.resourcemanagement.model.reference.entities.facets.LocationFacet

    NAME

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

    EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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 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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    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

    • country

      protected String country
    • location

      protected String location
    • latitude

      protected String latitude
    • longitude

      protected String longitude
  • Constructor Details

    • LocationFacetImpl

      public LocationFacetImpl()
  • Method Details

    • getCountry

      public String getCountry()
      The English name of the country
      Specified by:
      getCountry in interface LocationFacet
      Returns:
      the country
    • setCountry

      public void setCountry(String country)
      Sets the English name of the country
      Specified by:
      setCountry in interface LocationFacet
      Parameters:
      country - the country
    • getLocation

      public String getLocation()
      The City name
      Specified by:
      getLocation in interface LocationFacet
      Returns:
      the location
    • setLocation

      public void setLocation(String location)
      Sets the City name
      Specified by:
      setLocation in interface LocationFacet
      Parameters:
      location - the location
    • getLatitude

      public String getLatitude()
      Description copied from interface: LocationFacet
      Latitude
      Specified by:
      getLatitude in interface LocationFacet
      Returns:
      the latitude
    • setLatitude

      public void setLatitude(String latitude)
      Sets the Latitude
      Specified by:
      setLatitude in interface LocationFacet
      Parameters:
      latitude - the latitude
    • getLongitude

      public String getLongitude()
      Longitude
      Specified by:
      getLongitude in interface LocationFacet
      Returns:
      the longitude
    • setLongitude

      public void setLongitude(String longitude)
      Sets the Longitude
      Specified by:
      setLongitude in interface LocationFacet
      Parameters:
      longitude - the longitude