Package org.assertj.db.api
Class AbstractRowValueAssert<D extends AbstractDbData<D>,A extends AbstractDbAssert<D,A,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>>
java.lang.Object
org.assertj.db.global.AbstractElement<RV>
org.assertj.db.api.AbstractAssert<RV>
org.assertj.db.api.AbstractAssertWithOrigin<RV,R>
org.assertj.db.api.AbstractAssertWithOriginWithColumnsAndRows<RV,R,D,A,C,CV,R,RV>
org.assertj.db.api.AbstractValueAssert<D,A,R,RV,C,CV,R,RV>
org.assertj.db.api.AbstractRowValueAssert<D,A,C,CV,R,RV>
- Type Parameters:
D
- The class of the actual value (an sub-class ofAbstractDbData
).A
- The class of the original assertion (an sub-class ofAbstractDbAssert
).C
- The class of the equivalent row assertion (an sub-class ofAbstractColumnAssert
).CV
- The class of the equivalent row assertion on the value (an sub-class ofAbstractColumnValueAssert
).R
- The class of this assertion (an sub-class ofAbstractRowAssert
).RV
- The class of this assertion on the value (an sub-class ofAbstractRowValueAssert
).
- All Implemented Interfaces:
org.assertj.core.api.Descriptable<RV>
,AssertOnColumnName<RV>
,AssertOnValueChronology<RV>
,AssertOnValueClass<RV>
,AssertOnValueCloseness<RV>
,AssertOnValueComparison<RV>
,AssertOnValueCondition<RV>
,AssertOnValueEquality<RV>
,AssertOnValueInequality<RV>
,AssertOnValueNullity<RV>
,AssertOnValueType<RV>
,Element
,ValueElement
,Navigation
,ToColumn<C>
,ToRow<R>
,ToValue<RV>
,ToValueFromRow<RV>
- Direct Known Subclasses:
RequestRowValueAssert
,TableRowValueAssert
public abstract class AbstractRowValueAssert<D extends AbstractDbData<D>,A extends AbstractDbAssert<D,A,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 AbstractValueAssert<D,A,R,RV,C,CV,R,RV>
implements ToValueFromRow<RV>, AssertOnColumnName<RV>
Assertion methods about a value in a
Row
.- Author:
- Régis Pouiller
-
Field Summary
Fields inherited from class org.assertj.db.api.AbstractValueAssert
value
Fields inherited from class org.assertj.db.api.AbstractAssertWithOrigin
origin
Fields inherited from class org.assertj.db.global.AbstractElement
info, myself
-
Method Summary
Modifier and TypeMethodDescriptionhasColumnName
(String columnName) Verifies that the name of a column is equal to the parameter.Returns to level of assertion methods on aRow
.Returns assertion methods on the value corresponding to the column name in parameter.Methods inherited from class org.assertj.db.api.AbstractValueAssert
doesNotHave, has, is, isAfter, isAfter, isAfter, isAfter, isAfter, isAfter, isAfter, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isBefore, isBefore, isBefore, isBefore, isBefore, isBefore, isBefore, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBoolean, isBytes, isCloseTo, isCloseTo, isCloseTo, isCloseTo, isCloseTo, isCloseTo, isCloseTo, isCloseTo, isDate, isDateTime, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isFalse, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, isNot, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNotZero, isNull, isNumber, isOfAnyTypeIn, isOfClass, isOfType, isText, isTime, isTrue, isUUID, isZero, satisfies, value, value
Methods inherited from class org.assertj.db.api.AbstractAssertWithOriginWithColumnsAndRows
column, column, column, row, row
Methods inherited from class org.assertj.db.api.AbstractAssertWithOrigin
returnToOrigin
Methods inherited from class org.assertj.db.global.AbstractElement
as, as, describedAs, describedAs, getInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as
-
Method Details
-
value
Returns assertion methods on the value corresponding to the column name in parameter.- Specified by:
value
in interfaceToValueFromRow<D extends AbstractDbData<D>>
- Parameters:
columnName
- The column name.- Returns:
- An object to make assertions on the value.
- See Also:
-
hasColumnName
Verifies that the name of a column is equal to the parameter.Example where the assertion verifies that the column name of the first
Column
of theTable
is equal to "title" :assertThat(table).column().hasColumnName("title");
Example where the assertion verifies that the first value of the first
Row
of theTable
is equal to "title" :assertThat(table).row().value().hasColumnName("title");
Example where the assertion verifies that the column name of the first
Column
of theTable
is equal to "title" :assertThat(changes).change(1).column().hasColumnName("title");
Example where the assertion verifies that the first value of the first
Row
of theTable
is equal to "title" :assertThat(changes).change(1).row().value().hasColumnName("title");
- Specified by:
hasColumnName
in interfaceAssertOnColumnName<D extends AbstractDbData<D>>
- Parameters:
columnName
- The expected column name.- Returns:
this
assertion object.- See Also:
-
returnToRow
Returns to level of assertion methods on aRow
.- Returns:
- a object of assertion methods on a
Row
.
-