Interface LocationFacet
- 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
FieldsFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionThe English name of the countryLatitudeThe City nameLongitudevoidsetCountry(String country) Sets the English name of the countryvoidsetLatitude(String latitude) Sets the LatitudevoidsetLocation(String location) Sets the City namevoidsetLongitude(String longitude) Sets the LongitudeMethods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.model.reference.ERElement
getContextsMethods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
Field Details
-
NAME
The name associated with this facet- See Also:
-
-
Method Details
-
getCountry
The English name of the country- Returns:
- the country
-
setCountry
Sets the English name of the country- Parameters:
country- the country
-
getLocation
The City name- Returns:
- the location
-
setLocation
Sets the City name- Parameters:
location- the location
-
getLatitude
Latitude- Returns:
- the latitude
-
setLatitude
Sets the Latitude- Parameters:
latitude- the latitude
-
getLongitude
Longitude- Returns:
- the longitude
-
setLongitude
Sets the Longitude- Parameters:
longitude- the longitude
-