org.hibernate.metamodel
Interface Metadata
- All Known Subinterfaces:
- MetadataImplementor
- All Known Implementing Classes:
- MetadataImpl
public interface Metadata
getOptions
Metadata.Options getOptions()
getSessionFactoryBuilder
SessionFactoryBuilder getSessionFactoryBuilder()
buildSessionFactory
SessionFactory buildSessionFactory()
getEntityBindings
Iterable<EntityBinding> getEntityBindings()
getEntityBinding
EntityBinding getEntityBinding(String entityName)
getRootEntityBinding
EntityBinding getRootEntityBinding(String entityName)
- Get the "root" entity binding
- Parameters:
entityName
-
- Returns:
- the "root entity binding; simply returns entityBinding if it is the root entity binding
getCollectionBindings
Iterable<PluralAttributeBinding> getCollectionBindings()
getTypeDefinition
TypeDef getTypeDefinition(String name)
getTypeDefinitions
Iterable<TypeDef> getTypeDefinitions()
getFilterDefinitions
Iterable<FilterDefinition> getFilterDefinitions()
getNamedQueryDefinitions
Iterable<NamedQueryDefinition> getNamedQueryDefinitions()
getNamedNativeQueryDefinitions
Iterable<NamedSQLQueryDefinition> getNamedNativeQueryDefinitions()
getResultSetMappingDefinitions
Iterable<ResultSetMappingDefinition> getResultSetMappingDefinitions()
getImports
Iterable<Map.Entry<String,String>> getImports()
getFetchProfiles
Iterable<FetchProfile> getFetchProfiles()
getIdGenerator
IdGenerator getIdGenerator(String name)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.