org.eclipse.stardust.engine.api.model
Interface ModelParticipantInfo

All Superinterfaces:
ParticipantInfo, Serializable
All Known Subinterfaces:
ConditionalPerformer, ConditionalPerformerInfo, ModelParticipant, Organization, OrganizationInfo, org.eclipse.stardust.engine.api.model.QualifiedConditionalPerformerInfo, org.eclipse.stardust.engine.api.model.QualifiedModelParticipantInfo, org.eclipse.stardust.engine.api.model.QualifiedOrganizationInfo, org.eclipse.stardust.engine.api.model.QualifiedRoleInfo, Role, RoleInfo

public interface ModelParticipantInfo
extends ParticipantInfo

A client side view with base information only of a workflow participant defined in a workflow model. A participant is a workflow element which performs manual or interactive activities.

Version:
$Revision: $
Author:
Florin.Herinean

Field Summary
static ModelParticipantInfo ADMINISTRATOR
          Public constant for the Administrator role.
 
Method Summary
 boolean definesDepartmentScope()
          Returns true if the model participant is modeled to support creation of its own departments.
 DepartmentInfo getDepartment()
          Returns the department associated with this model participant or null if the participant has no department association.
This method will return Department.DEFAULT instead of null if this object was obtained from Department.DEFAULT.getScopedParticipant(ModelParticipant).
 long getRuntimeElementOID()
          Gets the runtime OID of the model element.
 boolean isDepartmentScoped()
          Returns true if model participant is modeled to support departments, either directly or inherited from the parent.
 
Methods inherited from interface org.eclipse.stardust.engine.api.model.ParticipantInfo
getId, getName, getQualifiedId
 

Field Detail

ADMINISTRATOR

static final ModelParticipantInfo ADMINISTRATOR
Public constant for the Administrator role.

Method Detail

getRuntimeElementOID

long getRuntimeElementOID()
Gets the runtime OID of the model element.

Contrary to the element OID, runtime element OIDs are guaranteed to be stable over model versions for model elements of same type and identical fully qualified IDs.

The fully qualified ID of a model element consists of the concatenation of the fully qualified element ID of its parent element, if existent, and the element ID.

Returns:
the runtime model element OID
See Also:
ModelElement.getElementOID()

isDepartmentScoped

boolean isDepartmentScoped()
Returns true if model participant is modeled to support departments, either directly or inherited from the parent.

Returns:
true if this model participant supports department scoping, otherwise false.

definesDepartmentScope

boolean definesDepartmentScope()
Returns true if the model participant is modeled to support creation of its own departments.

Returns:
true if this model participant supports creation of departments, otherwise false.

getDepartment

DepartmentInfo getDepartment()
Returns the department associated with this model participant or null if the participant has no department association.
This method will return Department.DEFAULT instead of null if this object was obtained from Department.DEFAULT.getScopedParticipant(ModelParticipant).

Returns:
The department info.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.