Class Property

    • Constructor Detail

      • Property

        public Property()
    • Method Detail

      • isBackRef

        public boolean isBackRef()
      • isSynthetic

        public boolean isSynthetic()
        Does this property represent a synthetic property? A synthetic property is one we create during metamodel binding to represent a collection of columns but which does not represent a property physically available on the entity.
        Returns:
        True if synthetic; false otherwise.
      • getColumnSpan

        public int getColumnSpan()
      • getColumnIterator

        public java.util.Iterator getColumnIterator()
      • getName

        public java.lang.String getName()
      • isComposite

        public boolean isComposite()
      • getValue

        public Value getValue()
      • isPrimitive

        public boolean isPrimitive​(java.lang.Class clazz)
      • getCascade

        public java.lang.String getCascade()
      • setCascade

        public void setCascade​(java.lang.String cascade)
      • setName

        public void setName​(java.lang.String name)
      • setValue

        public void setValue​(Value value)
      • isUpdateable

        public boolean isUpdateable()
      • isInsertable

        public boolean isInsertable()
      • getValueGenerationStrategy

        public ValueGeneration getValueGenerationStrategy()
      • setValueGenerationStrategy

        public void setValueGenerationStrategy​(ValueGeneration valueGenerationStrategy)
      • setUpdateable

        public void setUpdateable​(boolean mutable)
      • setInsertable

        public void setInsertable​(boolean insertable)
      • getPropertyAccessorName

        public java.lang.String getPropertyAccessorName()
      • setPropertyAccessorName

        public void setPropertyAccessorName​(java.lang.String string)
      • isBasicPropertyAccessor

        public boolean isBasicPropertyAccessor()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setLazy

        public void setLazy​(boolean lazy)
      • isLazy

        public boolean isLazy()
        Is this property lazy in the "bytecode" sense? Lazy here means whether we should push *something* to the entity instance for this field in its "base fetch group". Mainly it affects whether we should list this property's columns in the SQL select for the owning entity when we load its "base fetch group". The "something" we push varies based on the nature (basic, etc) of the property.
      • getLazyGroup

        public java.lang.String getLazyGroup()
      • setLazyGroup

        public void setLazyGroup​(java.lang.String lazyGroup)
      • isOptimisticLocked

        public boolean isOptimisticLocked()
      • setOptimisticLocked

        public void setOptimisticLocked​(boolean optimisticLocked)
      • isOptional

        public boolean isOptional()
      • setOptional

        public void setOptional​(boolean optional)
      • setPersistentClass

        public void setPersistentClass​(PersistentClass persistentClass)
      • isSelectable

        public boolean isSelectable()
      • setSelectable

        public void setSelectable​(boolean selectable)
      • getAccessorPropertyName

        public java.lang.String getAccessorPropertyName​(EntityMode mode)
      • resolveServiceRegistry

        protected ServiceRegistry resolveServiceRegistry()
      • isNaturalIdentifier

        public boolean isNaturalIdentifier()
      • setNaturalIdentifier

        public void setNaturalIdentifier​(boolean naturalIdentifier)
      • isLob

        public boolean isLob()
      • setLob

        public void setLob​(boolean lob)