Interface CoreFieldTransformer<SESSION extends CoreSession>

    • Field Detail

      • BUILD_FIELD_VALUE_METHOD

        static final java.lang.String BUILD_FIELD_VALUE_METHOD
        Method name should be same as the value of this field. This field is used to find method name in reflection call.
        See Also:
        Constant Field Values
    • Method Detail

      • buildFieldValue

        java.lang.Object buildFieldValue​(java.lang.Object instance,
                                         java.lang.String fieldName,
                                         SESSION session)
        Parameters:
        instance - - an instance of the domain class which contains the attribute
        session - - the current session
        fieldName - - the name of the field being transformed. Used if the user wants to use this transformer for multiple fields.
        Returns:
        - The value to be written for the field associated with this transformer