org.eclipse.jpt.core.resource.persistence
Class PersistenceFactory

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.FlatEObjectImpl
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.EFactoryImpl
                          extended by org.eclipse.jpt.core.resource.persistence.PersistenceFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class PersistenceFactory
extends org.eclipse.emf.ecore.impl.EFactoryImpl

The Factory for the model. It provides a create method for each non-abstract class of the model. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

See Also:
PersistencePackage

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static PersistenceFactory eINSTANCE
          The singleton instance of the factory.
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
PersistenceFactory()
          Creates an instance of the factory.
 
Method Summary
 java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertXmlPersistenceUnitTransactionTypeObjectToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertXmlPersistenceUnitTransactionTypeToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertXmlVersionToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
           
 java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 XmlJavaClassRef createXmlJavaClassRef()
           
 XmlMappingFileRef createXmlMappingFileRef()
           
 XmlPersistence createXmlPersistence()
           
 XmlPersistenceUnit createXmlPersistenceUnit()
           
 XmlPersistenceUnitTransactionType createXmlPersistenceUnitTransactionTypeFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 org.eclipse.emf.common.util.Enumerator createXmlPersistenceUnitTransactionTypeObjectFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 XmlProperties createXmlProperties()
           
 XmlProperty createXmlProperty()
           
 java.lang.String createXmlVersionFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
static PersistencePackage getPackage()
          Deprecated.  
 PersistencePackage getPersistencePackage()
           
static PersistenceFactory init()
          Creates the default factory implementation.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicSetEPackage, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eUnset, getEPackage, setEPackage
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eIsProxy, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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, 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
 

Field Detail

eINSTANCE

public static final PersistenceFactory eINSTANCE
The singleton instance of the factory.

Constructor Detail

PersistenceFactory

public PersistenceFactory()
Creates an instance of the factory.

Method Detail

init

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


create

public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)

Specified by:
create in interface org.eclipse.emf.ecore.EFactory
Overrides:
create in class org.eclipse.emf.ecore.impl.EFactoryImpl

createFromString

public java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                         java.lang.String initialValue)

Specified by:
createFromString in interface org.eclipse.emf.ecore.EFactory
Overrides:
createFromString in class org.eclipse.emf.ecore.impl.EFactoryImpl

convertToString

public java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType,
                                        java.lang.Object instanceValue)

Specified by:
convertToString in interface org.eclipse.emf.ecore.EFactory
Overrides:
convertToString in class org.eclipse.emf.ecore.impl.EFactoryImpl

createXmlPersistence

public XmlPersistence createXmlPersistence()


createXmlPersistenceUnit

public XmlPersistenceUnit createXmlPersistenceUnit()


createXmlMappingFileRef

public XmlMappingFileRef createXmlMappingFileRef()


createXmlJavaClassRef

public XmlJavaClassRef createXmlJavaClassRef()


createXmlProperties

public XmlProperties createXmlProperties()


createXmlProperty

public XmlProperty createXmlProperty()


createXmlPersistenceUnitTransactionTypeFromString

public XmlPersistenceUnitTransactionType createXmlPersistenceUnitTransactionTypeFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                                                           java.lang.String initialValue)


convertXmlPersistenceUnitTransactionTypeToString

public java.lang.String convertXmlPersistenceUnitTransactionTypeToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                                         java.lang.Object instanceValue)


createXmlPersistenceUnitTransactionTypeObjectFromString

public org.eclipse.emf.common.util.Enumerator createXmlPersistenceUnitTransactionTypeObjectFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                                                                      java.lang.String initialValue)


convertXmlPersistenceUnitTransactionTypeObjectToString

public java.lang.String convertXmlPersistenceUnitTransactionTypeObjectToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                                               java.lang.Object instanceValue)


createXmlVersionFromString

public java.lang.String createXmlVersionFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                   java.lang.String initialValue)


convertXmlVersionToString

public java.lang.String convertXmlVersionToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                  java.lang.Object instanceValue)


getPersistencePackage

public PersistencePackage getPersistencePackage()


getPackage

@Deprecated
public static PersistencePackage getPackage()
Deprecated.