Class AbstractValueAssert<D extends AbstractDbData<D>,A extends AbstractDbAssert<D,A,C,CV,R,RV>,S extends AbstractSubAssert<D,A,S,V,C,CV,R,RV>,V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>,C extends AbstractColumnAssert<D,A,C,CV,R,RV>,CV extends AbstractColumnValueAssert<D,A,C,CV,R,RV>,R extends AbstractRowAssert<D,A,C,CV,R,RV>,RV extends AbstractRowValueAssert<D,A,C,CV,R,RV>>

Type Parameters:
D - The class of the actual value (an sub-class of AbstractDbData).
A - The class of the original assertion (an sub-class of AbstractDbAssert).
S - The class of which contains assertion methods about Column or Row (an sub-class of AbstractSubAssert).
V - The class of this assertion (an sub-class of AbstractValueAssert).
C - The class of this assertion (an sub-class of AbstractColumnAssert).
CV - The class of this assertion on the value (an sub-class of AbstractColumnValueAssert).
R - The class of the equivalent row assertion (an sub-class of AbstractRowAssert).
RV - The class of the equivalent row assertion on the value (an sub-class of AbstractRowValueAssert).
All Implemented Interfaces:
org.assertj.core.api.Descriptable<V>, AssertOnValueChronology<V>, AssertOnValueClass<V>, AssertOnValueCloseness<V>, AssertOnValueComparison<V>, AssertOnValueCondition<V>, AssertOnValueEquality<V>, AssertOnValueInequality<V>, AssertOnValueNullity<V>, AssertOnValueType<V>, Element, ValueElement, Navigation, ToColumn<C>, ToRow<R>, ToValue<V>
Direct Known Subclasses:
AbstractColumnValueAssert, AbstractRowValueAssert

