public abstract class AbstractDelegatingMetadata extends Object implements MetadataImplementor
MetadataImplementor using delegation.| Constructor and Description |
|---|
AbstractDelegatingMetadata(MetadataImplementor delegate) |
public AbstractDelegatingMetadata(MetadataImplementor delegate)
public IdentifierGeneratorFactory getIdentifierGeneratorFactory()
MappinggetIdentifierGeneratorFactory in interface Mappingpublic Type getIdentifierType(String className) throws MappingException
getIdentifierType in interface MappingMappingExceptionpublic String getIdentifierPropertyName(String className) throws MappingException
getIdentifierPropertyName in interface MappingMappingExceptionpublic Type getReferencedPropertyType(String className, String propertyName) throws MappingException
getReferencedPropertyType in interface MappingMappingExceptionpublic SessionFactoryBuilder getSessionFactoryBuilder()
MetadataSessionFactory instances based on this metamodel,getSessionFactoryBuilder in interface MetadataSessionFactory instances.public SessionFactory buildSessionFactory()
MetadataSessionFactory through the builder without any additional
option overrides.buildSessionFactory in interface Metadatapublic UUID getUUID()
MetadataUUID for this metamodel.public Database getDatabase()
MetadatagetDatabase in interface Metadatapublic Collection<PersistentClass> getEntityBindings()
MetadatagetEntityBindings in interface Metadatapublic PersistentClass getEntityBinding(String entityName)
MetadatagetEntityBinding in interface MetadataentityName - The entity name for which to retrieve the metadata.null if no matching entity found.public Collection<Collection> getCollectionBindings()
MetadatagetCollectionBindings in interface Metadatapublic Collection getCollectionBinding(String role)
MetadatagetCollectionBinding in interface Metadatarole - The collection role for which to retrieve the metadata.null if no matching collection found.public Map<String,String> getImports()
MetadatagetImports in interface Metadatapublic NamedQueryDefinition getNamedQueryDefinition(String name)
MetadatagetNamedQueryDefinition in interface Metadataname - The query namenull.public Collection<NamedQueryDefinition> getNamedQueryDefinitions()
getNamedQueryDefinitions in interface Metadatapublic NamedSQLQueryDefinition getNamedNativeQueryDefinition(String name)
MetadatagetNamedNativeQueryDefinition in interface Metadataname - The SQL query name.nullpublic Collection<NamedSQLQueryDefinition> getNamedNativeQueryDefinitions()
getNamedNativeQueryDefinitions in interface Metadatapublic Collection<NamedProcedureCallDefinition> getNamedProcedureCallDefinitions()
getNamedProcedureCallDefinitions in interface Metadatapublic ResultSetMappingDefinition getResultSetMapping(String name)
MetadatagetResultSetMapping in interface Metadataname - The mapping name.null if none found.public Map<String,ResultSetMappingDefinition> getResultSetMappingDefinitions()
getResultSetMappingDefinitions in interface Metadatapublic TypeDefinition getTypeDefinition(String typeName)
MetadatagetTypeDefinition in interface MetadatatypeName - The name of the type definition to retrieve.nullpublic Map<String,FilterDefinition> getFilterDefinitions()
MetadatagetFilterDefinitions in interface Metadatapublic FilterDefinition getFilterDefinition(String name)
MetadatagetFilterDefinition in interface Metadataname - The name of the filter definition to retrieve
.null.public FetchProfile getFetchProfile(String name)
getFetchProfile in interface Metadatapublic Collection<FetchProfile> getFetchProfiles()
getFetchProfiles in interface Metadatapublic NamedEntityGraphDefinition getNamedEntityGraph(String name)
getNamedEntityGraph in interface Metadatapublic Map<String,NamedEntityGraphDefinition> getNamedEntityGraphs()
getNamedEntityGraphs in interface Metadatapublic IdentifierGeneratorDefinition getIdentifierGenerator(String name)
getIdentifierGenerator in interface Metadatapublic Collection<Table> collectTableMappings()
collectTableMappings in interface Metadatapublic Map<String,SQLFunction> getSqlFunctionMap()
getSqlFunctionMap in interface Metadatapublic MetadataBuildingOptions getMetadataBuildingOptions()
MetadataImplementorgetMetadataBuildingOptions in interface MetadataImplementorpublic TypeResolver getTypeResolver()
getTypeResolver in interface MetadataImplementorpublic NamedQueryRepository buildNamedQueryRepository(SessionFactoryImpl sessionFactory)
buildNamedQueryRepository in interface MetadataImplementorpublic void validate()
throws MappingException
validate in interface MetadataImplementorMappingExceptionpublic Set<MappedSuperclass> getMappedSuperclassMappingsCopy()
getMappedSuperclassMappingsCopy in interface MetadataImplementorCopyright © 2017 JBoss by Red Hat. All rights reserved.