Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » cfg » [javadoc | source]
org.hibernate.cfg
public final class: HbmBinder [javadoc | source]
java.lang.Object
   org.hibernate.cfg.HbmBinder
Walks an XML mapping document and produces the Hibernate configuration-time metamodel (the classes in the mapping package)
Nested Class Summary:
static class  HbmBinder.CollectionSecondPass   
static class  HbmBinder.IdentifierCollectionSecondPass   
static class  HbmBinder.MapSecondPass   
static class  HbmBinder.ManyToOneSecondPass   
static class  HbmBinder.ListSecondPass   
abstract static class  HbmBinder.CollectionType   
Method from org.hibernate.cfg.HbmBinder Summary:
bindAny,   bindArray,   bindClass,   bindCollection,   bindCollectionSecondPass,   bindColumn,   bindColumns,   bindComponent,   bindComposite,   bindCompositeId,   bindIdentifierCollectionSecondPass,   bindJoinedSubclass,   bindListSecondPass,   bindManyToOne,   bindMapSecondPass,   bindOneToMany,   bindOneToOne,   bindProperty,   bindRoot,   bindRootClass,   bindSimpleValue,   bindSubclass,   bindUnionSubclass,   createClassProperties,   createClassProperties,   getCacheMode,   getClassName,   getClassName,   getEntityName,   getExtendsNeeded,   getFlushMode,   getMetas,   getParameterTypes,   getTypeFromXML
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.cfg.HbmBinder Detail:
 public static  void bindAny(Element node,
    Any any,
    boolean isNullable,
    Mappings mappings) throws MappingException 
 public static  void bindArray(Element node,
    Array array,
    String prefix,
    String path,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
    Called for arrays and primitive arrays
 public static  void bindClass(Element node,
    PersistentClass persistentClass,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
 public static  void bindCollection(Element node,
    Collection collection,
    String className,
    String path,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
    Called for all collections
 public static  void bindCollectionSecondPass(Element node,
    Collection collection,
    Map persistentClasses,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
    Called for all collections
 public static  void bindColumn(Element node,
    Column column,
    boolean isNullable) 
 public static  void bindColumns(Element node,
    SimpleValue simpleValue,
    boolean isNullable,
    boolean autoColumn,
    String propertyPath,
    Mappings mappings) throws MappingException 
 public static  void bindComponent(Element node,
    Component component,
    String ownerClassName,
    String parentProperty,
    String path,
    boolean isNullable,
    boolean isEmbedded,
    Mappings mappings,
    Map inheritedMetas,
    boolean isIdentifierMapper) throws MappingException 
 public static  void bindComposite(Element node,
    Component component,
    String path,
    boolean isNullable,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
 public static  void bindCompositeId(Element node,
    Component component,
    PersistentClass persistentClass,
    String propertyName,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
 public static  void bindIdentifierCollectionSecondPass(Element node,
    IdentifierCollection collection,
    Map persistentClasses,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
 public static  void bindJoinedSubclass(Element node,
    JoinedSubclass joinedSubclass,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
 public static  void bindListSecondPass(Element node,
    List list,
    Map classes,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
    Called for Lists, arrays, primitive arrays
 public static  void bindManyToOne(Element node,
    ManyToOne manyToOne,
    String path,
    boolean isNullable,
    Mappings mappings) throws MappingException 
 public static  void bindMapSecondPass(Element node,
    Map map,
    Map classes,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
    Called for Maps
 public static  void bindOneToMany(Element node,
    OneToMany oneToMany,
    Mappings mappings) throws MappingException 
 public static  void bindOneToOne(Element node,
    OneToOne oneToOne,
    String path,
    boolean isNullable,
    Mappings mappings) throws MappingException 
 public static  void bindProperty(Element node,
    Property property,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
 public static  void bindRoot(Document doc,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
    The main contract into the hbm.xml-based binder. Performs necessary binding operations represented by the given DOM.
 public static  void bindRootClass(Element node,
    RootClass rootClass,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
    Responsible for perfoming the bind operation related to an <class/> mapping element.
 public static  void bindSimpleValue(Element node,
    SimpleValue simpleValue,
    boolean isNullable,
    String path,
    Mappings mappings) throws MappingException 
 public static  void bindSubclass(Element node,
    Subclass subclass,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
 public static  void bindUnionSubclass(Element node,
    UnionSubclass unionSubclass,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
 protected static  void createClassProperties(Element node,
    PersistentClass persistentClass,
    Mappings mappings,
    Map inheritedMetas) throws MappingException 
 protected static  void createClassProperties(Element node,
    PersistentClass persistentClass,
    Mappings mappings,
    Map inheritedMetas,
    UniqueKey uniqueKey,
    boolean mutable,
    boolean nullable,
    boolean naturalId) throws MappingException 
 public static CacheMode getCacheMode(String cacheMode) 
 public static String getClassName(String unqualifiedName,
    Mappings model) 
 public static String getClassName(String unqualifiedName,
    String defaultPackage) 
 public static String getEntityName(Element elem,
    Mappings model) 
 public static List getExtendsNeeded(Document doc,
    Mappings mappings) 
    For the given document, locate all extends attributes which refer to entities (entity-name or class-name) not defined within said document.
 public static final FlushMode getFlushMode(String flushMode) 
 public static final Map getMetas(Element node,
    Map inheritedMeta,
    boolean onlyInheritable) 
 public static Map getParameterTypes(Element queryElem) 
 public static String getTypeFromXML(Element node) throws MappingException