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

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.EFactoryImpl
                          extended by org.eclipse.emf.cdo.security.impl.SecurityFactoryImpl
All Implemented Interfaces:
SecurityFactory, Notifier, EFactory, EModelElement, EObject, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject

public class SecurityFactoryImpl
extends EFactoryImpl
implements SecurityFactory

An implementation of the model Factory.

Generated

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
 
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.EFactoryImpl
EDATE_FORMATS, ePackage
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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.cdo.security.SecurityFactory
eINSTANCE
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
SecurityFactoryImpl()
          Creates an instance of the factory
 
Method Summary
 String convertAccessObjectToString(EDataType eDataType, Object instanceValue)
           
 String convertAccessToString(EDataType eDataType, Object instanceValue)
           
 String convertToString(EDataType eDataType, Object instanceValue)
           
 EObject create(EClass eClass)
           
 Access createAccessFromString(EDataType eDataType, String initialValue)
           
 Access createAccessObjectFromString(EDataType eDataType, String initialValue)
           
 ClassPermission createClassPermission()
           
 ClassPermission createClassPermission(EClass eClass, Access access)
           
 Directory createDirectory()
           
 Directory createDirectory(String name)
           
 Object createFromString(EDataType eDataType, String initialValue)
           
 Group createGroup()
           
 Group createGroup(String id)
           
 PackagePermission createPackagePermission()
           
 PackagePermission createPackagePermission(EPackage ePackage, Access access)
           
 Realm createRealm()
           
 Realm createRealm(String name)
           
 Realm createRealm(String name, Access defaultAccess)
           
 ResourcePermission createResourcePermission()
           
 ResourcePermission createResourcePermission(String pattern, Access access)
           
 Role createRole()
           
 Role createRole(String id)
           
 User createUser()
           
 User createUser(String id)
           
 User createUser(String id, String password)
           
 UserPassword createUserPassword()
           
static SecurityPackage getPackage()
          Deprecated.  
 SecurityPackage getSecurityPackage()
           
static SecurityFactory init()
          Creates the default factory implementation
 
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, createFromString, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage, split
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EFactory
getEPackage, setEPackage
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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
eNotificationRequired
 

Constructor Detail

SecurityFactoryImpl

public SecurityFactoryImpl()
Creates an instance of the factory.

Generated
Method Detail

init

public static SecurityFactory init()
Creates the default factory implementation.

Generated

create

public EObject create(EClass eClass)

Specified by:
create in interface EFactory
Overrides:
create in class EFactoryImpl
Generated

createFromString

public Object createFromString(EDataType eDataType,
                               String initialValue)

Specified by:
createFromString in interface EFactory
Overrides:
createFromString in class EFactoryImpl
Generated

convertToString

public String convertToString(EDataType eDataType,
                              Object instanceValue)

Specified by:
convertToString in interface EFactory
Overrides:
convertToString in class EFactoryImpl
Generated

createRealm

public Realm createRealm()

Specified by:
createRealm in interface SecurityFactory
Returns:
a new object of class 'Realm'.
Generated

createRealm

public Realm createRealm(String name)
Specified by:
createRealm in interface SecurityFactory

createRealm

public Realm createRealm(String name,
                         Access defaultAccess)
Specified by:
createRealm in interface SecurityFactory

createDirectory

public Directory createDirectory(String name)
Specified by:
createDirectory in interface SecurityFactory

createRole

public Role createRole(String id)
Specified by:
createRole in interface SecurityFactory

createGroup

public Group createGroup(String id)
Specified by:
createGroup in interface SecurityFactory

createUser

public User createUser(String id)
Specified by:
createUser in interface SecurityFactory

createUser

public User createUser(String id,
                       String password)
Specified by:
createUser in interface SecurityFactory

createClassPermission

public ClassPermission createClassPermission(EClass eClass,
                                             Access access)
Specified by:
createClassPermission in interface SecurityFactory

createPackagePermission

public PackagePermission createPackagePermission(EPackage ePackage,
                                                 Access access)
Specified by:
createPackagePermission in interface SecurityFactory

createResourcePermission

public ResourcePermission createResourcePermission(String pattern,
                                                   Access access)
Specified by:
createResourcePermission in interface SecurityFactory

createDirectory

public Directory createDirectory()

Specified by:
createDirectory in interface SecurityFactory
Returns:
a new object of class 'Directory'.
Generated

createRole

public Role createRole()

Specified by:
createRole in interface SecurityFactory
Returns:
a new object of class 'Role'.
Generated

createGroup

public Group createGroup()

Specified by:
createGroup in interface SecurityFactory
Returns:
a new object of class 'Group'.
Generated

createUser

public User createUser()

Specified by:
createUser in interface SecurityFactory
Returns:
a new object of class 'User'.
Generated

createUserPassword

public UserPassword createUserPassword()

Specified by:
createUserPassword in interface SecurityFactory
Returns:
a new object of class 'User Password'.
Generated

createClassPermission

public ClassPermission createClassPermission()

Specified by:
createClassPermission in interface SecurityFactory
Returns:
a new object of class 'Class Permission'.
Generated

createPackagePermission

public PackagePermission createPackagePermission()

Specified by:
createPackagePermission in interface SecurityFactory
Returns:
a new object of class 'Package Permission'.
Generated

createResourcePermission

public ResourcePermission createResourcePermission()

Specified by:
createResourcePermission in interface SecurityFactory
Returns:
a new object of class 'Resource Permission'.
Generated

createAccessFromString

public Access createAccessFromString(EDataType eDataType,
                                     String initialValue)

Generated

convertAccessToString

public String convertAccessToString(EDataType eDataType,
                                    Object instanceValue)

Generated

createAccessObjectFromString

public Access createAccessObjectFromString(EDataType eDataType,
                                           String initialValue)

Generated

convertAccessObjectToString

public String convertAccessObjectToString(EDataType eDataType,
                                          Object instanceValue)

Generated

getSecurityPackage

public SecurityPackage getSecurityPackage()

Specified by:
getSecurityPackage in interface SecurityFactory
Returns:
the package supported by this factory.
Generated

getPackage

@Deprecated
public static SecurityPackage getPackage()
Deprecated. 

Generated


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