Class PropertyBinder
- java.lang.Object
-
- org.hibernate.boot.model.internal.PropertyBinder
-
public class PropertyBinder extends Object
-
-
Constructor Summary
Constructors Constructor Description PropertyBinder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeneratorCreator
generatorCreator(org.hibernate.annotations.common.reflection.XProperty property, Annotation annotation)
In case the given annotation is a value generator annotation, the corresponding value generation strategy to be applied to the given property is returned,null
otherwise.BasicValueBinder
getBasicValueBinder()
Value
getValue()
static IdentifierGeneratorCreator
identifierGeneratorCreator(org.hibernate.annotations.common.reflection.XProperty idProperty, Annotation annotation)
boolean
isId()
Property
makeProperty()
Property
makePropertyAndBind()
Property
makePropertyValueAndBind()
void
setAccessType(AccessType accessType)
void
setBuildingContext(MetadataBuildingContext buildingContext)
void
setCascade(String cascadeStrategy)
void
setColumns(AnnotatedColumns columns)
void
setDeclaringClass(org.hibernate.annotations.common.reflection.XClass declaringClass)
void
setEmbedded(boolean embedded)
void
setEntityBinder(EntityBinder entityBinder)
void
setHolder(PropertyHolder holder)
void
setId(boolean id)
void
setInheritanceStatePerClass(Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
void
setInsertable(boolean insertable)
void
setLazy(boolean lazy)
void
setLazyGroup(String lazyGroup)
void
setName(String name)
void
setProperty(org.hibernate.annotations.common.reflection.XProperty property)
void
setPropertyAccessStrategy(PropertyAccessStrategy propertyAccessStrategy)
void
setReferencedEntityName(String referencedEntityName)
void
setReturnedClass(org.hibernate.annotations.common.reflection.XClass returnedClass)
void
setReturnedClassName(String returnedClassName)
void
setUpdatable(boolean updatable)
void
setValue(Value value)
void
setXToMany(boolean xToMany)
-
-
-
Method Detail
-
setReferencedEntityName
public void setReferencedEntityName(String referencedEntityName)
-
setEmbedded
public void setEmbedded(boolean embedded)
-
setEntityBinder
public void setEntityBinder(EntityBinder entityBinder)
-
setInsertable
public void setInsertable(boolean insertable)
-
setUpdatable
public void setUpdatable(boolean updatable)
-
setName
public void setName(String name)
-
setReturnedClassName
public void setReturnedClassName(String returnedClassName)
-
setLazy
public void setLazy(boolean lazy)
-
setLazyGroup
public void setLazyGroup(String lazyGroup)
-
setAccessType
public void setAccessType(AccessType accessType)
-
setColumns
public void setColumns(AnnotatedColumns columns)
-
setHolder
public void setHolder(PropertyHolder holder)
-
setValue
public void setValue(Value value)
-
setCascade
public void setCascade(String cascadeStrategy)
-
setBuildingContext
public void setBuildingContext(MetadataBuildingContext buildingContext)
-
setPropertyAccessStrategy
public void setPropertyAccessStrategy(PropertyAccessStrategy propertyAccessStrategy)
-
setDeclaringClass
public void setDeclaringClass(org.hibernate.annotations.common.reflection.XClass declaringClass)
-
setProperty
public void setProperty(org.hibernate.annotations.common.reflection.XProperty property)
-
setReturnedClass
public void setReturnedClass(org.hibernate.annotations.common.reflection.XClass returnedClass)
-
getBasicValueBinder
public BasicValueBinder getBasicValueBinder()
-
getValue
public Value getValue()
-
setId
public void setId(boolean id)
-
isId
public boolean isId()
-
setInheritanceStatePerClass
public void setInheritanceStatePerClass(Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
-
makePropertyAndBind
public Property makePropertyAndBind()
-
makePropertyValueAndBind
public Property makePropertyValueAndBind()
-
setXToMany
public void setXToMany(boolean xToMany)
-
makeProperty
public Property makeProperty()
-
generatorCreator
public static GeneratorCreator generatorCreator(org.hibernate.annotations.common.reflection.XProperty property, Annotation annotation)
In case the given annotation is a value generator annotation, the corresponding value generation strategy to be applied to the given property is returned,null
otherwise. Instantiates the given generator annotation type, initializing it with the given instance of the corresponding generator annotation and the property's type.
-
identifierGeneratorCreator
public static IdentifierGeneratorCreator identifierGeneratorCreator(org.hibernate.annotations.common.reflection.XProperty idProperty, Annotation annotation)
-
-