Save This Page
Home » Hibernate-3.3.2.GA » org.hibernate » cfg » [javadoc | source]
org.hibernate.cfg
public class: ExtendedMappings [javadoc | source]
java.lang.Object
   org.hibernate.cfg.Mappings
      org.hibernate.cfg.ExtendedMappings

All Implemented Interfaces:
    Serializable

Allow annotation related mappings

at least for named generators

Fields inherited from org.hibernate.cfg.Mappings:
classes,  collections,  tables,  queries,  sqlqueries,  resultSetMappings,  typeDefs,  secondPasses,  imports,  schemaName,  catalogName,  defaultCascade,  defaultPackage,  defaultAccess,  autoImport,  defaultLazy,  propertyReferences,  namingStrategy,  filterDefinitions,  auxiliaryDatabaseObjects,  extendsQueue,  columnNameBindingPerTable,  tableNameBinding
Constructor:
 ExtendedMappings(Map classes,
    Map collections,
    Map tables,
    Map queries,
    Map sqlqueries,
    Map sqlResultSetMappings,
    Set<String> defaultNamedQueryNames,
    Set<String> defaultNamedNativeQueryNames,
    Set<String> defaultSqlResulSetMappingNames,
    Set<String> defaultNamedGenerators,
    Map imports,
    List secondPasses,
    List propertyReferences,
    NamingStrategy namingStrategy,
    Map typeDefs,
    Map filterDefinitions,
    Map namedGenerators,
    Map<String, Join> joins,
    Map<String, AnnotatedClassType> classTypes,
    Map extendsQueue,
    Map<String, TableDescription> tableNameBinding,
    Map<Table, ColumnNames> columnNameBindingPerTable,
    List auxiliaryDatabaseObjects,
    Map<String, Properties> generatorTables,
    Map<String> tableUniqueConstraints,
    Map<String, String> mappedByResolver,
    Map<String, String> propertyRefResolver,
    Map<String, AnyMetaDef> anyMetaDefs,
    ReflectionManager reflectionManager) 
Method from org.hibernate.cfg.ExtendedMappings Summary:
addAnyMetaDef,   addClassType,   addDefaultGenerator,   addDefaultQuery,   addDefaultResultSetMapping,   addDefaultSQLQuery,   addGenerator,   addGeneratorTable,   addJoins,   addMappedBy,   addPropertyReference,   addPropertyReferencedAssociation,   addQuery,   addResultSetMapping,   addSQLQuery,   addUniqueConstraints,   addUniquePropertyReference,   getAnyMetaDef,   getClassType,   getClasses,   getFromMappedBy,   getGenerator,   getGenerator,   getGeneratorTableProperties,   getJoins,   getPropertyReferencedAssociation,   getReflectionManager,   getTableUniqueConstraints
Methods from org.hibernate.cfg.Mappings:
addAuxiliaryDatabaseObject,   addClass,   addCollection,   addColumnBinding,   addDenormalizedTable,   addFilterDefinition,   addImport,   addPropertyReference,   addQuery,   addResultSetMapping,   addSQLQuery,   addSecondPass,   addSecondPass,   addTable,   addTableBinding,   addToExtendsQueue,   addTypeDef,   addUniquePropertyReference,   getCatalogName,   getClass,   getCollection,   getDefaultAccess,   getDefaultCascade,   getDefaultPackage,   getFilterDefinition,   getFilterDefinitions,   getLogicalColumnName,   getLogicalTableName,   getNamingStrategy,   getPhysicalColumnName,   getQuery,   getResultSetMapping,   getSchemaName,   getTable,   getTypeDef,   isAutoImport,   isDefaultLazy,   iterateCollections,   iterateTables,   locatePersistentClassByEntityName,   setAutoImport,   setCatalogName,   setDefaultAccess,   setDefaultCascade,   setDefaultLazy,   setDefaultPackage,   setSchemaName
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.cfg.ExtendedMappings Detail:
 public  void addAnyMetaDef(AnyMetaDef defAnn) 
 public AnnotatedClassType addClassType(XClass clazz) 
 public  void addDefaultGenerator(IdGenerator idGen) 
 public  void addDefaultQuery(String name,
    NamedQueryDefinition query) 
 public  void addDefaultResultSetMapping(ResultSetMappingDefinition definition) 
 public  void addDefaultSQLQuery(String name,
    NamedSQLQueryDefinition query) 
 public  void addGenerator(IdGenerator generator) throws MappingException 
 public  void addGeneratorTable(String name,
    Properties params) 
 public  void addJoins(PersistentClass persistentClass,
    Map<String, Join> joins) throws MappingException 
 public  void addMappedBy(String entityName,
    String propertyName,
    String inversePropertyName) 
 public  void addPropertyReference(String referencedClass,
    String propertyName) 
 public  void addPropertyReferencedAssociation(String entityName,
    String propertyName,
    String propertyRef) 
 public  void addQuery(String name,
    NamedQueryDefinition query) throws MappingException 
 public  void addResultSetMapping(ResultSetMappingDefinition definition) 
 public  void addSQLQuery(String name,
    NamedSQLQueryDefinition query) throws MappingException 
 public  void addUniqueConstraints(Table table,
    List uniqueConstraints) 
 public  void addUniquePropertyReference(String referencedClass,
    String propertyName) 
 public AnyMetaDef getAnyMetaDef(String name) 
 public AnnotatedClassType getClassType(XClass clazz) 
    get and maintain a cache of class type. A class can be an entity, a embedded objet or nothing.
 public Map getClasses() 
 public String getFromMappedBy(String entityName,
    String propertyName) 
 public IdGenerator getGenerator(String name) 
 public IdGenerator getGenerator(String name,
    Map<String, IdGenerator> localGenerators) 
    Try to find the generator from the localGenerators and then from the global generator list
 public Properties getGeneratorTableProperties(String name,
    Map<String, Properties> localGeneratorTables) 
 public Map<String, Join> getJoins(String persistentClass) 
 public String getPropertyReferencedAssociation(String entityName,
    String propertyName) 
 public ReflectionManager getReflectionManager() 
 public Map<String> getTableUniqueConstraints()