Class PScalarComparable<R,​D extends Comparable<D>>

  • Type Parameters:
    R - the root query bean type
    D - the scalar type

    public class PScalarComparable<R,​D extends Comparable<D>>
    extends PBaseCompareable<R,​D>
    Property for classes that are serialized/deserialized by ScalarType/AttributeConverter. If the classes are comparable, it is assumed that the database can compare the serialized values too.
    • Constructor Detail

      • PScalarComparable

        public PScalarComparable​(String name,
                                 R root)
        Construct with a property name and root instance.
        Parameters:
        name - property name
        root - the root query bean instance