001package io.ebean.typequery; 002 003/** 004 * Property for classes that are serialized/deserialized by 005 * ScalarType/AttributeConverter. If the classes are comparable, 006 * it is assumed that the database can compare the serialized values too. 007 * 008 * @param <R> the root query bean type 009 * @param <D> the scalar type 010 */ 011public class PScalarComparable<R, D extends Comparable<D>> extends PBaseCompareable<R, D> { 012 013 /** 014 * Construct with a property name and root instance. 015 * 016 * @param name property name 017 * @param root the root query bean instance 018 */ 019 public PScalarComparable(String name, R root) { 020 super(name , root); 021 } 022 023 /** 024 * Construct with additional path prefix. 025 */ 026 public PScalarComparable(String name, R root, String prefix) { 027 super(name, root, prefix); 028 } 029 030}