org.ow2.bonita.facade.def.majorElement.impl
Class ParticipantDefinitionImpl

java.lang.Object
  extended by org.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl
      extended by org.ow2.bonita.facade.def.majorElement.impl.ProcessElementImpl
          extended by org.ow2.bonita.facade.def.majorElement.impl.ParticipantDefinitionImpl
All Implemented Interfaces:
java.io.Serializable, NamedElement, ParticipantDefinition, ProcessElement

public class ParticipantDefinitionImpl
extends ProcessElementImpl
implements ParticipantDefinition

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ow2.bonita.facade.def.majorElement.ParticipantDefinition
ParticipantDefinition.ParticipantType
 
Field Summary
protected  java.lang.String description
           
protected  java.lang.String participantId
           
protected  ParticipantDefinition.ParticipantType participantType
           
protected  RoleMapperDefinition roleMapper
           
protected  ParticipantDefinitionUUID uuid
           
 
Fields inherited from class org.ow2.bonita.facade.def.majorElement.impl.ProcessElementImpl
processDefinitionUUID
 
Fields inherited from class org.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl
name
 
Constructor Summary
protected ParticipantDefinitionImpl()
           
  ParticipantDefinitionImpl(ParticipantDefinition src)
           
  ParticipantDefinitionImpl(ParticipantDefinitionUUID uuid, java.lang.String participantId, ProcessDefinitionUUID processUUID, java.lang.String description, RoleMapperDefinition roleMapper, ParticipantDefinition.ParticipantType participantType, java.lang.String name)
           
 
Method Summary
 java.lang.String getDescription()
          returns a short textual description of the participant.
 java.lang.String getParticipantId()
          Returns the value of the id attribute of the Participant element defined into the XPDL file.
 ParticipantDefinition.ParticipantType getParticipantType()
          Returns the definition of the type of participant entity.
 RoleMapperDefinition getRoleMapper()
          The role mappers feature permits automatic definition of the Bonita roles.
 ParticipantDefinitionUUID getUUID()
          Returns the UUID for the ParticipantDefinition.
 void setDescription(java.lang.String description)
           
 void setResolver(RoleMapperDefinition resolver)
           
 void setUUID(ParticipantDefinitionUUID uuid)
           
 
Methods inherited from class org.ow2.bonita.facade.def.majorElement.impl.ProcessElementImpl
getProcessDefinitionUUID, setProcessDefinitionUUID
 
Methods inherited from class org.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.bonita.facade.def.majorElement.ProcessElement
getProcessDefinitionUUID, setProcessDefinitionUUID
 
Methods inherited from interface org.ow2.bonita.facade.def.majorElement.NamedElement
getName
 

Field Detail

uuid

protected ParticipantDefinitionUUID uuid

participantId

protected java.lang.String participantId

description

protected java.lang.String description

participantType

protected ParticipantDefinition.ParticipantType participantType

roleMapper

protected RoleMapperDefinition roleMapper
Constructor Detail

ParticipantDefinitionImpl

protected ParticipantDefinitionImpl()

ParticipantDefinitionImpl

public ParticipantDefinitionImpl(ParticipantDefinitionUUID uuid,
                                 java.lang.String participantId,
                                 ProcessDefinitionUUID processUUID,
                                 java.lang.String description,
                                 RoleMapperDefinition roleMapper,
                                 ParticipantDefinition.ParticipantType participantType,
                                 java.lang.String name)

ParticipantDefinitionImpl

public ParticipantDefinitionImpl(ParticipantDefinition src)
Method Detail

getDescription

public java.lang.String getDescription()
Description copied from interface: ParticipantDefinition
returns a short textual description of the participant.

Specified by:
getDescription in interface ParticipantDefinition

getParticipantType

public ParticipantDefinition.ParticipantType getParticipantType()
Description copied from interface: ParticipantDefinition
Returns the definition of the type of participant entity.

Specified by:
getParticipantType in interface ParticipantDefinition

getRoleMapper

public RoleMapperDefinition getRoleMapper()
Description copied from interface: ParticipantDefinition
The role mappers feature permits automatic definition of the Bonita roles. This advanced feature is defined within the xpdl file with extended attributes within the participant element definition. A call to a java class is performed when the task is created.

Specified by:
getRoleMapper in interface ParticipantDefinition
Returns:
RoleMapperDefinition interface.

getParticipantId

public java.lang.String getParticipantId()
Description copied from interface: ParticipantDefinition
Returns the value of the id attribute of the Participant element defined into the XPDL file.

Specified by:
getParticipantId in interface ParticipantDefinition

getUUID

public ParticipantDefinitionUUID getUUID()
Description copied from interface: ParticipantDefinition
Returns the UUID for the ParticipantDefinition.

Specified by:
getUUID in interface ParticipantDefinition

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface ParticipantDefinition

setUUID

public void setUUID(ParticipantDefinitionUUID uuid)
Specified by:
setUUID in interface ParticipantDefinition

setResolver

public void setResolver(RoleMapperDefinition resolver)


Copyright © 2009 OW2 Consortium. All Rights Reserved.