public abstract class RoleImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Role
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| Modifier and Type | Method and Description |
|---|---|
boolean |
canAdministrate(ProjectId projectId)
Determines if the role can administrate the
project.
|
boolean |
canCreate(ProjectId projectId,
org.eclipse.emf.ecore.EObject modelElement) |
boolean |
canDelete(ProjectId projectId,
org.eclipse.emf.ecore.EObject modelElement) |
boolean |
canModify(ProjectId projectId,
org.eclipse.emf.ecore.EObject modelElement) |
boolean |
canRead(ProjectId projectId,
org.eclipse.emf.ecore.EObject modelElement) |
ESRoleImpl |
createAPI()
Creates the API interface for this class.
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
org.eclipse.emf.common.util.EList<ProjectId> |
getProjects()
Get all projects of the role.
|
ESRole |
toAPI()
Returns the API interface of this class.
|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toStringeNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic org.eclipse.emf.common.util.EList<ProjectId> getProjects()
getProjects in interface RoleRolesPackage.getRole_Projects()public boolean canAdministrate(ProjectId projectId)
canAdministrate in interface RoleprojectId - the project idRole.canAdministrate(org.eclipse.emf.emfstore.internal.server.model.ProjectId)public boolean canCreate(ProjectId projectId, org.eclipse.emf.ecore.EObject modelElement)
canCreate in interface RoleRole.canCreate(org.eclipse.emf.emfstore.internal.server.model.ProjectId,
org.eclipse.emf.ecore.EObject)public boolean canDelete(ProjectId projectId, org.eclipse.emf.ecore.EObject modelElement)
canDelete in interface RoleRole.canDelete(org.eclipse.emf.emfstore.internal.server.model.ProjectId,
org.eclipse.emf.ecore.EObject)public boolean canModify(ProjectId projectId, org.eclipse.emf.ecore.EObject modelElement)
canModify in interface RoleRole.canModify(org.eclipse.emf.emfstore.internal.server.model.ProjectId,
org.eclipse.emf.ecore.EObject)public boolean canRead(ProjectId projectId, org.eclipse.emf.ecore.EObject modelElement)
canRead in interface RoleRole.canRead(org.eclipse.emf.emfstore.internal.server.model.ProjectId,
org.eclipse.emf.ecore.EObject)public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplBasicEObjectImpl.eGet(int, boolean, boolean)public void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic ESRole toAPI()
toAPI in interface APIDelegate<ESRole>APIDelegate.toAPI()public ESRoleImpl createAPI()
createAPI in interface APIDelegate<ESRole>APIDelegate.createAPI()Copyright © 2017. All rights reserved.