Class HostLocation

java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.HostLocation
All Implemented Interfaces:
Serializable, Cloneable

public class HostLocation extends DataBaseObject
The Class HostLocation.
See Also:
  • Field Details

    • HLO_ID

      protected int HLO_ID
      The hlo id.
    • HLO_IP

      protected String HLO_IP
      The hos ip.
    • HLO_LATITUDE

      protected Double HLO_LATITUDE
      The hos latitude.
    • HLO_LONGITUDE

      protected Double HLO_LONGITUDE
      The hos longitude.
  • Constructor Details

    • HostLocation

      public HostLocation()
      Instantiates a new host.
    • HostLocation

      public HostLocation(int id)
      Instantiates a new host.
      Parameters:
      id - the id
  • Method Details

    • getIp

      public String getIp()
      Gets the ip.
      Returns:
      the ip
    • setIp

      public void setIp(String param)
      Sets the ip.
      Parameters:
      param - the new ip
    • getId

      public int getId()
      Gets the id.
      Returns:
      the id
    • setId

      public void setId(int param)
      Sets the id.
      Parameters:
      param - the new id
    • getLatitude

      public Double getLatitude()
      Gets the latitude.
      Returns:
      the latitude
    • setLatitude

      public void setLatitude(Double latitude)
      Sets the latitude.
      Parameters:
      latitude - the new latitude
    • getLongitude

      public Double getLongitude()
      Gets the longitude.
      Returns:
      the longitude
    • setLongitude

      public void setLongitude(Double longitude)
      Sets the longitude.
      Parameters:
      longitude - the new longitude
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
    • equals

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