Class EnhancedGetterMethodImpl

    • Constructor Detail

      • EnhancedGetterMethodImpl

        public EnhancedGetterMethodImpl​(Class containerClass,
                                        String propertyName,
                                        Field field,
                                        Method getterMethod)
        Deprecated.
    • Method Detail

      • get

        public Object get​(Object owner)
        Deprecated.
        Description copied from interface: Getter
        Get the property value from the given owner instance.
        Specified by:
        get in interface Getter
        Parameters:
        owner - The instance containing the property value to be retrieved.
        Returns:
        The extracted value.
      • getForInsert

        public Object getForInsert​(Object owner,
                                   Map mergeMap,
                                   SharedSessionContractImplementor session)
        Deprecated.
        Description copied from interface: Getter
        Get the property value from the given owner instance.
        Specified by:
        getForInsert in interface Getter
        Parameters:
        owner - The instance containing the value to be retrieved.
        mergeMap - a map of merged persistent instances to detached instances
        session - The session from which this request originated.
        Returns:
        The extracted value.
      • getReturnType

        public Class getReturnType()
        Deprecated.
        Description copied from interface: Getter
        Retrieve the declared Java type
        Specified by:
        getReturnType in interface Getter
        Returns:
        The declared java type.
      • getMember

        public Member getMember()
        Deprecated.
        Description copied from interface: Getter
        Retrieve the member to which this property maps. This might be the field or it might be the getter method.

        Optional operation (may return null)

        Specified by:
        getMember in interface Getter
        Returns:
        The mapped member, or null.
      • getMethodName

        public String getMethodName()
        Deprecated.
        Description copied from interface: Getter
        Retrieve the getter-method name.

        Optional operation (may return null)

        Specified by:
        getMethodName in interface Getter
        Returns:
        The name of the getter method, or null.
      • getMethod

        public Method getMethod()
        Deprecated.
        Description copied from interface: Getter
        Retrieve the getter-method.

        Optional operation (may return null)

        Specified by:
        getMethod in interface Getter
        Returns:
        The getter method, or null.