Class Site
- java.lang.Object
-
- org.gcube.smartgears.configuration.container.Site
-
public class Site extends Object
The geographical site of the container.- Author:
- Fabio Simeoni
-
-
Constructor Summary
Constructors Constructor Description Site()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcountry()Returns the country.Sitecountry(String country)Sets the country.booleanequals(Object obj)inthashCode()Stringlatitude()Returns the latitude.Sitelatitude(String latitude)Sets the latitude.Stringlocation()Returns the location.Sitelocation(String location)Sets the location.Stringlongitude()Returns the longitude.Sitelongitude(String longitude)Sets the longitude.
-
-
-
Method Detail
-
country
public String country()
Returns the country.- Returns:
- the country
-
country
public Site country(String country)
Sets the country.- Parameters:
the- country- Returns:
- this configuration
-
latitude
public String latitude()
Returns the latitude.- Returns:
- the latitude
-
latitude
public Site latitude(String latitude)
Sets the latitude.- Parameters:
the- latitude- Returns:
- this configuration
-
longitude
public String longitude()
Returns the longitude.- Returns:
- the longitude
-
longitude
public Site longitude(String longitude)
Sets the longitude.- Parameters:
the- longitude- Returns:
- this configuration
-
location
public String location()
Returns the location.- Returns:
- the location
-
location
public Site location(String location)
Sets the location.- Parameters:
the- location- Returns:
- this location
-
-