Interface ValueConverter

    • Method Detail

      • toAttributeValue

        String toAttributeValue​(Object o)
                         throws BeanException
        Converts an object to an attribute value.
        Parameters:
        o - the object, never null.
        Returns:
        the attribute value.
        Throws:
        BeanException - if there was an error during the conversion.
      • toPropertyValue

        Object toPropertyValue​(String s)
                        throws BeanException
        Converts a string to a property value.
        Parameters:
        s - the string, never null.
        Returns:
        a property value.
        Throws:
        BeanException - if there was an error during the conversion.