|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.cafe.api.MessageRecipient
public class MessageRecipient
Represents MessageRecipient specified in the resource-list of a message.
| Nested Class Summary | |
|---|---|
static class |
MessageRecipient.CopyControl
Represents various CopyControl options for a MessageRecipient. |
| Constructor Summary | |
|---|---|
MessageRecipient()
|
|
MessageRecipient(String identity,
MessageRecipient.CopyControl copyControl)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
MessageRecipient.CopyControl |
getCopyControl()
Return the copycontrol settings of the recipient |
int |
getCount()
Return the count of Anonymous recipients. |
String |
getIdentity()
Return the uri string of the recipient |
int |
hashCode()
|
boolean |
isAnonymous()
Return the anonymity status of the recipient |
void |
setAnonymize(boolean anonymize)
Set the anonymity settings |
void |
setCopyControl(MessageRecipient.CopyControl copyControl)
Set the copycontrol of the recipient |
void |
setCount(int count)
Set the recipient count. |
void |
setIdentity(String id)
Set the uri string for the recipient |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageRecipient()
public MessageRecipient(String identity,
MessageRecipient.CopyControl copyControl)
| Method Detail |
|---|
public void setIdentity(String id)
id - public void setCopyControl(MessageRecipient.CopyControl copyControl)
copyControl - public void setAnonymize(boolean anonymize)
anonymize - public String getIdentity()
public MessageRecipient.CopyControl getCopyControl()
public boolean isAnonymous()
public void setCount(int count)
count - public int getCount()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||