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