Class HostLocation
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.HostLocation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThe hlo id.protected StringThe hos ip.protected DoubleThe hos latitude.protected DoubleThe 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 TypeMethodDescriptionbooleanEquals.intgetId()Gets the id.getIp()Gets the ip.Gets the latitude.Gets the longitude.inthashCode()Hash code.voidsetId(int param) Sets the id.voidSets the ip.voidsetLatitude(Double latitude) Sets the latitude.voidsetLongitude(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
-