org.eclipse.stardust.engine.api.runtime
Interface Grant

All Superinterfaces:
Serializable

public interface Grant
extends Serializable

The Grant class represents a permission granted to a user to perform as a specific model participant (role or organization) of a model.

Version:
$Revision$
Author:
ubirkemeyer

Method Summary
 Department getDepartment()
          Gets the department with which this grant is associated.
 String getId()
          Gets the ID of the participant.
 String getName()
          Gets the name of the participant.
 String getNamespace()
          Gets the participant namespace.
 String getQualifiedId()
          Gets the qualified ID of the participant
 boolean isOrganization()
          Gets whether this participant is a role or an organization.
 

Method Detail

getId

String getId()
Gets the ID of the participant.

Returns:
the ID of the participant.

getQualifiedId

String getQualifiedId()
Gets the qualified ID of the participant

Returns:
the qualified id in the form "{}"

getNamespace

String getNamespace()
Gets the participant namespace.

Returns:
the ID of the model.

getName

String getName()
Gets the name of the participant.

Returns:
the name of the participant.

isOrganization

boolean isOrganization()
Gets whether this participant is a role or an organization.

Returns:
true if the participant is an Organization.

getDepartment

Department getDepartment()
Gets the department with which this grant is associated.

Returns:
the associated Department or null if the grant has no department association.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.