Class ValueFilterValues<T,​V>

  • Type Parameters:
    T - type of filter value
    V - type of value after conversion (can be the same as T)

    public abstract class ValueFilterValues<T,​V>
    extends Object
    Object wraps zero, one or multiple values and makes their processing easier. Instead of just wrapping the values it uses the whole filter object to utilize its convenience methods. Returned values are typed to Object, because they can be converted from original type. Conversion is moved into this class, so the client code doesn't have to handle translation from PrismPropertyValue to "real value" and then to convert it. Both singleValue() and allValues() are handled the same way.