public class RecipientInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
RecipientInfo()
Default RecipientInfo constructor that calls its parents constructor.
|
RecipientInfo(java.lang.Object a_recipientID,
int a_recipientType)
Constructs the RecipientInfo object with a recipient ID and recipient type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getRecipientId()
This method returns the recipient ID.
|
int |
getRecipientType()
This method returns the recipient type.
|
boolean |
isMember()
This method determines whether the recipient type is a member (not an organization or store).
|
boolean |
isOrganization()
This method determines whether the recipient type is an organization (not a member or store).
|
boolean |
isSecureMember()
This method determines whether the recipient is a member with non-public address information or not.
|
boolean |
isSecureOrganization()
This method determines whether the recipient is an organization with non-public address information or not.
|
boolean |
isSecureStore()
Determines whether the recipient is a store with non-public address information or not.
|
boolean |
isStore()
Determines whether the recipient type is a store(not a member or organization).
|
void |
setRecipientId(java.lang.Object newRecipientId)
This method sets the recipient ID.
|
void |
setRecipientType(int newRecipientType)
This method sets the recipient type.
|
java.lang.String |
toString()
This method returns a String that represents the value of this object.
|
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
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.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