public class SimpleMailbox<Id> extends Object implements Mailbox<Id>
| Constructor and Description |
|---|
SimpleMailbox(Mailbox<Id> mailbox) |
SimpleMailbox(MailboxPath path,
long uidValidity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
MailboxACL |
getACL()
Gets the current ACL for this mailbox.
|
Id |
getMailboxId()
Gets the unique mailbox ID.
|
String |
getName()
Gets the current name for this mailbox.
|
String |
getNamespace()
Gets the current namespace for this mailbox.
|
long |
getUidValidity()
Gets the current UID VALIDITY for this mailbox.
|
String |
getUser()
Gets the current user for this mailbox.
|
int |
hashCode() |
void |
setACL(MailboxACL acl)
Sets the current ACL for this mailbox.
|
void |
setMailboxId(Id id) |
void |
setName(String name)
Sets the current name for this mailbox.
|
void |
setNamespace(String namespace)
Sets the current namespace for this mailbox.
|
void |
setUser(String user)
Sets the current user for this mailbox.
|
String |
toString() |
public SimpleMailbox(MailboxPath path, long uidValidity)
public Id getMailboxId()
MailboxgetMailboxId in interface Mailbox<Id>Mailbox.getMailboxId()public String getNamespace()
MailboxgetNamespace in interface Mailbox<Id>Mailbox.getNamespace()public void setNamespace(String namespace)
MailboxsetNamespace in interface Mailbox<Id>namespace - not nullMailbox.setNamespace(java.lang.String)public String getUser()
MailboxgetUser in interface Mailbox<Id>Mailbox.getUser()public void setUser(String user)
MailboxsetUser in interface Mailbox<Id>user - not nullMailbox.setUser(java.lang.String)public String getName()
MailboxgetName in interface Mailbox<Id>Mailbox.getName()public void setName(String name)
MailboxsetName in interface Mailbox<Id>name - not nullMailbox.setName(java.lang.String
)public long getUidValidity()
MailboxgetUidValidity in interface Mailbox<Id>Mailbox.getUidValidity()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()public void setMailboxId(Id id)
public MailboxACL getACL()
Mailboxpublic void setACL(MailboxACL acl)
MailboxCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.