org.eclipse.emf.cdo.security.impl
Class RealmImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecore.impl.EStoreEObjectImpl
                  extended by org.eclipse.emf.internal.cdo.CDOObjectImpl
                      extended by org.eclipse.emf.cdo.etypes.impl.ModelElementImpl
                          extended by org.eclipse.emf.cdo.security.impl.SecurityElementImpl
                              extended by org.eclipse.emf.cdo.security.impl.RealmImpl
All Implemented Interfaces:
CDOObject, CDOWithID, CDOPackageTypeRegistry.CDOObjectMarker, ModelElement, Realm, SecurityElement, Notifier, EObject, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject, InternalCDOLoadable, InternalCDOObject

public class RealmImpl
extends SecurityElementImpl
implements Realm

An implementation of the model object 'Realm'.

The following features are implemented:

Generated

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
CDOObjectImpl.CDOStoreEcoreEMap, CDOObjectImpl.CDOStoreFeatureMap, CDOObjectImpl.CDOStoreSettingsImpl, CDOObjectImpl.CDOStoreUnorderedEList<E>
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.EStoreEObjectImpl
EStoreEObjectImpl.BasicEStoreEList<E>, EStoreEObjectImpl.BasicEStoreFeatureMap, EStoreEObjectImpl.EStoreEList<E>, EStoreEObjectImpl.EStoreEPropertiesHolderImpl, EStoreEObjectImpl.EStoreFeatureMap, EStoreEObjectImpl.EStoreImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EStoreEObjectImpl
ENO_SETTINGS, eSettings, eStore, EUNINITIALIZED_CONTAINER
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Constructor Summary
protected RealmImpl()
           
 
Method Summary
protected  EClass eStaticClass()
           
 EList<Group> getAllGroups()
           
 EList<Permission> getAllPermissions()
           
 EList<Role> getAllRoles()
           
 EList<User> getAllUsers()
           
 Access getDefaultAccess()
           
 EList<SecurityItem> getItems()
           
 String getName()
           
 Realm getRealm()
           
 void setDefaultAccess(Access newDefaultAccess)
           
 void setName(String newName)
           
 
Methods inherited from class org.eclipse.emf.cdo.etypes.impl.ModelElementImpl
eStaticFeatureCount, getAnnotation, getAnnotations
 
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoBasicSettings, cdoConflict, cdoDirectResource, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreCommit, cdoInternalPreLoad, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoSettings, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createList, createLock, createMap, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicSetContainer, eBasicSetContainer, eContainerFeatureID, eDirectResource, eDynamicIsSet, eInitializeContainer, eInternalContainer, eInternalResource, eIsCaching, equals, eSetDirectResource, eSetResource, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.EStoreEObjectImpl
eDerivedStructuralFeatureID, eHasSettings, eProperties, eSetStore, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eBasicAdapters, eBasicProperties, eClass, eDeliver, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eGet, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.cdo.etypes.ModelElement
getAnnotation, getAnnotations
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSet, eSetClass, eSetProxyURI, eSetStore, eSetting, eUnset, eURIFragmentSegment
 

Constructor Detail

RealmImpl

protected RealmImpl()

Generated
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class SecurityElementImpl
Generated

getItems

public EList<SecurityItem> getItems()

Specified by:
getItems in interface Realm
Returns:
the value of the 'Items' containment reference list.
See Also:
SecurityPackage.getRealm_Items()
Generated

getAllUsers

public EList<User> getAllUsers()

Specified by:
getAllUsers in interface Realm
Returns:
the value of the 'All Users' reference list.
See Also:
SecurityPackage.getRealm_AllUsers()
Generated
NOT

getAllGroups

public EList<Group> getAllGroups()

Specified by:
getAllGroups in interface Realm
Returns:
the value of the 'All Groups' reference list.
See Also:
SecurityPackage.getRealm_AllGroups()
Generated
NOT

getAllRoles

public EList<Role> getAllRoles()

Specified by:
getAllRoles in interface Realm
Returns:
the value of the 'All Roles' reference list.
See Also:
SecurityPackage.getRealm_AllRoles()
Generated
NOT

getAllPermissions

public EList<Permission> getAllPermissions()

Specified by:
getAllPermissions in interface Realm
Returns:
the value of the 'All Permissions' reference list.
See Also:
SecurityPackage.getRealm_AllPermissions()
Generated
NOT

getName

public String getName()

Specified by:
getName in interface Realm
Returns:
the value of the 'Name' attribute.
See Also:
Realm.setName(String), SecurityPackage.getRealm_Name()
Generated

setName

public void setName(String newName)

Specified by:
setName in interface Realm
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
Realm.getName()
Generated

getDefaultAccess

public Access getDefaultAccess()

Specified by:
getDefaultAccess in interface Realm
Returns:
the value of the 'Default Access' attribute.
See Also:
Realm.setDefaultAccess(Access), SecurityPackage.getRealm_DefaultAccess()
Generated

setDefaultAccess

public void setDefaultAccess(Access newDefaultAccess)

Specified by:
setDefaultAccess in interface Realm
Parameters:
newDefaultAccess - the new value of the 'Default Access' attribute.
See Also:
Realm.getDefaultAccess()
Generated

getRealm

public Realm getRealm()
Description copied from class: SecurityElementImpl

Specified by:
getRealm in interface SecurityElement
Overrides:
getRealm in class SecurityElementImpl


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