| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.hibernate.cfg.HbmBinderpublic final class HbmBinderextends java.lang.ObjectMethod Summary | |
static void | |
static void | |
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void |
|
static void | |
static void |
|
static void |
|
static void |
|
static void |
|
protected static void |
|
protected static void |
|
static CacheMode |
|
static String |
|
static String |
|
static String |
|
static java.util.List |
|
static FlushMode |
|
static java.util.Map |
|
static java.util.Map |
|
static String |
|
public static void bindAny(Element node,
Any any,
boolean isNullable,
Mappings mappings)
throws MappingExceptionpublic static void bindArray(Element node,
Array array,
String prefix,
String path,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionCalled for arrays and primitive arrays
public static void bindClass(Element node,
PersistentClass persistentClass,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionpublic static void bindCollection(Element node,
Collection collection,
String className,
String path,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionCalled for all collections
public static void bindCollectionSecondPass(Element node,
Collection collection,
java.util.Map persistentClasses,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionCalled for all collections
public static void bindColumns(Element node,
SimpleValue simpleValue,
boolean isNullable,
boolean autoColumn,
String propertyPath,
Mappings mappings)
throws MappingExceptionpublic static void bindComponent(Element node,
Component component,
String ownerClassName,
String parentProperty,
String path,
boolean isNullable,
boolean isEmbedded,
Mappings mappings,
java.util.Map inheritedMetas,
boolean isIdentifierMapper)
throws MappingExceptionpublic static void bindComposite(Element node,
Component component,
String path,
boolean isNullable,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionpublic static void bindCompositeId(Element node,
Component component,
PersistentClass persistentClass,
String propertyName,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionpublic static void bindIdentifierCollectionSecondPass(Element node,
IdentifierCollection collection,
java.util.Map persistentClasses,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionpublic static void bindJoinedSubclass(Element node,
JoinedSubclass joinedSubclass,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionpublic static void bindListSecondPass(Element node,
List list,
java.util.Map classes,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionCalled for Lists, arrays, primitive arrays
public static void bindManyToOne(Element node,
ManyToOne manyToOne,
String path,
boolean isNullable,
Mappings mappings)
throws MappingExceptionpublic static void bindMapSecondPass(Element node,
Map map,
java.util.Map classes,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionCalled for Maps
public static void bindOneToMany(Element node,
OneToMany oneToMany,
Mappings mappings)
throws MappingExceptionpublic static void bindOneToOne(Element node,
OneToOne oneToOne,
String path,
boolean isNullable,
Mappings mappings)
throws MappingExceptionpublic static void bindProperty(Element node,
Property property,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionpublic static void bindRoot(Document doc,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionThe main contract into the hbm.xml-based binder. Performs necessary binding operations represented by the given DOM.
- Parameters:
doc- The DOM to be parsed and bound.mappings- Current bind state.inheritedMetas- Any inherited meta-tag information.
- Throws:
MappingException-
public static void bindRootClass(Element node,
RootClass rootClass,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionResponsible for perfoming the bind operation related to an <class/> mapping element.
- Parameters:
node- The DOM Element for the <class/> element.rootClass- The mapping instance to which to bind the information.mappings- The current bind state.inheritedMetas- Any inherited meta-tag information.
- Throws:
MappingException-
public static void bindSimpleValue(Element node,
SimpleValue simpleValue,
boolean isNullable,
String path,
Mappings mappings)
throws MappingExceptionpublic static void bindSubclass(Element node,
Subclass subclass,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionpublic static void bindUnionSubclass(Element node,
UnionSubclass unionSubclass,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionprotected static void createClassProperties(Element node,
PersistentClass persistentClass,
Mappings mappings,
java.util.Map inheritedMetas)
throws MappingExceptionprotected static void createClassProperties(Element node,
PersistentClass persistentClass,
Mappings mappings,
java.util.Map inheritedMetas,
UniqueKey uniqueKey,
boolean mutable,
boolean nullable,
boolean naturalId)
throws MappingExceptionpublic static String getClassName(String unqualifiedName,
String defaultPackage)public static java.util.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.
- Parameters:
doc- The document to checkmappings- The already processed mappings.
- Returns:
- The list of unresolved extends names.
public static final java.util.Map getMetas(Element node,
java.util.Map inheritedMeta,
boolean onlyInheritable)public static java.util.Map getParameterTypes(Element queryElem)