Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » 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 defaultNamedQueryNames,
    Set defaultNamedNativeQueryNames,
    Set defaultSqlResulSetMappingNames,
    Set defaultNamedGenerators,
    Map imports,
    List secondPasses,
    List propertyReferences,
    NamingStrategy namingStrategy,
    Map typeDefs,
    Map filterDefinitions,
    Map namedGenerators,
    Map joins,
    Map classTypes,
    Map extendsQueue,
    Map tableNameBinding,
    Map columnNameBindingPerTable,
    List auxiliaryDatabaseObjects,
    Map generatorTables,
    Map tableUniqueConstraints,
    Map mappedByResolver,
    Map propertyRefResolver,
    ReflectionManager reflectionManager) 
Method from org.hibernate.cfg.ExtendedMappings Summary:
addClassType,   addDefaultGenerator,   addDefaultQuery,   addDefaultResultSetMapping,   addDefaultSQLQuery,   addGenerator,   addGeneratorTable,   addJoins,   addMappedBy,   addPropertyReference,   addPropertyReferencedAssociation,   addQuery,   addResultSetMapping,   addSQLQuery,   addUniqueConstraints,   addUniquePropertyReference,   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:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.cfg.ExtendedMappings Detail:
 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 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 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 localGenerators) 
    Try to find the generator from the localGenerators and then from the global generator list
 public Properties getGeneratorTableProperties(String name,
    Map localGeneratorTables) 
 public Map getJoins(String persistentClass) 
 public String getPropertyReferencedAssociation(String entityName,
    String propertyName) 
 public ReflectionManager getReflectionManager() 
 public Map getTableUniqueConstraints()