abstract
void
|
addAnyMetaDef(AnyMetaDef defAnn)
|
abstract
void
|
addAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)
Add metadata pertaining to an auxiliary database object to this repository.
|
abstract
void
|
addClass(PersistentClass persistentClass)
Add entity mapping metadata.
|
abstract
AnnotatedClassType
|
addClassType(XClass clazz)
FIXME should be private but will this break things?
Add a class type.
|
abstract
void
|
addCollection(Collection collection)
Add collection mapping metadata to this repository.
|
abstract
void
|
addColumnBinding(String logicalName, Column physicalColumn, Table table)
Binds the given 'physicalColumn' to the give 'logicalName' within the given 'table'.
|
abstract
void
|
addDefaultGenerator(IdGenerator generator)
Adds a default id generator.
|
abstract
void
|
addDefaultQuery(String name, NamedQueryDefinition query)
|
abstract
void
|
addDefaultResultSetMapping(ResultSetMappingDefinition definition)
|
abstract
void
|
addDefaultSQLQuery(String name, NamedSQLQueryDefinition query)
|
abstract
Table
|
addDenormalizedTable(String schema, String catalog, String name, boolean isAbstract, String subselect, Table includedTable)
Adds a 'denormalized table' to this repository.
|
abstract
void
|
addFilterDefinition(FilterDefinition definition)
Adds a filter definition to this repository.
|
abstract
void
|
addGenerator(IdGenerator generator)
Add a generator.
|
abstract
void
|
addGeneratorTable(String name, Properties params)
Add a generator table properties.
|
abstract
void
|
addImport(String entityName, String rename)
Adds an import (HQL entity rename) to the repository.
|
abstract
void
|
addJoins(PersistentClass persistentClass, Map<String, Join> joins)
Add join metadata for a persistent entity.
|
abstract
void
|
addMappedBy(String entityName, String propertyName, String inversePropertyName)
|
abstract
void
|
addMappedSuperclass(Class type, MappedSuperclass mappedSuperclass)
add a new MappedSuperclass
This should not be called if the MappedSuperclass already exists
(it would be erased)
|
abstract
void
|
addPropertyAnnotatedWithMapsId(XClass entityType, PropertyData property)
|
abstract
void
|
addPropertyAnnotatedWithMapsIdSpecj(XClass entityType, PropertyData property, String mapsIdValue)
|
abstract
void
|
addPropertyReference(String referencedClass, String propertyName)
Adds a property reference binding to this repository.
|
abstract
void
|
addPropertyReferencedAssociation(String entityName, String propertyName, String propertyRef)
|
abstract
void
|
addQuery(String name, NamedQueryDefinition query)
Adds metadata for a named query to this repository.
|
abstract
void
|
addResultSetMapping(ResultSetMappingDefinition sqlResultSetMapping)
Adds the metadata for a named SQL result set mapping to this repository.
|
abstract
void
|
addSQLQuery(String name, NamedSQLQueryDefinition query)
Adds metadata for a named SQL query to this repository.
|
abstract
void
|
addSecondPass(SecondPass sp)
Adds a second-pass to the end of the current queue.
|
abstract
void
|
addSecondPass(SecondPass sp, boolean onTopOfTheQueue)
Adds a second pass.
|
abstract
Table
|
addTable(String schema, String catalog, String name, String subselect, boolean isAbstract)
Adds table metadata to this repository returning the created
metadata instance.
|
abstract
void
|
addTableBinding(String schema, String catalog, String logicalName, String physicalName, Table denormalizedSuperTable)
Adds a table binding to this repository.
|
abstract
void
|
addToExtendsQueue(ExtendsQueueEntry entry)
Adds an entry to the extends queue queue.
|
abstract
void
|
addToOneAndIdProperty(XClass entity, PropertyData property)
|
abstract
void
|
addTypeDef(String typeName, String typeClass, Properties paramMap)
Adds a type definition to this metadata repository.
|
abstract
void
|
addUniqueConstraintHolders(Table table, List<UniqueConstraintHolder> uniqueConstraintHolders)
|
abstract
void
|
addUniqueConstraints(Table table, List uniqueConstraints)
|
abstract
void
|
addUniquePropertyReference(String referencedClass, String propertyName)
Adds a property reference binding to this repository where said proeprty reference is marked as unique.
|
abstract
FetchProfile
|
findOrCreateFetchProfile(String name, MetadataSource source)
Retrieves a fetch profile by either finding one currently in this repository matching the given name
or by creating one (and adding it).
|
abstract
AnyMetaDef
|
getAnyMetaDef(String name)
|
abstract
String
|
getCatalogName()
Returns the currently bound default catalog name.
|
abstract
PersistentClass
|
getClass(String entityName)
Retrieves the entity mapping metadata for the given entity name.
|
abstract
AnnotatedClassType
|
getClassType(XClass clazz)
Get and maintain a cache of class type.
|
abstract
Map
|
getClasses()
|
abstract
Collection
|
getCollection(String role)
Retrieves the collection mapping metadata for the given collection role.
|
abstract
Properties
|
getConfigurationProperties()
Retrieve the configuration properties currently in effect.
|
abstract
String
|
getDefaultAccess()
Get the current default property access style.
|
abstract
String
|
getDefaultCascade()
Get the current default cascade style.
|
abstract
String
|
getDefaultPackage()
Get the currently bound default package name.
|
abstract
FilterDefinition
|
getFilterDefinition(String name)
Retrieves a filter definition by name.
|
abstract
Map
|
getFilterDefinitions()
Retrieves the copmplete map of filter definitions.
|
abstract
String
|
getFromMappedBy(String entityName, String propertyName)
|
abstract
IdGenerator
|
getGenerator(String name, Map<String, IdGenerator> localGenerators)
Try to find the generator from the localGenerators
and then from the global generator list
|
abstract
IdGenerator
|
getGenerator(String name)
Retrieve the id-generator by name.
|
abstract
Properties
|
getGeneratorTableProperties(String name, Map<String, Properties> localGeneratorTables)
Retrieve the properties related to a generator table.
|
abstract
DefaultIdentifierGeneratorFactory
|
getIdentifierGeneratorFactory()
Retrieve the IdentifierGeneratorFactory in effect for this mapping.
|
abstract
Map<String, Join>
|
getJoins(String entityName)
Retrieve join metadata for a particular persistent entity.
|
abstract
String
|
getLogicalColumnName(String physicalName, Table table)
Find the logical column name against whcih the given physical column name was bound within the given table.
|
abstract
String
|
getLogicalTableName(Table table)
Get the logical table name mapped for the given physical table.
|
abstract
MappedSuperclass
|
getMappedSuperclass(Class type)
Get a MappedSuperclass or null if not mapped
|
abstract
NamingStrategy
|
getNamingStrategy()
Get the current naming strategy.
|
abstract
ObjectNameNormalizer
|
getObjectNameNormalizer()
Retrieve the database identifier normalizer for this context.
|
abstract
PersisterClassProvider
|
getPersisterClassProvider()
Get the current persister class provider implementation
|
abstract
String
|
getPhysicalColumnName(String logicalName, Table table)
Find the physical column name for the given logical column name within the given table.
|
abstract
PropertyData
|
getPropertyAnnotatedWithIdAndToOne(XClass entityType, String propertyName)
Return the property annotated with @ToOne and @Id if any.
|
abstract
PropertyData
|
getPropertyAnnotatedWithMapsId(XClass entityType, String propertyName)
Return the property annotated with @MapsId("propertyName") if any.
|
abstract
String
|
getPropertyReferencedAssociation(String entityName, String propertyName)
|
abstract
NamedQueryDefinition
|
getQuery(String name)
Get named query metadata by name.
|
abstract
ReflectionManager
|
getReflectionManager()
|
abstract
ResultSetMappingDefinition
|
getResultSetMapping(String name)
Get the metadata for a named SQL result set mapping.
|
abstract
NamedSQLQueryDefinition
|
getSQLQuery(String name)
Get named SQL query metadata.
|
abstract
String
|
getSchemaName()
Returns the currently bound default schema name.
|
abstract
Table
|
getTable(String schema, String catalog, String name)
Returns the named table metadata.
|
abstract
Map<Table, List<String[]>>
|
getTableUniqueConstraints()
|
abstract
TypeDef
|
getTypeDef(String typeName)
Retrieve a type definition by name.
|
abstract
TypeResolver
|
getTypeResolver()
Retrieve the type resolver in effect.
|
abstract
Map<Table, List<UniqueConstraintHolder>>
|
getUniqueConstraintHoldersByTable()
|
abstract
boolean
|
isAutoImport()
Determine whether auto importing of entity names is currently enabled.
|
abstract
boolean
|
isDefaultLazy()
Determine whether default laziness is currently enabled.
|
abstract
boolean
|
isInSecondPass()
|
abstract
boolean
|
isSpecjProprietarySyntaxEnabled()
|
abstract
Iterator<AuxiliaryDatabaseObject>
|
iterateAuxiliaryDatabaseObjects()
Retrieves an iterator over the metadata pertaining to all auxiliary database objects int this repository.
|
abstract
ListIterator<AuxiliaryDatabaseObject>
|
iterateAuxiliaryDatabaseObjectsInReverse()
|
abstract
Iterator<AuxiliaryDatabaseObject>
|
iterateAuxliaryDatabaseObjects()
|
abstract
ListIterator<AuxiliaryDatabaseObject>
|
iterateAuxliaryDatabaseObjectsInReverse()
|
abstract
Iterator<PersistentClass>
|
iterateClasses()
Retrieves an iterator over the entity metadata present in this repository.
|
abstract
Iterator<Collection>
|
iterateCollections()
Returns an iterator over collection metadata.
|
abstract
Iterator<Table>
|
iterateTables()
Returns an iterator over table metadata.
|
abstract
PersistentClass
|
locatePersistentClassByEntityName(String entityName)
Retrieves the entity mapping metadata for the given entity name, potentially accounting
for imports.
|
abstract
void
|
setAutoImport(boolean autoImport)
Set whether to enable auto importing of entity names.
|
abstract
void
|
setCatalogName(String catalogName)
Sets the currently bound default catalog name.
|
abstract
void
|
setDefaultAccess(String defaultAccess)
Sets the current default property access style.
|
abstract
void
|
setDefaultCascade(String defaultCascade)
Sets the current default cascade style.
|
abstract
void
|
setDefaultLazy(boolean defaultLazy)
Set whether to enable default laziness.
|
abstract
void
|
setDefaultPackage(String defaultPackage)
Set the current default package name.
|
abstract
void
|
setNamingStrategy(NamingStrategy namingStrategy)
Set the current naming strategy.
|
abstract
void
|
setPersisterClassProvider(PersisterClassProvider persisterClassProvider)
Set the current persister class provider implementation
|
abstract
void
|
setSchemaName(String schemaName)
Sets the currently bound default schema name.
|
abstract
boolean
|
useNewGeneratorMappings()
Should we use the new generator strategy mappings.
|