de.fhkl.zw.mkup.rattrap.entity
Class AbstractEntity

java.lang.Object
  extended by de.fhkl.zw.mkup.rattrap.entity.AbstractEntity
Direct Known Subclasses:
AccessMethod, GeoLocatedHost, HarvesterAccessLog, HarvesterSpamLink, IpHostname, IpRangeDb, MailReceived, UserAgents

public abstract class AbstractEntity
extends java.lang.Object

Author:
rob this class defines the interface that entity classes should implement.

Constructor Summary
AbstractEntity()
           
 
Method Summary
abstract  void delete()
           
abstract  void insert()
           
abstract  void update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEntity

public AbstractEntity()
Method Detail

insert

public abstract void insert()
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

update

public abstract void update()
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

delete

public abstract void delete()
                     throws java.sql.SQLException
Throws:
java.sql.SQLException