|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sciapp.table.db.DefaultPivotDefinition
public class DefaultPivotDefinition
DefaultPivotDefinition is the default implementation for a PivotDefintion.
This class holds the pivot column and its class.
Its getColumnValue method also returns the pivot value formatted as a string.
| Field Summary | |
|---|---|
protected Class |
pivotClass
the pivot column class |
protected String |
pivotColumn
the pivot column |
| Constructor Summary | |
|---|---|
DefaultPivotDefinition(String pivotColumn)
Constructs a DefaultPivotDefinition. |
|
DefaultPivotDefinition(String pivotColumn,
Class pivotClass)
Constructs a DefaultPivotDefinition. |
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String pivotColumn
protected Class pivotClass
| Constructor Detail |
|---|
public DefaultPivotDefinition(String pivotColumn)
public DefaultPivotDefinition(String pivotColumn,
Class pivotClass)
| Method Detail |
|---|
public String getColumnValue(Object pivotValue)
pivotValue
as its value.
getColumnValue in interface PivotDefinitionpivotValue - the value of the pivot column as it was fetched from the database.
public String getPivotColumn()
getPivotColumn in interface PivotDefinitionpublic Class getPivotColumnClass()
getPivotColumnClass in interface PivotDefinition
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||