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 this assertion (an sub-class of AbstractSubAssert
).V
- The class of this assertion on the value (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
).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>
origin
info, myself
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getValueDescription(int index)
Returns the value description.
|
protected abstract Position<S,V,Value> |
getValuePosition()
Returns the position of navigation to value.
|
protected abstract List<Value> |
getValuesList()
Returns the list of values.
|
V |
value()
Returns assertion methods on the next value in the list of values.
|
V |
value(int index)
Returns assertion methods on the value at the
index in parameter. |
column, column, column, row, row
returnToOrigin
as, as, describedAs, describedAs, getInfo
protected abstract String getValueDescription(int index)
index
- The index of the value.public V value()
value
in interface ToValue<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
value()
,
AbstractValueAssert.value()
,
value()
,
AbstractValueAssert.value()
,
ChangeRowAssert.value()
,
ChangeRowValueAssert.value()
public V value(int index)
index
in parameter.value
in interface ToValue<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
index
- The index corresponding to the value.value(int)
,
AbstractValueAssert.value(int)
,
value(int)
,
AbstractValueAssert.value(int)
,
ChangeRowAssert.value(int)
,
ChangeRowValueAssert.value(int)
protected abstract Position<S,V,Value> getValuePosition()
Copyright © 2020 AssertJ. All rights reserved.