org.outerj.xreporter.report.instance
Class Column

java.lang.Object
  extended byorg.outerj.xreporter.report.instance.Column
All Implemented Interfaces:
FormatCache

public class Column
extends java.lang.Object
implements FormatCache

Column instance. Holds a reference to a ColumnDefinition. Caches the formatting pattern used for values in this column by implementing FormatCache.


Field Summary
protected  java.lang.Object cachedFormat
           
protected  ColumnDefinition columnDefinition
           
 
Constructor Summary
protected Column(ColumnDefinition columnDefinition)
           
 
Method Summary
 java.lang.Object get()
           
 ColumnDefinition getColumnDefinition()
           
 void store(java.lang.Object format)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columnDefinition

protected ColumnDefinition columnDefinition

cachedFormat

protected java.lang.Object cachedFormat
Constructor Detail

Column

protected Column(ColumnDefinition columnDefinition)
Method Detail

getColumnDefinition

public ColumnDefinition getColumnDefinition()

get

public java.lang.Object get()
Specified by:
get in interface FormatCache

store

public void store(java.lang.Object format)
Specified by:
store in interface FormatCache