|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.cfg.BinderHelper
public class BinderHelper
Field Summary | |
---|---|
static java.lang.String |
ANNOTATION_STRING_DEFAULT
|
static java.util.Set<java.lang.String> |
PRIMITIVE_NAMES
|
Method Summary | |
---|---|
static void |
bindAnyMetaDefs(org.hibernate.annotations.common.reflection.XAnnotatedElement annotatedElement,
Mappings mappings)
|
static Any |
buildAnyValue(java.lang.String anyMetaDefName,
Ejb3JoinColumn[] columns,
javax.persistence.Column metaColumn,
PropertyData inferredData,
boolean cascadeOnDelete,
Nullability nullability,
PropertyHolder propertyHolder,
EntityBinder entityBinder,
boolean optional,
Mappings mappings)
|
static void |
createSyntheticPropertyReference(Ejb3JoinColumn[] columns,
PersistentClass ownerEntity,
PersistentClass associatedEntity,
Value value,
boolean inverse,
Mappings mappings)
|
static java.lang.Object |
findColumnOwner(PersistentClass persistentClass,
java.lang.String columnName,
Mappings mappings)
Find the column owner (ie PersistentClass or Join) of columnName. |
static Property |
findPropertyByName(Component component,
java.lang.String propertyName)
Retrieve the property by path in a recursive way |
static Property |
findPropertyByName(PersistentClass associatedClass,
java.lang.String propertyName)
Retrieve the property by path in a recursive way, including IndetifierProperty in the loop If propertyName is null or empty, the IdentifierProperty is returned |
static MappedSuperclass |
getMappedSuperclassOrNull(org.hibernate.annotations.common.reflection.XClass declaringClass,
java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass,
Mappings mappings)
|
static java.lang.String |
getPath(PropertyHolder holder,
PropertyData property)
|
static java.lang.String |
getRelativePath(PropertyHolder propertyHolder,
java.lang.String propertyName)
|
static boolean |
isEmptyAnnotationValue(java.lang.String annotationString)
|
static void |
makeIdGenerator(SimpleValue id,
java.lang.String generatorType,
java.lang.String generatorName,
Mappings mappings,
java.util.Map<java.lang.String,IdGenerator> localGenerators)
apply an id generator to a SimpleValue |
static Property |
shallowCopy(Property property)
create a property copy reusing the same value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ANNOTATION_STRING_DEFAULT
public static final java.util.Set<java.lang.String> PRIMITIVE_NAMES
Method Detail |
---|
public static Property shallowCopy(Property property)
public static void createSyntheticPropertyReference(Ejb3JoinColumn[] columns, PersistentClass ownerEntity, PersistentClass associatedEntity, Value value, boolean inverse, Mappings mappings)
public static Property findPropertyByName(PersistentClass associatedClass, java.lang.String propertyName)
public static Property findPropertyByName(Component component, java.lang.String propertyName)
public static java.lang.String getRelativePath(PropertyHolder propertyHolder, java.lang.String propertyName)
public static java.lang.Object findColumnOwner(PersistentClass persistentClass, java.lang.String columnName, Mappings mappings)
public static void makeIdGenerator(SimpleValue id, java.lang.String generatorType, java.lang.String generatorName, Mappings mappings, java.util.Map<java.lang.String,IdGenerator> localGenerators)
public static boolean isEmptyAnnotationValue(java.lang.String annotationString)
public static Any buildAnyValue(java.lang.String anyMetaDefName, Ejb3JoinColumn[] columns, javax.persistence.Column metaColumn, PropertyData inferredData, boolean cascadeOnDelete, Nullability nullability, PropertyHolder propertyHolder, EntityBinder entityBinder, boolean optional, Mappings mappings)
public static void bindAnyMetaDefs(org.hibernate.annotations.common.reflection.XAnnotatedElement annotatedElement, Mappings mappings)
public static MappedSuperclass getMappedSuperclassOrNull(org.hibernate.annotations.common.reflection.XClass declaringClass, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass, Mappings mappings)
public static java.lang.String getPath(PropertyHolder holder, PropertyData property)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |