Copyright © 2005 Scientific Applications. All Rights Reserved.

com.sciapp.table.db
Interface PivotDefinition

All Known Implementing Classes:
DefaultPivotDefinition

public interface PivotDefinition

An interface that defines the attributes of a pivot column.


Method Summary
 String getColumnValue(Object pivotValue)
          Returns the value to display on the table for this pivot column having pivotValue as its value.
 String getPivotColumn()
          Returns the pivot column as a string.
 Class getPivotColumnClass()
          Returns the class of the pivot column
 

Method Detail

getColumnValue

String getColumnValue(Object pivotValue)
Returns the value to display on the table for this pivot column having pivotValue as its value.

Parameters:
pivotValue - the value of the pivot column as it was fetched from the database.
Returns:
the string representation of the pivot value. This will be have impact on the table column display.

getPivotColumn

String getPivotColumn()
Returns the pivot column as a string. This will be used in order to retrieve the database pivot values.

Returns:
the pivot column.

getPivotColumnClass

Class getPivotColumnClass()
Returns the class of the pivot column

Returns:
the pivot columns classes.

Copyright © 2005 Scientific Applications. All Rights Reserved.