类 AbstractComponentTuplizer

    • 字段详细资料

      • getters

        protected final Getter[] getters
      • setters

        protected final Setter[] setters
      • propertySpan

        protected final int propertySpan
      • hasCustomAccessors

        protected final boolean hasCustomAccessors
    • 构造器详细资料

      • AbstractComponentTuplizer

        protected AbstractComponentTuplizer​(Component component)
    • 方法详细资料

      • getPropertyValue

        public Object getPropertyValue​(Object component,
                                       int i)
                                throws HibernateException
        从接口复制的说明: Tuplizer
        Extract the value of a particular property from the given entity.
        指定者:
        getPropertyValue 在接口中 Tuplizer
        参数:
        component - The entity from which to extract the property value.
        i - The index of the property for which to extract the value.
        返回:
        The current value of the given property on the given entity.
        抛出:
        HibernateException
      • isInstance

        public boolean isInstance​(Object object)
        从接口复制的说明: Tuplizer
        Is the given object considered an instance of the the entity (accounting for entity-mode) managed by this tuplizer.
        指定者:
        isInstance 在接口中 Tuplizer
        参数:
        object - The object to be checked.
        返回:
        True if the object is considered as an instance of this entity within the given mode.
      • getParent

        public Object getParent​(Object component)
        从接口复制的说明: ComponentTuplizer
        Retrieve the current value of the parent property.
        指定者:
        getParent 在接口中 ComponentTuplizer
        参数:
        component - The component instance from which to extract the parent property value.
        返回:
        The current value of the parent property.
      • hasParentProperty

        public boolean hasParentProperty()
        从接口复制的说明: ComponentTuplizer
        Does the component managed by this tuplizer contain a parent property?
        指定者:
        hasParentProperty 在接口中 ComponentTuplizer
        返回:
        True if the component does contain a parent property; false otherwise.
      • isMethodOf

        public boolean isMethodOf​(Method method)
        从接口复制的说明: ComponentTuplizer
        Is the given method available via the managed component as a property getter?
        指定者:
        isMethodOf 在接口中 ComponentTuplizer
        参数:
        method - The method which to check against the managed component.
        返回:
        True if the managed component is available from the managed component; else false.
      • setParent

        public void setParent​(Object component,
                              Object parent,
                              SessionFactoryImplementor factory)
        从接口复制的说明: ComponentTuplizer
        Set the value of the parent property.
        指定者:
        setParent 在接口中 ComponentTuplizer
        参数:
        component - The component instance on which to set the parent.
        parent - The parent to be set on the component.
        factory - The current session factory.
      • getGetter

        public Getter getGetter​(int i)
        从接口复制的说明: Tuplizer
        Retrieve the getter for the specified property.
        指定者:
        getGetter 在接口中 Tuplizer
        参数:
        i - The property index.
        返回:
        The property getter.
      • setComponentClass

        protected void setComponentClass​(Component component)