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
Columns outputs.- Author:
- Régis Pouiller
-
Field Summary
FieldsModifier and TypeFieldDescriptionPosition of navigation to value.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.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
-
Field Details
-
Method Details
-
getValueDescription
Returns the value description.- Specified by:
getValueDescriptionin 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:
getValuePositionin 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:
getValuesListin 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:
getOutputin classAbstractOutputter<C extends AbstractColumnOutputter<D,A, C, CV, R, RV>> - Parameters:
outputType- Type of output.- Returns:
- The output.
-