public interface ModelParticipantInfo extends ParticipantInfo
| Modifier and Type | Field and Description |
|---|---|
static ModelParticipantInfo |
ADMINISTRATOR
Public constant for the Administrator role.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getId, getName, getQualifiedIdstatic final ModelParticipantInfo ADMINISTRATOR
long getRuntimeElementOID()
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.
ModelElement.getElementOID()boolean isDepartmentScoped()
boolean definesDepartmentScope()
DepartmentInfo getDepartment()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.