Package org.assertj.db.api
Class AbstractSubAssert<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>>
java.lang.Object
org.assertj.db.global.AbstractElement<S>
org.assertj.db.api.AbstractAssert<S>
org.assertj.db.api.AbstractAssertWithOrigin<S,A>
org.assertj.db.api.AbstractAssertWithOriginWithColumnsAndRows<S,A,D,A,C,CV,R,RV>
org.assertj.db.api.AbstractSubAssert<D,A,S,V,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
).S
- The class of this assertion (an sub-class ofAbstractSubAssert
).V
- The class of this assertion on the value (an sub-class ofAbstractValueAssert
).C
- The class of this assertion (an sub-class ofAbstractColumnAssert
).CV
- The class of this assertion on the value (an sub-class ofAbstractColumnValueAssert
).R
- The class of the equivalent row assertion (an sub-class ofAbstractRowAssert
).RV
- The class of the equivalent row assertion on the value (an sub-class ofAbstractRowValueAssert
).
- All Implemented Interfaces:
org.assertj.core.api.Descriptable<S>
,Navigation
,Origin
,OriginWithColumnsAndRows<C,
,R> ToColumn<C>
,ToRow<R>
,ToValue<V>
- Direct Known Subclasses:
AbstractColumnAssert
,AbstractRowAssert
public abstract class AbstractSubAssert<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<S,A,D,A,C,CV,R,RV>
implements OriginWithColumnsAndRows<C,R>, ToValue<V>
- Author:
- Régis Pouiller
-
Field Summary
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 TypeMethodDescriptionprotected abstract String
getValueDescription
(int index) Returns the value description.Returns the position of navigation to value.Returns the list of values.value()
Returns assertion methods on the next value in the list of values.value
(int index) Returns assertion methods on the value at theindex
in parameter.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
-
getValueDescription
Returns the value description.- Parameters:
index
- The index of the value.- Returns:
- The description.
-
value
Returns assertion methods on the next value in the list of values.- Specified by:
value
in interfaceToValue<D extends AbstractDbData<D>>
- Returns:
- An object to make assertions on the next value.
- See Also:
-
value
Returns assertion methods on the value at theindex
in parameter.- Specified by:
value
in interfaceToValue<D extends AbstractDbData<D>>
- Parameters:
index
- The index corresponding to the value.- Returns:
- An object to make assertions on the value.
- See Also:
-
getValuePosition
Returns the position of navigation to value.- Returns:
- The position of navigation to value.
-
getValuesList
Returns the list of values.- Returns:
- The list of values.
-