org.gcube.smartgears.configuration.container
Class Site

java.lang.Object
  extended by org.gcube.smartgears.configuration.container.Site

public class Site
extends Object

The geographical site of the container.

Author:
Fabio Simeoni

Constructor Summary
Site()
           
 
Method Summary
 String country()
          Returns the country.
 Site country(String country)
          Sets the country.
 boolean equals(Object obj)
           
 int hashCode()
           
 String latitude()
          Returns the latitude.
 Site latitude(String latitude)
          Sets the latitude.
 String location()
          Returns the location.
 Site location(String location)
          Sets the location.
 String longitude()
          Returns the longitude.
 Site longitude(String longitude)
          Sets the longitude.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Site

public Site()
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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2014. All Rights Reserved.