Class ClassPropertyHolder

    • Constructor Detail

      • ClassPropertyHolder

        public ClassPropertyHolder​(PersistentClass persistentClass,
                                   org.hibernate.annotations.common.reflection.XClass entityXClass,
                                   java.util.Map<java.lang.String,​Join> joins,
                                   MetadataBuildingContext context,
                                   java.util.Map<org.hibernate.annotations.common.reflection.XClass,​InheritanceState> inheritanceStatePerClass)
    • Method Detail

      • buildAttributeConversionInfoMap

        protected java.util.Map<java.lang.String,​AttributeConversionInfo> buildAttributeConversionInfoMap​(org.hibernate.annotations.common.reflection.XClass entityXClass)
      • startingProperty

        public void startingProperty​(org.hibernate.annotations.common.reflection.XProperty property)
        Description copied from interface: PropertyHolder
        Called during binding to allow the PropertyHolder to inspect its discovered properties. Mainly this is used in collecting attribute conversion declarations (via @Convert/@Converts).
        Parameters:
        property - The property
      • getEntityName

        public java.lang.String getEntityName()
      • addProperty

        public void addProperty​(Property prop,
                                Ejb3Column[] columns,
                                org.hibernate.annotations.common.reflection.XClass declaringClass)
      • addProperty

        public void addProperty​(Property prop,
                                org.hibernate.annotations.common.reflection.XClass declaringClass)
      • addJoin

        public Join addJoin​(JoinTable joinTableAnn,
                            boolean noDelayInPkColumnCreation)
      • getClassName

        public java.lang.String getClassName()
      • getEntityOwnerClassName

        public java.lang.String getEntityOwnerClassName()
      • getTable

        public Table getTable()
      • isComponent

        public boolean isComponent()
      • isEntity

        public boolean isEntity()
      • getIdentifier

        public KeyValue getIdentifier()
      • isOrWithinEmbeddedId

        public boolean isOrWithinEmbeddedId()
        Description copied from interface: PropertyHolder
        Return true if this component is or is embedded in a @EmbeddedId
      • isWithinElementCollection

        public boolean isWithinElementCollection()
        Description copied from interface: PropertyHolder
        Return true if this component is within an @ElementCollection.
      • toString

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