public class Participant
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HUMAN
Constant identifying the human participant type.
|
| Constructor and Description |
|---|
Participant()
Default constructor.
|
Participant(DistinguishedName dn,
java.lang.String type)
Constructs with distinguished name and type.
|
Participant(DistinguishedName dn,
java.lang.String id,
java.lang.String type)
Constructs with distinguished name, id, and type.
|
Participant(java.lang.String id,
java.lang.String type)
Constructs with distinguished name and type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object compObj) |
DistinguishedName |
getDistinguishedName()
Returns the distinguished name of the participant.
|
java.lang.String |
getId()
Returns the string identifier of the participant.
|
java.lang.String |
getType()
Returns the type of the participant.
|
void |
setDistinguishedName(DistinguishedName dn)
Changes the distinguished name of the participant.
|
void |
setId(java.lang.String id)
Changes the string identifier of the participant.
|
void |
setType(java.lang.String type)
Changes the type of the participant.
|
java.lang.String |
toString() |
public static final java.lang.String HUMAN
public Participant()
public Participant(DistinguishedName dn, java.lang.String type)
dn - DistinguishedName of the participant.type - Type of the participant (i.e., HUMAN).public Participant(DistinguishedName dn, java.lang.String id, java.lang.String type)
dn - DistinguishedName of the participant.id - Identifier of the participant.type - Type of the participant (i.e., HUMAN).public Participant(java.lang.String id,
java.lang.String type)
id - Identifier of the participant.type - Type of the participant (i.e., HUMAN).public DistinguishedName getDistinguishedName()
public void setDistinguishedName(DistinguishedName dn)
dn - DistinguishedName of the participant.public java.lang.String getId()
public void setId(java.lang.String id)
id - Identifier of the participant.public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object compObj)
equals in class java.lang.Object