org.eclipse.emf.cdo.security
Interface Check

All Superinterfaces:
CDOObject, CDOWithID, EObject, Notifier
All Known Subinterfaces:
ClassCheck, PackageCheck, ResourceCheck
All Known Implementing Classes:
CheckImpl, ClassCheckImpl, PackageCheckImpl, ResourceCheckImpl

public interface Check
extends CDOObject

A representation of the model object 'Check'.

The following features are supported:

See Also:
SecurityPackage.getCheck()
Generated
Extends
CDOObject
Model
abstract="true"

Method Summary
 Permission getPermission()
          Returns the value of the 'Permission' attribute.
 Role getRole()
          Returns the value of the 'Role' container reference.
 boolean isApplicable(CDORevision revision, CDORevisionProvider revisionProvider, CDOBranchPoint securityContext)
           
 void setPermission(Permission value)
          Sets the value of the 'Permission' attribute
 void setRole(Role value)
          Sets the value of the 'Role' container reference
 
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoID, cdoInvalid, cdoLockState, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getRole

Role getRole()
Returns the value of the 'Role' container reference. It is bidirectional and its opposite is 'Checks'.

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.getCheck_Role(), Role.getChecks()
Generated
Model
opposite="checks" required="true" transient="false"

setRole

void 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

getPermission

Permission getPermission()
Returns the value of the 'Permission' attribute. The default value is "WRITE". The literals are from the enumeration Permission.

If the meaning of the 'Permission' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Permission' attribute.
See Also:
Permission, setPermission(Permission), SecurityPackage.getCheck_Permission()
Generated
Model
default="WRITE" required="true"

setPermission

void setPermission(Permission value)
Sets the value of the 'Permission' attribute.

Parameters:
value - the new value of the 'Permission' attribute.
See Also:
Permission, getPermission()
Generated

isApplicable

boolean isApplicable(CDORevision revision,
                     CDORevisionProvider revisionProvider,
                     CDOBranchPoint securityContext)


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.