Interface Field<A>

  • Type Parameters:
    A - type of the field, e.g. String or Date.
    All Known Subinterfaces:
    PropertyField<A>, VersionField

    public interface Field<A>
    A Field refers to a field in the persistence layer of the asset manager. This may either be a real field like a property or a virtual field that helps to build a predicate for a real field.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Order asc()
      Create an ascending order specifier for the field.
      Order desc()
      Create a descending order specifier for the field.
      Predicate eq​(A right)
      Create a predicate that holds true if the field's value and constant value right are equal.
      Predicate eq​(PropertyField<A> right)
      Create a predicate that holds true if the field's value and the value of property field right are equal.
      Predicate exists()
      Create a predicate that holds true if the field exists.
      Predicate ge​(A right)
      Create a predicate that holds true if the field's value is greater than constant value right or equal to it.
      Predicate ge​(PropertyField<A> right)
      Create a predicate that holds true if the field's value is greater than the value of property field right or equal to it.
      Predicate gt​(A right)
      Create a predicate that holds true if the field's value is strictly greater than constant value right.
      Predicate gt​(PropertyField<A> right)
      Create a predicate that holds true if the field's value is strictly greater than the value of property field right.
      Predicate le​(A right)
      Create a predicate that holds true if the field's value is less than constant value right or equal to it.
      Predicate le​(PropertyField<A> right)
      Create a predicate that holds true if the field's value is less than the value of property field right or equal to it.
      Predicate lt​(A right)
      Create a predicate that holds true if the field's value is strictly less than constant value right.
      Predicate lt​(PropertyField<A> right)
      Create a predicate that holds true if the field's value is strictly less than the value of property field right.
      Predicate notExists()
      Create a predicate that holds true if the field does not exist.
    • Method Detail

      • eq

        Predicate eq​(A right)
        Create a predicate that holds true if the field's value and constant value right are equal.
      • eq

        Predicate eq​(PropertyField<A> right)
        Create a predicate that holds true if the field's value and the value of property field right are equal.
      • lt

        Predicate lt​(A right)
        Create a predicate that holds true if the field's value is strictly less than constant value right.
      • lt

        Predicate lt​(PropertyField<A> right)
        Create a predicate that holds true if the field's value is strictly less than the value of property field right.
      • le

        Predicate le​(A right)
        Create a predicate that holds true if the field's value is less than constant value right or equal to it.
      • le

        Predicate le​(PropertyField<A> right)
        Create a predicate that holds true if the field's value is less than the value of property field right or equal to it.
      • gt

        Predicate gt​(A right)
        Create a predicate that holds true if the field's value is strictly greater than constant value right.
      • gt

        Predicate gt​(PropertyField<A> right)
        Create a predicate that holds true if the field's value is strictly greater than the value of property field right.
      • ge

        Predicate ge​(A right)
        Create a predicate that holds true if the field's value is greater than constant value right or equal to it.
      • ge

        Predicate ge​(PropertyField<A> right)
        Create a predicate that holds true if the field's value is greater than the value of property field right or equal to it.
      • exists

        Predicate exists()
        Create a predicate that holds true if the field exists.
      • notExists

        Predicate notExists()
        Create a predicate that holds true if the field does not exist.
      • desc

        Order desc()
        Create a descending order specifier for the field.
      • asc

        Order asc()
        Create an ascending order specifier for the field.