Class HostLocation
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.HostLocation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
The hlo id.protected String
The hos ip.protected Double
The hos latitude.protected Double
The hos longitude.Fields inherited from class ecmwf.common.database.DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.int
getId()
Gets the id.getIp()
Gets the ip.Gets the latitude.Gets the longitude.int
hashCode()
Hash code.void
setId
(int param) Sets the id.void
Sets the ip.void
setLatitude
(Double latitude) Sets the latitude.void
setLongitude
(Double longitude) Sets the longitude.Methods inherited from class ecmwf.common.database.DataBaseObject
bigDecimalToTimestamp, clone, compare, compare, getCollectionSize, integerToInt, integerToString, setCollectionSize, strim, stringToInteger, stringToLong, stringToString, timestampToBigDecimal, toString, toString, toString, toString
-
Field Details
-
HLO_ID
protected int HLO_IDThe hlo id. -
HLO_IP
The hos ip. -
HLO_LATITUDE
The hos latitude. -
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
-
setIp
-
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
-
setLatitude
-
getLongitude
-
setLongitude
Sets the longitude.- Parameters:
longitude
- the new longitude
-
hashCode
-
equals
-