|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.danet.an.workflow.api.Participant.ParticipantType
This class defines the participant type for a participant.
Field Summary | |
static Participant.ParticipantType |
HUMAN
HUMAN ParticipantType. |
static Participant.ParticipantType |
ORGANIZATIONAL_UNIT
ORGANIZATIONAL_UNIT ParticipantType. |
static Participant.ParticipantType |
RESOURCE
RESOURCE ParticipantType. |
static Participant.ParticipantType |
RESOURCE_SET
RESOURCE_SET ParticipantType. |
static Participant.ParticipantType |
ROLE
ROLE ParticipantType. |
static Participant.ParticipantType |
SYSTEM
SYSTEM ParticipantType. |
Method Summary | |
static Participant.ParticipantType |
fromString(java.lang.String text)
Get a participant type by name. |
boolean |
isHuman()
Checks if the type is "HUMAN". |
boolean |
isOrganizationUnit()
Checks if the type is "ORGANIZATIONAL_UNIT". |
boolean |
isResource()
Checks if the type is "RESOURCE". |
boolean |
isResourceSet()
Checks if the type is "RESOURCE_SET". |
boolean |
isRole()
Checks if the type is "ROLE". |
boolean |
isSystem()
Checks if the type is "SYSTEM". |
java.lang.String |
toString()
Returns the type as text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Participant.ParticipantType RESOURCE_SET
public static final Participant.ParticipantType RESOURCE
public static final Participant.ParticipantType ROLE
public static final Participant.ParticipantType ORGANIZATIONAL_UNIT
public static final Participant.ParticipantType HUMAN
public static final Participant.ParticipantType SYSTEM
Method Detail |
public static Participant.ParticipantType fromString(java.lang.String text) throws java.lang.IllegalArgumentException
text
- participant type name to search
java.lang.IllegalArgumentException
- if text
is not a valid
participant type name.public final java.lang.String toString()
public final boolean isResourceSet()
true
if the type is "RESOURCE_SET".public final boolean isResource()
true
if the type is "RESOURCE".public final boolean isRole()
true
if the type is "ROLE".public final boolean isOrganizationUnit()
true
if the type is "ORGANIZATIONAL_UNIT".public final boolean isHuman()
true
if the type is "HUMAN".public final boolean isSystem()
true
if the type is "SYSTEM".
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |