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()
Mailbox
getMailboxId
in interface Mailbox<Id>
Mailbox.getMailboxId()
public String getNamespace()
Mailbox
getNamespace
in interface Mailbox<Id>
Mailbox.getNamespace()
public void setNamespace(String namespace)
Mailbox
setNamespace
in interface Mailbox<Id>
namespace
- not nullMailbox.setNamespace(java.lang.String)
public String getUser()
Mailbox
getUser
in interface Mailbox<Id>
Mailbox.getUser()
public void setUser(String user)
Mailbox
setUser
in interface Mailbox<Id>
user
- not nullMailbox.setUser(java.lang.String)
public String getName()
Mailbox
getName
in interface Mailbox<Id>
Mailbox.getName()
public void setName(String name)
Mailbox
setName
in interface Mailbox<Id>
name
- not nullMailbox.setName(java.lang.String
)
public long getUidValidity()
Mailbox
getUidValidity
in interface Mailbox<Id>
Mailbox.getUidValidity()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
public void setMailboxId(Id id)
public MailboxACL getACL()
Mailbox
public void setACL(MailboxACL acl)
Mailbox
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.