org.apache.mailreaderjpa
Class User

java.lang.Object
  extended by org.apache.mailreaderjpa.User
All Implemented Interfaces:
Serializable

public class User
extends Object
implements Serializable

JPA entity class for the MAILREADER_USERS table.

See Also:
Serialized Form

Constructor Summary
User()
          Creates a new instance of User
 
Method Summary
 void addSubscription(Subscription subscription)
           
 boolean equals(Object obj)
           
 String getFromAddress()
           
 String getFullName()
           
 Integer getId()
           
 Timestamp getLastUpdate()
           
 String getPassword()
           
 String getReplyToAddress()
           
 List<Subscription> getSubscriptions()
           
 String getUsername()
           
 int hashCode()
           
 void removeSubscription(Subscription subscription)
           
 void setFromAddress(String fromAddress)
           
 void setFullName(String fullName)
           
 void setId(Integer id)
           
 void setLastUpdate(Timestamp lastUpdate)
           
 void setPassword(String password)
           
 void setReplyToAddress(String replyToAddress)
           
 void setSubscriptions(List<Subscription> subscriptions)
           
 void setUsername(String username)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User()
Creates a new instance of User

Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getFromAddress

public String getFromAddress()

setFromAddress

public void setFromAddress(String fromAddress)

getFullName

public String getFullName()

setFullName

public void setFullName(String fullName)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getReplyToAddress

public String getReplyToAddress()

setReplyToAddress

public void setReplyToAddress(String replyToAddress)

getSubscriptions

public List<Subscription> getSubscriptions()

setSubscriptions

public void setSubscriptions(List<Subscription> subscriptions)

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getLastUpdate

public Timestamp getLastUpdate()

setLastUpdate

public void setLastUpdate(Timestamp lastUpdate)

addSubscription

public void addSubscription(Subscription subscription)

removeSubscription

public void removeSubscription(Subscription subscription)


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.