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

java.lang.Object
  extended by de.fhkl.zw.mkup.rattrap.entity.AbstractEntity
      extended by de.fhkl.zw.mkup.rattrap.entity.MailReceived

public class MailReceived
extends AbstractEntity

Author:
rob this class encapsulates persistence of the MailReceived entity.

Constructor Summary
MailReceived()
           
 
Method Summary
 void delete()
           
 java.lang.String getEnvelopeTo()
           
 int getGeoLocatedHostPK()
           
 int getMailReceivedPK()
           
 java.sql.Date getReceivedDate()
           
 java.lang.String getSourcecode()
           
 void insert()
           
 void load(int mailReceivedPK)
           
 void setEnvelopeTo(java.lang.String envelopeTo)
           
 void setGeoLocatedHostPK(int geoLocatedHostPK)
           
 void setReceivedDate(java.sql.Date receivedDate)
           
 void setReceivedDate(long timestamp)
           
 void setSourcecode(java.lang.String sourcecode)
           
 void update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailReceived

public MailReceived()
Method Detail

load

public void load(int mailReceivedPK)
          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

getEnvelopeTo

public java.lang.String getEnvelopeTo()
Returns:
Returns the envelopeTo.

setEnvelopeTo

public void setEnvelopeTo(java.lang.String envelopeTo)
Parameters:
envelopeTo - The envelopeTo to set.

getReceivedDate

public java.sql.Date getReceivedDate()
Returns:
Returns the receivedDate.

setReceivedDate

public void setReceivedDate(long timestamp)
Parameters:
receivedDate - The receivedDate to set.

getSourcecode

public java.lang.String getSourcecode()
Returns:
Returns the sourcecode.

setSourcecode

public void setSourcecode(java.lang.String sourcecode)
Parameters:
sourcecode - The sourcecode to set.

getMailReceivedPK

public int getMailReceivedPK()
Returns:
Returns the mailReceivedPK.

getGeoLocatedHostPK

public int getGeoLocatedHostPK()
Returns:
Returns the geoLocatedHostPK.

setGeoLocatedHostPK

public void setGeoLocatedHostPK(int geoLocatedHostPK)
Parameters:
geoLocatedHostPK - The geoLocatedHostPK to set.

setReceivedDate

public void setReceivedDate(java.sql.Date receivedDate)
Parameters:
receivedDate - The receivedDate to set.