java.lang.Object | +--com.ibm.commerce.messaging.outboundservice.RecipientInfo
A Recipient Information object to represent a recipient that a message is being sent to.
Field Summary | |
---|---|
static int |
MEMBER The member |
static int |
ORGANIZATION The organization |
static int |
SECUREMASK The secure mask |
static int |
SECUREMEMBER The secure member |
static int |
SECUREORGANIZATION The secure organization |
static int |
SECURESTORE The secure store |
static int |
STORE The store |
Constructor Summary | |
---|---|
RecipientInfo() Constructs the RecipientInfo object. | |
RecipientInfo(java.lang.Object a_recipientID,
int a_recipientType) Constructs the RecipientInfo object. |
Method Summary | |
---|---|
java.lang.Object |
getRecipientId() Returns the recipient Id. |
int |
getRecipientType() Returns the recipient type. |
boolean |
isMember() Determines whether the recipient type is a member. |
boolean |
isOrganization() Determines whether the recipient type is an organization. |
boolean |
isSecureMember() Determines whether the recipient's address info is secure or not. |
boolean |
isSecureOrganization() Determines whether the recipient's address info of an organization is secure or not. |
boolean |
isSecureStore() Determines whether the recipient's address info of a store is secure or not. |
boolean |
isStore() Determines whether the recipient type is a store. |
void |
setRecipientId(java.lang.Object newRecipientId) Sets the recipient Id. |
void |
setRecipientType(int newRecipientType) Sets the recipient type. |
java.lang.String |
toString() Returns a String that represents the value of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait,
wait, wait |
Field Detail |
---|
public static final int SECUREMASK
public static final int STORE
public static final int SECURESTORE
public static final int ORGANIZATION
public static final int SECUREORGANIZATION
public static final int MEMBER
public static final int SECUREMEMBER
Constructor Detail |
---|
public RecipientInfo()
public RecipientInfo(java.lang.Object a_recipientID, int a_recipientType)
a_recipientID
- java.lang.Object The recipient Id.a_recipientType
- int The recipient type.Method Detail |
---|
public java.lang.Object getRecipientId()
public int getRecipientType()
public boolean isMember()
public boolean isOrganization()
public boolean isSecureMember()
public boolean isSecureOrganization()
public boolean isSecureStore()
public boolean isStore()
public void setRecipientId(java.lang.Object newRecipientId)
newRecipientId
- The recipient Id.public void setRecipientType(int newRecipientType)
newRecipientType
- The recipient type.public java.lang.String toString()
toString
in class java.lang.Object