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>
origininfo, myself| Modifier and Type | Method and Description |
|---|---|
protected Object |
getValue(int index)
Returns the value at the
index in parameter. |
protected abstract V |
getValueAssertInstance(Class<V> valueAssertType,
int index,
Object value)
Gets an instance of value assert corresponding to the index and the value.
|
protected V |
getValueAssertInstance(int index)
Gets an instance of value assert corresponding to the index.
|
protected abstract List<Object> |
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, rowreturnToOriginas, as, describedAs, describedAsprotected V getValueAssertInstance(int index)
index - Index of the value on which is the instance of value assert.protected abstract V getValueAssertInstance(Class<V> valueAssertType, int index, Object value) throws Exception
valueAssertType - Class of the assertion on the value : a sub-class of AbstractValueAssert.index - Index of the value on which is the instance of value assert.value - Value on which is the instance of value assert.Exception - Exception during the instantiation.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 List<Object> getValuesList()
protected Object getValue(int index)
index in parameter.index - The index corresponding to the value.AssertJDBException - If the index is out of the bounds.Copyright © 2015 AssertJ. All Rights Reserved.