Class PropertyBinder


  • public class PropertyBinder
    extends Object
    A stateful binder responsible for creating Property objects.
    • Constructor Detail

      • PropertyBinder

        public PropertyBinder()
    • 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)
      • setValue

        public void setValue​(Value value)
      • setCascade

        public void setCascade​(String cascadeStrategy)
      • 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)
      • 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()
      • setToMany

        public void setToMany​(boolean toMany)
      • makeProperty

        public Property makeProperty()
      • isOptional

        public static boolean isOptional​(org.hibernate.annotations.common.reflection.XProperty property,
                                         PropertyHolder propertyHolder)
        Should this property be considered optional, taking into account whether it is primitive?