de.fhkl.zw.mkup.rattrap.entity
Class GeoLocatedHost
java.lang.Object
de.fhkl.zw.mkup.rattrap.entity.AbstractEntity
de.fhkl.zw.mkup.rattrap.entity.GeoLocatedHost
public class GeoLocatedHost
- extends AbstractEntity
- Author:
- rob
this class encapsulates persistence of the GeoLocatedHost entity.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoLocatedHost
public GeoLocatedHost(java.lang.String hostname)
GeoLocatedHost
public GeoLocatedHost()
loadNotLocalizedCollection
public static java.util.Vector loadNotLocalizedCollection()
throws EntityNotFoundException
- returns a collection of all GeoLocatedHost objects
- Returns:
-
- Throws:
EntityNotFoundException
load
public void load(java.lang.String hostname)
throws EntityNotFoundException
- Throws:
EntityNotFoundException
load
public void load(int geoLocatedHostPK)
throws EntityNotFoundException
- Throws:
EntityNotFoundException
update
public void update()
throws java.sql.SQLException
- Specified by:
update
in class AbstractEntity
- Throws:
java.sql.SQLException
insert
public void insert()
throws java.sql.SQLException
- Specified by:
insert
in class AbstractEntity
- Throws:
java.sql.SQLException
delete
public void delete()
throws java.sql.SQLException
- Specified by:
delete
in class AbstractEntity
- Throws:
java.sql.SQLException
getCity
public java.lang.String getCity()
- Returns:
- Returns the city.
setCity
public void setCity(java.lang.String city)
- Parameters:
city
- The city to set.
getCountry
public java.lang.String getCountry()
- Returns:
- Returns the country.
setCountry
public void setCountry(java.lang.String country)
- Parameters:
country
- The country to set.
getHostname
public java.lang.String getHostname()
- Returns:
- Returns the hostname.
setHostname
public void setHostname(java.lang.String hostname)
- Parameters:
hostname
- The hostname to set.
getIpNumber
public long getIpNumber()
- Returns:
- Returns the ipNumber.
setIpNumber
public void setIpNumber(long ipNumber)
- Parameters:
ipNumber
- The ipNumber to set.
getIpRangePK
public int getIpRangePK()
- Returns:
- Returns the ipRangePK.
setIpRangePK
public void setIpRangePK(int ipRangePK)
- Parameters:
ipRangePK
- The ipRangePK to set.
getLatitude
public java.lang.String getLatitude()
- Returns:
- Returns the latitude.
setLatitude
public void setLatitude(java.lang.String latitude)
- Parameters:
latitude
- The latitude to set.
getLongitude
public java.lang.String getLongitude()
- Returns:
- Returns the longitude.
setLongitude
public void setLongitude(java.lang.String longitude)
- Parameters:
longitude
- The longitude to set.
getState
public java.lang.String getState()
- Returns:
- Returns the state.
setState
public void setState(java.lang.String state)
- Parameters:
state
- The state to set.
getGeoLocatedHostPK
public int getGeoLocatedHostPK()
- Returns:
- Returns the geoLocatedHostPK.
setLocated
public void setLocated(boolean isLocated)
- sets the isLocated property
getIpadress
public java.lang.String getIpadress()
- Returns:
- Returns the ipadress.
setIpadress
public void setIpadress(java.lang.String ipadress)
- Parameters:
ipadress
- The ipadress to set.
getIsLocated
public java.lang.String getIsLocated()
- Returns:
- Returns the isLocated.
setIsLocated
public void setIsLocated(java.lang.String isLocated)
- Parameters:
isLocated
- The isLocated to set.
getRelevance
public int getRelevance()
- Returns:
- Returns the relevance.
setRelevance
public void setRelevance(int relevance)
- Parameters:
relevance
- The relevance to set.