Package org.eclipse.emf.cdo.security
Interface Permission
- 
- All Superinterfaces:
- CDOObject,- CDOWithID,- org.eclipse.emf.ecore.EObject,- org.eclipse.emf.common.notify.Notifier
 - All Known Subinterfaces:
- ClassPermission,- FilterPermission,- ObjectPermission,- PackagePermission,- ResourcePermission
 - All Known Implementing Classes:
- ClassPermissionImpl,- FilterPermissionImpl,- ObjectPermissionImpl,- PackagePermissionImpl,- PermissionImpl,- ResourcePermissionImpl
 
 public interface Permission extends CDOObject A representation of the model object 'Permission'.The following features are supported: - See Also:
- SecurityPackage.getPermission()
- Generated
- Extends
- CDOObject
- Model
- abstract="true"
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessgetAccess()Returns the value of the 'Access' attribute.RolegetRole()Returns the value of the 'Role' container reference.booleanisApplicable(CDORevision revision, CDORevisionProvider revisionProvider, CDOBranchPoint securityContext)voidsetAccess(Access value)Sets the value of the 'Access' attribute.voidsetRole(Role value)Sets the value of the 'Role' container reference.- 
Methods inherited from interface org.eclipse.emf.cdo.CDOObjectcdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
 
- 
 
- 
- 
- 
Method Detail- 
getRoleRole getRole() Returns the value of the 'Role' container reference. It is bidirectional and its opposite is 'Permissions'.If the meaning of the 'Role' container reference isn't clear, there really should be more of a description here... - Returns:
- the value of the 'Role' container reference.
- See Also:
- setRole(Role),- SecurityPackage.getPermission_Role(),- Role.getPermissions()
- Generated
- Model
- opposite="permissions" required="true" transient="false"
 
 - 
setRolevoid setRole(Role value) Sets the value of the 'Role' container reference.- Parameters:
- value- the new value of the 'Role' container reference.
- See Also:
- getRole()
- Generated
 
 - 
getAccessAccess getAccess() Returns the value of the 'Access' attribute. The default value is"WRITE". The literals are from the enumerationAccess.If the meaning of the 'Access' attribute isn't clear, there really should be more of a description here... - Returns:
- the value of the 'Access' attribute.
- See Also:
- Access,- setAccess(Access),- SecurityPackage.getPermission_Access()
- Generated
- Model
- default="WRITE" required="true"
 
 - 
setAccessvoid setAccess(Access value) Sets the value of the 'Access' attribute.- Parameters:
- value- the new value of the 'Access' attribute.
- See Also:
- Access,- getAccess()
- Generated
 
 - 
isApplicableboolean isApplicable(CDORevision revision, CDORevisionProvider revisionProvider, CDOBranchPoint securityContext) 
 
- 
 
-