Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.api
Class MessageRecipient

java.lang.Object
  extended by com.oracle.sft.api.MessageRecipient


public class MessageRecipient
extends Object

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

MessageRecipient

public MessageRecipient()

MessageRecipient

public MessageRecipient(String identity,
                        MessageRecipient.CopyControl copyControl)

Method Detail

setIdentity

public void setIdentity(String id)
Set the uri string for the recipient
Parameters:
id -

setCopyControl

public void setCopyControl(MessageRecipient.CopyControl copyControl)
Set the copycontrol of the recipient
Parameters:
copyControl -

setAnonymize

public void setAnonymize(boolean anonymize)
Set the anonymity settings
Parameters:
anonymize -

getIdentity

public String getIdentity()
Return the uri string of the recipient
Returns:
uri string

getCopyControl

public MessageRecipient.CopyControl getCopyControl()
Return the copycontrol settings of the recipient
Returns:
copycontrol settings

isAnonymous

public boolean isAnonymous()
Return the anonymity status of the recipient
Returns:
the anonymity status

setCount

public void setCount(int count)
Set the recipient count. Indicates the number of anonymous users with a particular copy control.
Parameters:
count -

getCount

public int getCount()
Return the count of Anonymous recipients.
Returns:
the count of Anonymous recipients

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.