org.jwarp.flow.security
Class Participant

java.lang.Object
  |
  +--org.jwarp.flow.AWorkflowObject
        |
        +--org.jwarp.flow.security.Participant
All Implemented Interfaces:
IParticipant, IWorkflowObject

public class Participant
extends AWorkflowObject
implements IParticipant

Participant are the basic entitiy types such as a machine, a computer or a himan being.

Version:
1.0
Author:
A. Tresch

Field Summary
(package private)  short entityType
           
(package private)  IWorkflowSystem system
           
 
Fields inherited from class org.jwarp.flow.AWorkflowObject
description, id, name, workflow
 
Fields inherited from interface org.jwarp.flow.security.IParticipant
ENTITIY_HUMAN, ENTITIY_MACHINE, ENTITY_EXTERNAL
 
Constructor Summary
Participant(int id, java.lang.String name, short type, IWorkflowSystem system)
           
 
Method Summary
 int getEntityType()
          Returns the type of the participant.
 IWorkflowSystem getWorkflowSystem()
          Return the corresponding workflow system (if any).
 
Methods inherited from class org.jwarp.flow.AWorkflowObject
getDescription, getID, getName, getWorkflow, setDescription, setName, setWorkflow
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jwarp.flow.IWorkflowObject
getDescription, getID, getName
 

Field Detail

entityType

short entityType

system

IWorkflowSystem system
Constructor Detail

Participant

public Participant(int id,
                   java.lang.String name,
                   short type,
                   IWorkflowSystem system)
Method Detail

getEntityType

public int getEntityType()
Returns the type of the participant.
Specified by:
getEntityType in interface IParticipant
Returns:
The type

getWorkflowSystem

public IWorkflowSystem getWorkflowSystem()
Description copied from interface: IParticipant
Return the corresponding workflow system (if any).
Specified by:
getWorkflowSystem in interface IParticipant
Following copied from interface: org.jwarp.flow.security.IParticipant
Returns:
the workflow syastem or null

©   O R C A   S y s t e m s