public abstract class AbstractValueAssert<D extends AbstractDbData<D>,A extends AbstractDbAssert<D,A,C,CV,R,RV>,S extends AbstractSubAssert<D,A,S,V,C,CV,R,RV>,V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>,C extends AbstractColumnAssert<D,A,C,CV,R,RV>,CV extends AbstractColumnValueAssert<D,A,C,CV,R,RV>,R extends AbstractRowAssert<D,A,C,CV,R,RV>,RV extends AbstractRowValueAssert<D,A,C,CV,R,RV>> extends AbstractAssertWithOriginWithColumnsAndRows<V,S,D,A,C,CV,R,RV> implements ValueElement, ToValue<V>, AssertOnValueClass<V>, AssertOnValueType<V>, AssertOnValueNullity<V>, AssertOnValueEquality<V>, AssertOnValueInequality<V>, AssertOnValueChronology<V>, AssertOnValueComparison<V>, AssertOnValueCloseness<V>, AssertOnValueCondition<V>
Base class for all values assertions.
Author:
Régis Pouiller, Otoniel Isidoro, Julien Roy
  • Field Details

    • value

      protected final Value value
      The actual value on which this assertion is.
  • Method Details

    • value

      public V value()
      Returns assertion methods on the next value in the list of values.
      Specified by:
      value in interface ToValue<D extends AbstractDbData<D>>
      Returns:
      An object to make assertions on the next value.
      See Also:
    • value

      public V value(int index)
      Returns assertion methods on the value at the index in parameter.
      Specified by:
      value in interface ToValue<D extends AbstractDbData<D>>
      Parameters:
      index - The index corresponding to the value.
      Returns:
      An object to make assertions on the value.
      See Also:
    • isOfClass

      public V isOfClass(Class<?> expected)
      Verifies that the class of the value is equal to the class in parameter.

      Example where the assertion verifies that the value in the Column called "title" of the second Row of the Table is of class String :

       
       assertThat(table).row(1).value("title").isOfClass(String.class);
       
       

      Example where the assertion verifies that the value in the Column called "title" of the Row at end point of the first Change is of class String :

       
       assertThat(changes).change().rowAtEndPoint().value("title").isOfClass(String.class);
       
       
      Specified by:
      isOfClass in interface AssertOnValueClass<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected class to compare to.
      Returns:
      this assertion object.
      See Also:
    • isOfType

      public V isOfType(ValueType expected)
      Verifies that the type of the value is equal to the type in parameter.

      Example where the assertion verifies that the value in the Column called "title" of the second Row of the Table is of type TEXT :

       
       assertThat(table).row(1).value("title").isOfType(ValueType.TEXT);
       
       

      Example where the assertion verifies that the value in the Column called "title" of the Row at end point of the first Change is of type TEXT :

       
       assertThat(changes).change().rowAtEndPoint().value("title").isOfType(ValueType.TEXT);
       
       
      Specified by:
      isOfType in interface AssertOnValueType<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected type to compare to.
      Returns:
      this assertion object.
      See Also:
    • isOfAnyTypeIn

      public V isOfAnyTypeIn(ValueType... expected)
      Verifies that the type of the value is equal to one of the types in parameters.

      Example where the assertion verifies that the value in the Column called "title" of the second Row of the Table is of type TEXT or of type NUMBER :

       
       assertThat(table).row(1).value("title").isOfType(ValueType.TEXT, ValueType.NUMBER);
       
       

      Example where the assertion verifies that the value in the Column called "title" of the Row at end point of the first Change is of type TEXT or of type NUMBER :

       
       assertThat(changes).change().rowAtEndPoint().value("title").isOfType(ValueType.TEXT, ValueType.NUMBER);
       
       
      Specified by:
      isOfAnyTypeIn in interface AssertOnValueType<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected types to compare to.
      Returns:
      this assertion object.
      See Also:
    • isNumber

      public V isNumber()
      Verifies that the value is a number.

      Example where the assertion verifies that the value in the Column called "year" of the first Row of the Table is a number :

       
       assertThat(table).row().value("year").isNumber();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is a number :

       
       assertThat(changes).change().rowAtEndPoint().value().isNumber();
       
       

      This assertion method is equivalent to :

       
       xxxxx.isOfType(ValueType.NUMBER);
       
       
      Specified by:
      isNumber in interface AssertOnValueType<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isBoolean

      public V isBoolean()
      Verifies that the value is a boolean.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is a boolean :

       
       assertThat(table).row().value().isBoolean();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is a boolean :

       
       assertThat(changes).change().rowAtEndPoint().value().isBoolean();
       
       

      This assertion method is equivalent to :

       
       xxxxx.isOfType(ValueType.BOOLEAN);
       
       
      Specified by:
      isBoolean in interface AssertOnValueType<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isDate

      public V isDate()
      Verifies that the value is a date.

      Example where the assertion verifies that the value in the Column called "birth" of the first Row of the Table is a date :

       
       assertThat(table).row().value("birth").isDate();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is a date :

       
       assertThat(changes).change().rowAtEndPoint().value().isDate();
       
       

      This assertion method is equivalent to :

       
       xxxxx.isOfType(ValueType.DATE);
       
       
      Specified by:
      isDate in interface AssertOnValueType<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isTime

      public V isTime()
      Verifies that the value is a time.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is a time :

       
       assertThat(table).row().value().isTime();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is a time :

       
       assertThat(changes).change().rowAtEndPoint().value().isTime();
       
       

      This assertion method is equivalent to :

       
       xxxxx.isOfType(ValueType.TIME);
       
       
      Specified by:
      isTime in interface AssertOnValueType<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isDateTime

      public V isDateTime()
      Verifies that the value is a date/time.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is a date/time :

       
       assertThat(table).row().value().isDateTime();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is a date/time :

       
       assertThat(changes).change().rowAtEndPoint().value().isDateTime();
       
       

      This assertion method is equivalent to :

       
       xxxxx.isOfType(ValueType.DATE_TIME);
       
       
      Specified by:
      isDateTime in interface AssertOnValueType<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isBytes

      public V isBytes()
      Verifies that the value is a array of bytes.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is a array of bytes :

       
       assertThat(table).row().value().isBytes();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is a array of bytes :

       
       assertThat(changes).change().rowAtEndPoint().value().isBytes();
       
       

      This assertion method is equivalent to :

       
       xxxxx.isOfType(ValueType.BYTES);
       
       
      Specified by:
      isBytes in interface AssertOnValueType<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isText

      public V isText()
      Verifies that the value is a text.

      Example where the assertion verifies that the value in the Column called "title" of the first Row of the Table is a text :

       
       assertThat(table).row().value("title").isText();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is a text :

       
       assertThat(changes).change().rowAtEndPoint().value().isText();
       
       

      This assertion method is equivalent to :

       
       xxxxx.isOfType(ValueType.TEXT);
       
       
      Specified by:
      isText in interface AssertOnValueType<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isUUID

      public V isUUID()
      Verifies that the value is an UUID.

      Example where the assertion verifies that the value in the Column called id of the first Row of the Table is an UUID :

       
       assertThat(table).row().value("id").isUUID();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is an UUID :

       
       assertThat(changes).change().rowAtEndPoint().value().isUUID();
       
       

      This assertion method is equivalent to :

       
       xxxxx.isOfType(ValueType.UUID);
       
       
      Specified by:
      isUUID in interface AssertOnValueType<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isNull

      public V isNull()
      Verifies that the value is null.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is null :

       
       assertThat(table).row().value().isNull();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is null :

       
       assertThat(changes).change().rowAtEndPoint().value().isNull();
       
       
      Specified by:
      isNull in interface AssertOnValueNullity<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isNotNull

      public V isNotNull()
      Verifies that the value is not null.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not null :

       
       assertThat(table).row().value().isNotNull();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not null :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotNull();
       
       
      Specified by:
      isNotNull in interface AssertOnValueNullity<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(Object expected)
      Verifies that the value is equal to a boolean.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to french Locale :

       
       assertThat(table).row().value().isEqualTo(Locale.FRENCH);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to french Locale :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo(Locale.FRENCH);
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected object value.
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(Boolean expected)
      Verifies that the value is equal to a boolean.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to true boolean :

       
       assertThat(table).row().value().isEqualTo(true);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to true boolean :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo(true);
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected boolean value.
      Returns:
      this assertion object.
      See Also:
    • isTrue

      public V isTrue()
      Verifies that the value is equal to true boolean.

      Example with the value in the first Column of the first Row of the Table :

       
       assertThat(table).row().value().isTrue();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change :

       
       assertThat(changes).change().rowAtEndPoint().value().isTrue();
       
       
      Specified by:
      isTrue in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isFalse

      public V isFalse()
      Verifies that the value is equal to false boolean.

      Example with the value in the first Column of the first Row of the Table :

       
       assertThat(table).row().value().isFalse();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change :

       
       assertThat(changes).change().rowAtEndPoint().value().isFalse();
       
       
      Specified by:
      isFalse in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(Number expected)
      Verifies that the value is equal to a number.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to number 3 :

       
       assertThat(table).row().value().isEqualTo(3);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to number 3 :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo(3);
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected number value.
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(byte[] expected)
      Verifies that the value is equal to a array of bytes.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to a array of bytes loaded from a file in the classpath :

       
       byte[] bytes = bytesContentFromClassPathOf("file.png");
       assertThat(table).row().value().isEqualTo(bytes);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to a array of bytes loaded from a file in the classpath :

       
       byte[] bytes = bytesContentFromClassPathOf("file.png");
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo(bytes);
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected array of bytes value.
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(String expected)
      Verifies that the value is equal to a text.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to a text :

       
       assertThat(table).row().value().isEqualTo("text");
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to a text :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo("text");
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected text value.
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(Character expected)
      Verifies that the value is equal to a character.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to a character :

       
       assertThat(table).row().value().isEqualTo('c');
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to a character :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo('c');
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected character value.
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(UUID expected)
      Verifies that the value is equal to an UUID.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to an UUID :

       
       assertThat(table).row().value().isEqualTo(UUID.fromString("30B443AE-C0C9-4790-9BEC-CE1380808435"));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to an UUID :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo(UUID.fromString("30B443AE-C0C9-4790-9BEC-CE1380808435"));
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected UUID value.
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(DateValue expected)
      Verifies that the value is equal to a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to a date value :

       
       assertThat(table).row().value().isEqualTo(DateValue.of(2014, 7, 7));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo(DateValue.of(2014, 7, 7));
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date value.
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(TimeValue expected)
      Verifies that the value is equal to a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to a time value :

       
       assertThat(table).row().value().isEqualTo(TimeValue.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo(TimeValue.of(21, 29, 30));
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected time value.
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(DateTimeValue expected)
      Verifies that the value is equal to a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to a date/time value :

       
       assertThat(table).row().value().isEqualTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29)));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29)));
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date/time value.
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(LocalDate expected)
      Verifies that the value is equal to a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to a date value :

       
       assertThat(table).row().value().isEqualTo(LocalDate.of(2014, 7, 7));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalDate.of(2014, 7, 7));
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date value.
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(LocalTime expected)
      Verifies that the value is equal to a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to a time value :

       
       assertThat(table).row().value().isEqualTo(LocalTime.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalTime.of(21, 29, 30));
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected time value.
      Returns:
      this assertion object.
      See Also:
    • isEqualTo

      public V isEqualTo(LocalDateTime expected)
      Verifies that the value is equal to a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to a date/time value :

       
       assertThat(table).row().value().isEqualTo(LocalDateTime.of(2014, 7, 7, 21, 29));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalDateTime.of(2014, 7, 7, 21, 29));
       
       
      Specified by:
      isEqualTo in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date/time value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(Object expected)
      Verifies that the value is not equal to a object.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to true french Locale :

       
       assertThat(table).row().value().isNotEqualTo(Locale.FRENCH);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to french Locale :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(Locale.FRENCH);
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected object value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(Boolean expected)
      Verifies that the value is not equal to a boolean.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to true boolean :

       
       assertThat(table).row().value().isNotEqualTo(true);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to true boolean :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(true);
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected boolean value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(byte[] expected)
      Verifies that the value is not equal to a array of bytes.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to a array of bytes loaded from a file in the classpath :

       
       byte[] bytes = bytesContentFromClassPathOf("file.png");
       assertThat(table).row().value().isNotEqualTo(bytes);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to a array of bytes loaded from a file in the classpath :

       
       byte[] bytes = bytesContentFromClassPathOf("file.png");
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(bytes);
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected array of bytes value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(DateTimeValue expected)
      Verifies that the value is not equal to a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to a date/time value :

       
       assertThat(table).row().value().isNotEqualTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29)));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29)));
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date/time value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(DateValue expected)
      Verifies that the value is not equal to a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to a date value :

       
       assertThat(table).row().value().isNotEqualTo(DateValue.of(2014, 7, 7));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(DateValue.of(2014, 7, 7));
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(Number expected)
      Verifies that the value is not equal to a number.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to number 3 :

       
       assertThat(table).row().value().isNotEqualTo(3);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to number 3 :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(3);
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected number value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(String expected)
      Verifies that the value is not equal to a text.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to a text :

       
       assertThat(table).row().value().isNotEqualTo("text");
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to a text :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo("text");
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected text value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(Character expected)
      Verifies that the value is not equal to a character.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to a character :

       
       assertThat(table).row().value().isNotEqualTo('c');
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to a character :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo('c');
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected character value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(UUID expected)
      Verifies that the value is not equal to an UUID.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to an UUID :

       
       assertThat(table).row().value().isNotEqualTo(UUID.fromString("30B443AE-C0C9-4790-9BEC-CE1380808435"));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to an UUID :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(UUID.fromString("30B443AE-C0C9-4790-9BEC-CE1380808435"));
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected UUID value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(TimeValue expected)
      Verifies that the value is not equal to a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to a time value :

       
       assertThat(table).row().value().isNotEqualTo(TimeValue.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(TimeValue.of(21, 29, 30));
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected time value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(LocalDate expected)
      Verifies that the value is not equal to a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to a date value :

       
       assertThat(table).row().value().isNotEqualTo(LocalDate.of(2014, 7, 7));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalDate.of(2014, 7, 7));
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(LocalTime expected)
      Verifies that the value is not equal to a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to a time value :

       
       assertThat(table).row().value().isNotEqualTo(LocalTime.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalTime.of(21, 29, 30));
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected time value.
      Returns:
      this assertion object.
      See Also:
    • isNotEqualTo

      public V isNotEqualTo(LocalDateTime expected)
      Verifies that the value is not equal to a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to a date/time value :

       
       assertThat(table).row().value().isNotEqualTo(LocalDateTime.of(2014, 7, 7, 21, 29));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalDateTime.of(2014, 7, 7, 21, 29));
       
       
      Specified by:
      isNotEqualTo in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date/time value.
      Returns:
      this assertion object.
      See Also:
    • isBefore

      public V isBefore(DateValue date)
      Verifies that the value is before a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before a date value :

       
       assertThat(table).row().value().isBefore(DateValue.of(2007, 12, 23));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBefore(DateValue.of(2007, 12, 23));
       
       
      Specified by:
      isBefore in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      date - The date value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBefore

      public V isBefore(TimeValue time)
      Verifies that the value is before a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before a time value :

       
       assertThat(table).row().value().isBefore(TimeValue.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBefore(TimeValue.of(21, 29, 30));
       
       
      Specified by:
      isBefore in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      time - The time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBefore

      public V isBefore(DateTimeValue dateTime)
      Verifies that the value is before a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before a date/time value :

       
       assertThat(table).row().value().isBefore(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBefore(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
       
       
      Specified by:
      isBefore in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      dateTime - The date/time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBefore

      public V isBefore(LocalDate date)
      Verifies that the value is before a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before a date value :

       
       assertThat(table).row().value().isBefore(LocalDate.of(2007, 12, 23));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalDate.of(2007, 12, 23));
       
       
      Specified by:
      isBefore in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      date - The date value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBefore

      public V isBefore(LocalTime time)
      Verifies that the value is before a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before a time value :

       
       assertThat(table).row().value().isBefore(LocalTime.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalTime.of(21, 29, 30));
       
       
      Specified by:
      isBefore in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      time - The time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBefore

      public V isBefore(LocalDateTime dateTime)
      Verifies that the value is before a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before a date/time value :

       
       assertThat(table).row().value().isBefore(LocalDateTime.of(2007, 12, 23, 21, 29));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalDateTime.of(2007, 12, 23, 21, 29));
       
       
      Specified by:
      isBefore in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      dateTime - The date/time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBefore

      public V isBefore(String expected)
      Verifies that the value is before a date, time or date/time represented by a String.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before a date represented by a String :

       
       assertThat(table).row().value().isBefore("2007-12-23");
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before a date represented by a String :

       
       assertThat(changes).change().rowAtEndPoint().value().isBefore("2007-12-23");
       
       
      Specified by:
      isBefore in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      expected - The String representing a date, time or date/time to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBeforeOrEqualTo

      public V isBeforeOrEqualTo(DateValue date)
      Verifies that the value is before or equal to a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before or equal to a date value :

       
       assertThat(table).row().value().isBeforeOrEqualTo(DateValue.of(2007, 12, 23));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before or equal to a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(DateValue.of(2007, 12, 23));
       
       
      Specified by:
      isBeforeOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      date - The date value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBeforeOrEqualTo

      public V isBeforeOrEqualTo(TimeValue time)
      Verifies that the value is before or equal to a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before or equal to a time value :

       
       assertThat(table).row().value().isBeforeOrEqualTo(TimeValue.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before or equal to a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(TimeValue.of(21, 29, 30));
       
       
      Specified by:
      isBeforeOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      time - The time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBeforeOrEqualTo

      public V isBeforeOrEqualTo(DateTimeValue dateTime)
      Verifies that the value is before or equal to a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before or equal to a date/time value :

       
       assertThat(table).row().value().isBeforeOrEqualTo(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before or equal to a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
       
       
      Specified by:
      isBeforeOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      dateTime - The date/time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBeforeOrEqualTo

      public V isBeforeOrEqualTo(LocalDate date)
      Verifies that the value is before or equal to a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before or equal to a date value :

       
       assertThat(table).row().value().isBeforeOrEqualTo(LocalDate.of(2007, 12, 23));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before or equal to a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalDate.of(2007, 12, 23));
       
       
      Specified by:
      isBeforeOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      date - The date value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBeforeOrEqualTo

      public V isBeforeOrEqualTo(LocalTime time)
      Verifies that the value is before or equal to a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before or equal to a time value :

       
       assertThat(table).row().value().isBeforeOrEqualTo(LocalTime.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before or equal to a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalTime.of(21, 29, 30));
       
       
      Specified by:
      isBeforeOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      time - The time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBeforeOrEqualTo

      public V isBeforeOrEqualTo(LocalDateTime dateTime)
      Verifies that the value is before or equal to a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before or equal to a date/time value :

       
       assertThat(table).row().value().isBeforeOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before or equal to a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));
       
       
      Specified by:
      isBeforeOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      dateTime - The date/time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isBeforeOrEqualTo

      public V isBeforeOrEqualTo(String expected)
      Verifies that the value is before or equal to a date, time or date/time represented by a String.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is before or equal to a date represented by a String :

       
       assertThat(table).row().value().isBeforeOrEqualTo("2007-12-23");
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is before or equal to a date represented by a String :

       
       assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo("2007-12-23");
       
       
      Specified by:
      isBeforeOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      expected - The String representing a date, time or date/time to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfter

      public V isAfter(DateValue date)
      Verifies that the value is after a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after a date value :

       
       assertThat(table).row().value().isAfter(DateValue.of(2007, 12, 23));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfter(DateValue.of(2007, 12, 23));
       
       
      Specified by:
      isAfter in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      date - The date value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfter

      public V isAfter(TimeValue time)
      Verifies that the value is after a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after a time value :

       
       assertThat(table).row().value().isAfter(TimeValue.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfter(TimeValue.of(21, 29, 30));
       
       
      Specified by:
      isAfter in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      time - The time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfter

      public V isAfter(DateTimeValue dateTime)
      Verifies that the value is after a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after a date/time value :

       
       assertThat(table).row().value().isAfter(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfter(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
       
       
      Specified by:
      isAfter in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      dateTime - The date/time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfter

      public V isAfter(LocalDate date)
      Verifies that the value is after a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after a date value :

       
       assertThat(table).row().value().isAfter(LocalDate.of(2007, 12, 23));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalDate.of(2007, 12, 23));
       
       
      Specified by:
      isAfter in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      date - The date value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfter

      public V isAfter(LocalTime time)
      Verifies that the value is after a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after a time value :

       
       assertThat(table).row().value().isAfter(LocalTime.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalTime.of(21, 29, 30));
       
       
      Specified by:
      isAfter in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      time - The time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfter

      public V isAfter(LocalDateTime dateTime)
      Verifies that the value is after a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after a date/time value :

       
       assertThat(table).row().value().isAfter(LocalDateTime.of(2007, 12, 23, 21, 29));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalDateTime.of(2007, 12, 23, 21, 29));
       
       
      Specified by:
      isAfter in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      dateTime - The date/time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfter

      public V isAfter(String expected)
      Verifies that the value is after a date, time or date/time represented by a String.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after a date represented by a String :

       
       assertThat(table).row().value().isAfter("2007-12-23");
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after a date represented by a String :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfter("2007-12-23");
       
       
      Specified by:
      isAfter in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      expected - The String representing a date, time or date/time to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfterOrEqualTo

      public V isAfterOrEqualTo(DateValue date)
      Verifies that the value is after or equal to a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after or equal to a date value :

       
       assertThat(table).row().value().isAfterOrEqualTo(DateValue.of(2007, 12, 23));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after or equal to a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(DateValue.of(2007, 12, 23));
       
       
      Specified by:
      isAfterOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      date - The date value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfterOrEqualTo

      public V isAfterOrEqualTo(TimeValue time)
      Verifies that the value is after or equal to a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after or equal to a time value :

       
       assertThat(table).row().value().isAfterOrEqualTo(TimeValue.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after or equal to a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(TimeValue.of(21, 29, 30));
       
       
      Specified by:
      isAfterOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      time - The time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfterOrEqualTo

      public V isAfterOrEqualTo(DateTimeValue dateTime)
      Verifies that the value is after or equal to a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after or equal to a date/time value :

       
       assertThat(table).row().value().isAfterOrEqualTo(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after or equal to a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
       
       
      Specified by:
      isAfterOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      dateTime - The date/time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfterOrEqualTo

      public V isAfterOrEqualTo(LocalDate date)
      Verifies that the value is after or equal to a date value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after or equal to a date value :

       
       assertThat(table).row().value().isAfterOrEqualTo(LocalDate.of(2007, 12, 23));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after or equal to a date value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalDate.of(2007, 12, 23));
       
       
      Specified by:
      isAfterOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      date - The date value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfterOrEqualTo

      public V isAfterOrEqualTo(LocalTime time)
      Verifies that the value is after or equal to a time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after or equal to a time value :

       
       assertThat(table).row().value().isAfterOrEqualTo(LocalTime.of(21, 29, 30));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after or equal to a time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalTime.of(21, 29, 30));
       
       
      Specified by:
      isAfterOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      time - The time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfterOrEqualTo

      public V isAfterOrEqualTo(LocalDateTime dateTime)
      Verifies that the value is after or equal to a date/time value.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after or equal to a date/time value :

       
       assertThat(table).row().value().isAfterOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after or equal to a date/time value :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));
       
       
      Specified by:
      isAfterOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      dateTime - The date/time value to compare to.
      Returns:
      this assertion object.
      See Also:
    • isAfterOrEqualTo

      public V isAfterOrEqualTo(String expected)
      Verifies that the value is after or equal to a date, time or date/time represented by a String.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is after or equal to a date represented by a String :

       
       assertThat(table).row().value().isAfterOrEqualTo("2007-12-23");
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is after or equal to a date represented by a String :

       
       assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo("2007-12-23");
       
       
      Specified by:
      isAfterOrEqualTo in interface AssertOnValueChronology<D extends AbstractDbData<D>>
      Parameters:
      expected - The String representing a date, time or date/time to compare to.
      Returns:
      this assertion object.
      See Also:
    • isZero

      public V isZero()
      Verifies that the value is equal to zero.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is equal to zero :

       
       assertThat(table).row().value().isZero();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is equal to zero :

       
       assertThat(changes).change().rowAtEndPoint().value().isZero();
       
       
      Specified by:
      isZero in interface AssertOnValueEquality<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isNotZero

      public V isNotZero()
      Verifies that the value is not equal to zero.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is not equal to zero :

       
       assertThat(table).row().value().isNotZero();
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is not equal to zero :

       
       assertThat(changes).change().rowAtEndPoint().value().isNotZero();
       
       
      Specified by:
      isNotZero in interface AssertOnValueInequality<D extends AbstractDbData<D>>
      Returns:
      this assertion object.
      See Also:
    • isGreaterThan

      public V isGreaterThan(Number expected)
      Verifies that the value is greater than a number.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is greater than number 3 :

       
       assertThat(table).row().value().isGreaterThan(3);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is greater than number 3 :

       
       assertThat(changes).change().rowAtEndPoint().value().isGreaterThan(3);
       
       
      Specified by:
      isGreaterThan in interface AssertOnValueComparison<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected number value.
      Returns:
      this assertion object.
      See Also:
    • isLessThan

      public V isLessThan(Number expected)
      Verifies that the value is less than a number.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is less than number 3 :

       
       assertThat(table).row().value().isLessThan(3);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is less than number 3 :

       
       assertThat(changes).change().rowAtEndPoint().value().isLessThan(3);
       
       
      Specified by:
      isLessThan in interface AssertOnValueComparison<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected number value.
      Returns:
      this assertion object.
      See Also:
    • isGreaterThanOrEqualTo

      public V isGreaterThanOrEqualTo(Number expected)
      Verifies that the value is greater than or equal to a number.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is greater than or equal to number 3 :

       
       assertThat(table).row().value().isGreaterThanOrEqual(3);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is greater than or equal to number 3 :

       
       assertThat(changes).change().rowAtEndPoint().value().isGreaterThanOrEqual(3);
       
       
      Specified by:
      isGreaterThanOrEqualTo in interface AssertOnValueComparison<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected number value.
      Returns:
      this assertion object.
      See Also:
    • isLessThanOrEqualTo

      public V isLessThanOrEqualTo(Number expected)
      Verifies that the value is less than or equal to a number.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is less than or equal to number 3 :

       
       assertThat(table).row().value().isLessThanOrEqual(3);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is less than or equal to number 3 :

       
       assertThat(changes).change().rowAtEndPoint().value().isLessThanOrEqual(3);
       
       
      Specified by:
      isLessThanOrEqualTo in interface AssertOnValueComparison<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected number value.
      Returns:
      this assertion object.
      See Also:
    • isCloseTo

      public V isCloseTo(Number expected, Number tolerance)
      Verifies that the value is close to a number.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is close to number 3 with a tolerance of 1 (that means that all the numbers between 2 and 4 included are close enough) :

       
       assertThat(table).row().value().isCloseTo(3, 1);
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is close to number 3 with a tolerance of 0.75 :

       
       assertThat(changes).change().rowAtEndPoint().value().isCloseTo(3, 0.75);
       
       
      Specified by:
      isCloseTo in interface AssertOnValueCloseness<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected number value.
      tolerance - The tolerance of the closeness.
      Returns:
      this assertion object.
      See Also:
    • isCloseTo

      public V isCloseTo(DateValue expected, DateValue tolerance)
      Verifies that the value is close to a date.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is close to a date value with a tolerance of 2 days :

       
       assertThat(table).row().value().isCloseTo(DateValue.of(2014, 7, 7), DateValue.of(0, 0, 2));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is close to a date value with a tolerance of 2 days :

       
       assertThat(changes).change().rowAtEndPoint().value().isCloseTo(DateValue.of(2014, 7, 7), DateValue.of(0, 0, 2));
       
       
      Specified by:
      isCloseTo in interface AssertOnValueCloseness<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date value.
      tolerance - The tolerance of the closeness.
      Returns:
      this assertion object.
      See Also:
    • isCloseTo

      public V isCloseTo(DateValue expected, TimeValue tolerance)
      Verifies that the value is close to a date.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is close to a date value with a tolerance of 1 hour :

       
       assertThat(table).row().value().isCloseTo(DateValue.of(2014, 7, 7), TimeValue.of(1, 0));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is close to a date value with a tolerance of 1 hour :

       
       assertThat(changes).change().rowAtEndPoint().value().isCloseTo(DateValue.of(2014, 7, 7), TimeValue.of(1, 0));
       
       
      Specified by:
      isCloseTo in interface AssertOnValueCloseness<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date value.
      tolerance - The tolerance of the closeness.
      Returns:
      this assertion object.
      See Also:
    • isCloseTo

      public V isCloseTo(DateValue expected, DateTimeValue tolerance)
      Verifies that the value is close to a date.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is close to a date value with a tolerance of 2 days and 1 hour :

       
       assertThat(table).row().value().isCloseTo(DateValue.of(2014, 7, 7),
                                                 DateTimeValue.of(DateValue.of(0, 0, 2), TimeValue.of(1, 0)));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is close to a date value with a tolerance of 2 days and 1 hour :

       
       assertThat(changes).change().rowAtEndPoint().value().isCloseTo(DateValue.of(2014, 7, 7),
                                                 DateTimeValue.of(DateValue.of(0, 0, 2), TimeValue.of(1, 0)));
       
       
      Specified by:
      isCloseTo in interface AssertOnValueCloseness<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date value.
      tolerance - The tolerance of the closeness.
      Returns:
      this assertion object.
      See Also:
    • isCloseTo

      public V isCloseTo(TimeValue expected, TimeValue tolerance)
      Verifies that the value is close to a time.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is close to a time value with a tolerance of 1 hour :

       
       assertThat(table).row().value().isCloseTo(TimeValue.of(21, 29, 30), TimeValue.of(1, 0));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is close to a time value with a tolerance of 1 hour :

       
       assertThat(changes).change().rowAtEndPoint().value().isCloseTo(TimeValue.of(21, 29, 30), TimeValue.of(1, 0));
       
       
      Specified by:
      isCloseTo in interface AssertOnValueCloseness<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected time value.
      tolerance - The tolerance of the closeness.
      Returns:
      this assertion object.
      See Also:
    • isCloseTo

      public V isCloseTo(DateTimeValue expected, DateValue tolerance)
      Verifies that the value is close to a date/time.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is close to a date/time value with a tolerance of 2 days :

       
       assertThat(table).row().value().isCloseTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)),
                                                 DateValue.of(0, 0, 2));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is close to a date/time value with a tolerance of 2 days :

       
       assertThat(changes).change().rowAtEndPoint().value().isCloseTo(
                                                 DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)),
                                                 DateValue.of(0, 0, 2));
       
       
      Specified by:
      isCloseTo in interface AssertOnValueCloseness<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date/time value.
      tolerance - The tolerance of the closeness.
      Returns:
      this assertion object.
      See Also:
    • isCloseTo

      public V isCloseTo(DateTimeValue expected, TimeValue tolerance)
      Verifies that the value is close to a date/time.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is close to a date/time value with a tolerance of 1 hour :

       
       assertThat(table).row().value().isCloseTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)),
                                                 TimeValue.of(1, 0));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is close to a date/time value with a tolerance of 1 hour :

       
       assertThat(changes).change().rowAtEndPoint().value().isCloseTo(
                                                 DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)),
                                                 TimeValue.of(1, 0));
       
       
      Specified by:
      isCloseTo in interface AssertOnValueCloseness<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date/time value.
      tolerance - The tolerance of the closeness.
      Returns:
      this assertion object.
      See Also:
    • isCloseTo

      public V isCloseTo(DateTimeValue expected, DateTimeValue tolerance)
      Verifies that the value is close to a date/time.

      Example where the assertion verifies that the value in the first Column of the first Row of the Table is close to a date/time value with a tolerance of 2 days and 1 hour :

       
       assertThat(table).row().value().isCloseTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)),
                                                 DateTimeValue.of(DateValue.of(0, 0, 2), TimeValue.of(1, 0)));
       
       

      Example where the assertion verifies that the value in the first Column of the Row at end point of the first Change is close to a date/time value with a tolerance of 2 days and 1 hour :

       
       assertThat(changes).change().rowAtEndPoint().value().isCloseTo(
                                                 DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)),
                                                 DateTimeValue.of(DateValue.of(0, 0, 2), TimeValue.of(1, 0)));
       
       
      Specified by:
      isCloseTo in interface AssertOnValueCloseness<D extends AbstractDbData<D>>
      Parameters:
      expected - The expected date/time value.
      tolerance - The tolerance of the closeness.
      Returns:
      this assertion object.
      See Also:
    • is

      public V is(org.assertj.core.api.Condition<?> condition)
      Verifies that the actual value satisfies the given condition.
      Specified by:
      is in interface AssertOnValueCondition<D extends AbstractDbData<D>>
      Parameters:
      condition - the given condition.
      Returns:
      this assertion object.
      See Also:
    • isNot

      public V isNot(org.assertj.core.api.Condition<?> condition)
      Verifies that the actual value does not satisfy the given condition.
      Specified by:
      isNot in interface AssertOnValueCondition<D extends AbstractDbData<D>>
      Parameters:
      condition - the given condition.
      Returns:
      this assertion object.
      See Also:
    • has

      public V has(org.assertj.core.api.Condition<?> condition)
      Verifies that the actual value satisfies the given condition. This method is an alias for AssertOnValueCondition.is(Condition).
      Specified by:
      has in interface AssertOnValueCondition<D extends AbstractDbData<D>>
      Parameters:
      condition - the given condition.
      Returns:
      this assertion object.
      See Also:
    • doesNotHave

      public V doesNotHave(org.assertj.core.api.Condition<?> condition)
      Verifies that the actual value does not satisfy the given condition. This method is an alias for AssertOnValueCondition.isNot(Condition).
      Specified by:
      doesNotHave in interface AssertOnValueCondition<D extends AbstractDbData<D>>
      Parameters:
      condition - the given condition.
      Returns:
      this assertion object.
      See Also:
    • satisfies

      public V satisfies(org.assertj.core.api.Condition<?> condition)
      Verifies that the actual value satisfies the given condition. This method is an alias for AssertOnValueCondition.is(Condition).
      Specified by:
      satisfies in interface AssertOnValueCondition<D extends AbstractDbData<D>>
      Parameters:
      condition - the given condition.
      Returns:
      this assertion object.
      See Also: