org.eclipse.jpt.jpa.core.context.persistence
Interface PersistenceXmlContextNodeFactory

All Known Subinterfaces:
EclipseLinkPersistenceXmlContextNodeFactory

public interface PersistenceXmlContextNodeFactory

Interface used by persistence unit to gather up persistent types.

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.

Since:
2.3
Version:
2.3

Method Summary
 ClassRef buildClassRef(PersistenceUnit parent, java.lang.String className)
          Build an "implied" class ref.
 ClassRef buildClassRef(PersistenceUnit parent, XmlJavaClassRef xmlClassRef)
          Build a "specified" class ref.
 PersistenceUnitProperties buildConnection(PersistenceUnit parent)
           
 MappingFileRef buildImpliedMappingFileRef(PersistenceUnit parent)
          Build a "implied" mapping file ref.
 JarFile buildJarFile(JarFileRef parent, JavaResourcePackageFragmentRoot jarResourcePackageFragmentRoot)
           
 JarFileRef buildJarFileRef(PersistenceUnit parent, XmlJarFileRef xmlJarFileRef)
           
 MappingFileRef buildMappingFileRef(PersistenceUnit parent, XmlMappingFileRef xmlMappingFileRef)
          Build a "specified" mapping file ref.
 PersistenceUnitProperties buildOptions(PersistenceUnit parent)
           
 Persistence buildPersistence(PersistenceXml parent, XmlPersistence resourcePersistence)
           
 PersistenceUnit buildPersistenceUnit(Persistence parent, XmlPersistenceUnit resourcePersistenceUnit)
           
 PersistenceUnit.Property buildProperty(PersistenceUnit parent, XmlProperty property)
           
 

Method Detail

buildPersistence

Persistence buildPersistence(PersistenceXml parent,
                             XmlPersistence resourcePersistence)

buildPersistenceUnit

PersistenceUnit buildPersistenceUnit(Persistence parent,
                                     XmlPersistenceUnit resourcePersistenceUnit)

buildMappingFileRef

MappingFileRef buildMappingFileRef(PersistenceUnit parent,
                                   XmlMappingFileRef xmlMappingFileRef)
Build a "specified" mapping file ref.


buildImpliedMappingFileRef

MappingFileRef buildImpliedMappingFileRef(PersistenceUnit parent)
Build a "implied" mapping file ref.


buildClassRef

ClassRef buildClassRef(PersistenceUnit parent,
                       XmlJavaClassRef xmlClassRef)
Build a "specified" class ref.


buildClassRef

ClassRef buildClassRef(PersistenceUnit parent,
                       java.lang.String className)
Build an "implied" class ref.


buildJarFileRef

JarFileRef buildJarFileRef(PersistenceUnit parent,
                           XmlJarFileRef xmlJarFileRef)

buildJarFile

JarFile buildJarFile(JarFileRef parent,
                     JavaResourcePackageFragmentRoot jarResourcePackageFragmentRoot)

buildProperty

PersistenceUnit.Property buildProperty(PersistenceUnit parent,
                                       XmlProperty property)

buildConnection

PersistenceUnitProperties buildConnection(PersistenceUnit parent)

buildOptions

PersistenceUnitProperties buildOptions(PersistenceUnit parent)