Class LocationFacetImpl
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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
additionalProperties, allowedAdditionalKeysFields inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
contexts, expectedtype, supertypesFields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
metadata, uuidFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.entities.Entity
NAMEFields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
NAMEFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
NAMEFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.resourcemanagement.model.reference.entities.facets.LocationFacet
NAMEFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY -
Constructor Summary
Constructors -
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 class org.gcube.informationsystem.model.impl.entities.FacetImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
getContexts, getExpectedtype, getSupertypes, setContextsMethods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
getID, getMetadata, setID, setMetadataMethods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
country
-
location
-
latitude
-
longitude
-
-
Constructor Details
-
LocationFacetImpl
public LocationFacetImpl()
-
-
Method Details
-
getCountry
The English name of the country- Specified by:
getCountryin interfaceLocationFacet- Returns:
- the country
-
setCountry
Sets the English name of the country- Specified by:
setCountryin interfaceLocationFacet- Parameters:
country- the country
-
getLocation
The City name- Specified by:
getLocationin interfaceLocationFacet- Returns:
- the location
-
setLocation
Sets the City name- Specified by:
setLocationin interfaceLocationFacet- Parameters:
location- the location
-
getLatitude
Description copied from interface:LocationFacetLatitude- Specified by:
getLatitudein interfaceLocationFacet- Returns:
- the latitude
-
setLatitude
Sets the Latitude- Specified by:
setLatitudein interfaceLocationFacet- Parameters:
latitude- the latitude
-
getLongitude
Longitude- Specified by:
getLongitudein interfaceLocationFacet- Returns:
- the longitude
-
setLongitude
Sets the Longitude- Specified by:
setLongitudein interfaceLocationFacet- Parameters:
longitude- the longitude
-