@ParametersAreNonnullByDefault public class PersistenceFactory extends org.eclipse.emf.ecore.impl.EFactoryImpl implements org.eclipse.emf.ecore.EFactory
PersistentEObject
instances from EClass
es.org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Constructor and Description |
---|
PersistenceFactory()
Constructs a new
PersistenceFactory . |
PersistenceFactory(org.eclipse.emf.ecore.EPackage ePackage)
Constructs a new
PersistenceFactory for the given ePackage . |
Modifier and Type | Method and Description |
---|---|
protected PersistentEObject |
basicCreate(org.eclipse.emf.ecore.EClass eClass) |
static PersistentEObject |
newInstance(org.eclipse.emf.ecore.EClass eClass)
Creates a new instance of the
eClass . |
static PersistentEObject |
newInstance(org.eclipse.emf.ecore.EClass eClass,
Id id)
Creates a new instance of the
eClass . |
static boolean |
updateIfDynamic(org.eclipse.emf.ecore.EPackage ePackage)
Updates the
EFactory of the specified ePackage if it's a EPackageImpl . |
basicSetEPackage, collapseWhiteSpace, convertToString, convertToString, create, create, createFromString, createFromString, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage, split
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings
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
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
convertToString, create, createFromString, getEPackage, setEPackage
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public PersistenceFactory()
PersistenceFactory
.public PersistenceFactory(org.eclipse.emf.ecore.EPackage ePackage)
PersistenceFactory
for the given ePackage
.ePackage
- the package associated to this factory@Nonnull public static PersistentEObject newInstance(org.eclipse.emf.ecore.EClass eClass)
eClass
.eClass
- the class to instantiateEcoreUtil.create(EClass)
@Nonnull public static PersistentEObject newInstance(org.eclipse.emf.ecore.EClass eClass, Id id)
eClass
.eClass
- the class to instantiateid
- the identifier of the new objectEcoreUtil.create(EClass)
public static boolean updateIfDynamic(org.eclipse.emf.ecore.EPackage ePackage)
EFactory
of the specified ePackage
if it's a EPackageImpl
.ePackage
- the package to updatetrue
if the package has been updatedprotected PersistentEObject basicCreate(org.eclipse.emf.ecore.EClass eClass)
basicCreate
in class org.eclipse.emf.ecore.impl.EFactoryImpl
Copyright © 2013–2019 Atlanmod. All rights reserved.