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
Row
s outputs.- Author:
- Régis Pouiller
-
Field Summary
Fields inherited from class org.assertj.db.output.AbstractOutputterWithOrigin
origin
Fields inherited from class org.assertj.db.output.AbstractOutputter
outputType
Fields inherited from class org.assertj.db.global.AbstractElement
info, myself
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the output for the outputprotected String
getValueDescription
(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, value
Methods inherited from class org.assertj.db.output.AbstractOutputterWithOriginWithColumnsAndRows
column, column, column, row, row
Methods inherited from class org.assertj.db.output.AbstractOutputterWithOrigin
returnToOrigin
Methods inherited from class org.assertj.db.output.AbstractOutputter
toConsole, toFile, toStream, withType
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.- Specified by:
getValueDescription
in 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:
getValuePosition
in 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:
getValuesList
in 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:
value
in 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:
getOutput
in classAbstractOutputter<R extends AbstractRowOutputter<D,
A, C, CV, R, RV>> - Parameters:
outputType
- Type of output.- Returns:
- The output.
-