Interface ValueMatcher.ValueConverter<T>

  • Type Parameters:
    T -
    Enclosing class:
    ValueMatcher

    public static interface ValueMatcher.ValueConverter<T>
    Author:
    douglm
    • Method Detail

      • convert

        ValueComparator convert​(T val)
        Called to convert an object of a registered class. Converters implementing this interface are registered with a value matcher Note that standard value types (those defined in the standard schema) are all registered once only at system initialization.
        Parameters:
        val -
        Returns:
        a ValueComparator
      • getElementAndValue

        T getElementAndValue​(T val)
        Called to get a property or parameter object containing only the value. The property or parameter object is a new instance. Its value is copied.
        Parameters:
        val -
        Returns:
        property object containing value only
      • getNormalized

        List<T> getNormalized​(T val)
        Return either a single valued set or a set with the values split into separate objects
        Parameters:
        val -
        Returns:
        set containing the object or the split object