de.fhkl.zw.mkup.rattrap.entity
Class IpHostname
java.lang.Object
de.fhkl.zw.mkup.rattrap.entity.AbstractEntity
de.fhkl.zw.mkup.rattrap.entity.IpHostname
public class IpHostname
- extends AbstractEntity
- Author:
- rob
this class encapsulates persistence of the AccessMethod entity.
note: we implemented this class, but somehow there is no use for it within the system.. ;-)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IpHostname
public IpHostname()
load
public void load(java.lang.String ip,
java.lang.String hostname)
throws EntityNotFoundException
- Throws:
EntityNotFoundException
insert
public void insert()
throws java.sql.SQLException
- Specified by:
insert
in class AbstractEntity
- Throws:
java.sql.SQLException
update
public void update()
throws java.sql.SQLException
- Specified by:
update
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
getHostname
public java.lang.String getHostname()
- Returns:
- Returns the hostname.
setHostname
public void setHostname(java.lang.String hostname)
- Parameters:
hostname
- The hostname to set.
getIp
public java.lang.String getIp()
- Returns:
- Returns the ip.
setIp
public void setIp(java.lang.String ip)
- Parameters:
ip
- The ip to set.