|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.mailbox.jpa.user.model.JPASubscription
@Entity(name="Subscription") public class JPASubscription
A subscription to a mailbox by a user.
| Constructor Summary | |
|---|---|
JPASubscription()
Deprecated. |
|
JPASubscription(String username,
String mailbox)
Constructs a user subscription. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getMailbox()
|
String |
getUser()
|
int |
hashCode()
|
String |
toString()
Renders output suitable for debugging. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public JPASubscription()
public JPASubscription(String username,
String mailbox)
username - not nullmailbox - not null| Method Detail |
|---|
public String getMailbox()
getMailbox in interface SubscriptionSubscription.getMailbox()public String getUser()
getUser in interface SubscriptionSubscription.getUser()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||