Package org.assertj.db.output
Class AbstractRowOutputter<D extends AbstractDbData<D>,A extends AbstractDbOutputter<D,A,C,CV,R,RV>,C extends AbstractColumnOutputter<D,A,C,CV,R,RV>,CV extends AbstractColumnValueOutputter<D,A,C,CV,R,RV>,R extends AbstractRowOutputter<D,A,C,CV,R,RV>,RV extends AbstractRowValueOutputter<D,A,C,CV,R,RV>>
java.lang.Object
org.assertj.db.global.AbstractElement<R>
org.assertj.db.output.AbstractOutputter<R>
org.assertj.db.output.AbstractOutputterWithOrigin<R,A>
org.assertj.db.output.AbstractOutputterWithOriginWithColumnsAndRows<R,A,D,A,C,CV,R,RV>
org.assertj.db.output.AbstractSubOutputter<D,A,R,RV,C,CV,R,RV>
org.assertj.db.output.AbstractRowOutputter<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 ofAbstractDbOutputter).C- The class of the equivalent column assertion (an sub-class ofAbstractColumnOutputter).CV- The class of the equivalent column assertion on the value (an sub-class ofAbstractColumnValueOutputter).R- The class of this assertion (an sub-class ofAbstractRowOutputter).RV- The class of this assertion on the value (an sub-class ofAbstractRowValueOutputter).
- All Implemented Interfaces:
org.assertj.core.api.Descriptable<R>,Element,RowElement,Navigation,Origin,OriginWithColumnsAndRows<C,,R> ToColumn<C>,ToRow<R>,ToValue<RV>,ToValueFromRow<RV>
- Direct Known Subclasses:
RequestRowOutputter,TableRowOutputter
public abstract class AbstractRowOutputter<D extends AbstractDbData<D>,A extends AbstractDbOutputter<D,A,C,CV,R,RV>,C extends AbstractColumnOutputter<D,A,C,CV,R,RV>,CV extends AbstractColumnValueOutputter<D,A,C,CV,R,RV>,R extends AbstractRowOutputter<D,A,C,CV,R,RV>,RV extends AbstractRowValueOutputter<D,A,C,CV,R,RV>>
extends AbstractSubOutputter<D,A,R,RV,C,CV,R,RV>
implements RowElement, ToValueFromRow<RV>
Base class for all
Rows outputs.- Author:
- Régis Pouiller
-
Field Summary
Fields inherited from class org.assertj.db.output.AbstractOutputterWithOrigin
originFields inherited from class org.assertj.db.output.AbstractOutputter
outputTypeFields inherited from class org.assertj.db.global.AbstractElement
info, myself -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the output for the outputprotected StringgetValueDescription(int index) Returns the value description.Returns the position of navigation to value.Returns the list of values.Returns assertion methods on the value corresponding to the column name in parameter.Methods inherited from class org.assertj.db.output.AbstractSubOutputter
value, valueMethods inherited from class org.assertj.db.output.AbstractOutputterWithOriginWithColumnsAndRows
column, column, column, row, rowMethods inherited from class org.assertj.db.output.AbstractOutputterWithOrigin
returnToOriginMethods inherited from class org.assertj.db.output.AbstractOutputter
toConsole, toFile, toStream, withTypeMethods inherited from class org.assertj.db.global.AbstractElement
as, as, describedAs, describedAs, getInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as
-
Method Details
-
getValueDescription
Returns the value description.- Specified by:
getValueDescriptionin classAbstractSubOutputter<D extends AbstractDbData<D>,A extends AbstractDbOutputter<D, A, C, CV, R, RV>, R extends AbstractRowOutputter<D, A, C, CV, R, RV>, RV extends AbstractRowValueOutputter<D, A, C, CV, R, RV>, C extends AbstractColumnOutputter<D, A, C, CV, R, RV>, CV extends AbstractColumnValueOutputter<D, A, C, CV, R, RV>, R extends AbstractRowOutputter<D, A, C, CV, R, RV>, RV extends AbstractRowValueOutputter<D, A, C, CV, R, RV>> - Parameters:
index- The index of the value.- Returns:
- The description.
-
getValuePosition
Returns the position of navigation to value.- Specified by:
getValuePositionin classAbstractSubOutputter<D extends AbstractDbData<D>,A extends AbstractDbOutputter<D, A, C, CV, R, RV>, R extends AbstractRowOutputter<D, A, C, CV, R, RV>, RV extends AbstractRowValueOutputter<D, A, C, CV, R, RV>, C extends AbstractColumnOutputter<D, A, C, CV, R, RV>, CV extends AbstractColumnValueOutputter<D, A, C, CV, R, RV>, R extends AbstractRowOutputter<D, A, C, CV, R, RV>, RV extends AbstractRowValueOutputter<D, A, C, CV, R, RV>> - Returns:
- The position of navigation to value.
-
getValuesList
Returns the list of values.- Specified by:
getValuesListin classAbstractSubOutputter<D extends AbstractDbData<D>,A extends AbstractDbOutputter<D, A, C, CV, R, RV>, R extends AbstractRowOutputter<D, A, C, CV, R, RV>, RV extends AbstractRowValueOutputter<D, A, C, CV, R, RV>, C extends AbstractColumnOutputter<D, A, C, CV, R, RV>, CV extends AbstractColumnValueOutputter<D, A, C, CV, R, RV>, R extends AbstractRowOutputter<D, A, C, CV, R, RV>, RV extends AbstractRowValueOutputter<D, A, C, CV, R, RV>> - Returns:
- The list of values.
-
value
Returns assertion methods on the value corresponding to the column name in parameter.- Specified by:
valuein interfaceToValueFromRow<D extends AbstractDbData<D>>- Parameters:
columnName- The column name.- Returns:
- An object to make assertions on the value.
- See Also:
-
getOutput
Returns the output for the output- Specified by:
getOutputin classAbstractOutputter<R extends AbstractRowOutputter<D,A, C, CV, R, RV>> - Parameters:
outputType- Type of output.- Returns:
- The output.
-