Class FieldRef<T,V>

java.lang.Object
com.aashish.javaormashcode.query.FieldRef<T,V>

public final class FieldRef<T,V> extends Object
  • Method Details

    • of

      public static <T, V> FieldRef<T,V> of(String path)
      Creates a field reference for the given model field or joined path.
    • as

      public FieldRef<T,V> as(String alias)
      Returns a copy of this field reference with the given projection alias.
    • path

      public String path()
      Returns the referenced field path.
    • alias

      public String alias()
      Returns the projection alias, or null when none was set.