Package org.assertj.db.output
Class AbstractColumnOutputter<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<C>
org.assertj.db.output.AbstractOutputter<C>
org.assertj.db.output.AbstractOutputterWithOrigin<C,A>
org.assertj.db.output.AbstractOutputterWithOriginWithColumnsAndRows<C,A,D,A,C,CV,R,RV>
org.assertj.db.output.AbstractSubOutputter<D,A,C,CV,C,CV,R,RV>
org.assertj.db.output.AbstractColumnOutputter<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 this assertion (an sub-class ofAbstractColumnOutputter
).CV
- The class of this assertion on the value (an sub-class ofAbstractColumnValueOutputter
).R
- The class of the equivalent row assertion (an sub-class ofAbstractRowOutputter
).RV
- The class of the equivalent row assertion on the value (an sub-class ofAbstractRowValueOutputter
).
- All Implemented Interfaces:
org.assertj.core.api.Descriptable<C>
,ColumnElement
,Element
,Navigation
,Origin
,OriginWithColumnsAndRows<C,
,R> ToColumn<C>
,ToRow<R>
,ToValue<CV>
- Direct Known Subclasses:
RequestColumnOutputter
,TableColumnOutputter
public abstract class AbstractColumnOutputter<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,C,CV,C,CV,R,RV>
implements ColumnElement
Base class for all
Column
s outputs.- Author:
- Régis Pouiller
-
Field Summary
FieldsModifier and TypeFieldDescriptionPosition of navigation to value.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.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
-
Field Details
-
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>, C extends AbstractColumnOutputter<D, A, C, CV, R, RV>, CV extends AbstractColumnValueOutputter<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>, C extends AbstractColumnOutputter<D, A, C, CV, R, RV>, CV extends AbstractColumnValueOutputter<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>, C extends AbstractColumnOutputter<D, A, C, CV, R, RV>, CV extends AbstractColumnValueOutputter<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.
-
getOutput
Returns the output for the output- Specified by:
getOutput
in classAbstractOutputter<C extends AbstractColumnOutputter<D,
A, C, CV, R, RV>> - Parameters:
outputType
- Type of output.- Returns:
- The output.
-