Package org.eclipse.emf.cdo.security
Interface Permission
- All Known Subinterfaces:
ClassPermission,FilterPermission,ObjectPermission,PackagePermission,ResourcePermission
- All Known Implementing Classes:
ClassPermissionImpl,FilterPermissionImpl,ObjectPermissionImpl,PackagePermissionImpl,PermissionImpl,ResourcePermissionImpl
A representation of the model object 'Permission'.
The following features are supported:
- See Also:
- Generated
- Extends
- CDOObject
- Model
- abstract="true"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Access' attribute.getRole()Returns the value of the 'Role' container reference.booleanisApplicable(CDORevision revision, CDORevisionProvider revisionProvider, CDOBranchPoint securityContext) voidSets the value of the 'Access' attribute.voidSets the value of the 'Role' container reference.Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOptionMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getRole
Role 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:
- Generated
- Model
- opposite="permissions" required="true" transient="false"
-
setRole
Sets the value of the 'Role' container reference.- Parameters:
value- the new value of the 'Role' container reference.- See Also:
- Generated
-
getAccess
Access 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:
- Generated
- Model
- default="WRITE" required="true"
-
setAccess
Sets the value of the 'Access' attribute.- Parameters:
value- the new value of the 'Access' attribute.- See Also:
- Generated
-
isApplicable
boolean isApplicable(CDORevision revision, CDORevisionProvider revisionProvider, CDOBranchPoint securityContext)
-