org.outerj.xreporter.report.definition
Class ColumnDefinition

java.lang.Object
  extended byorg.outerj.xreporter.report.definition.ColumnDefinition
All Implemented Interfaces:
org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable

public class ColumnDefinition
extends java.lang.Object
implements org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.component.Composable


Field Summary
protected  java.lang.String canonical
           
protected static java.lang.String COLUMN_EL
           
protected  DataType dataType
           
protected  DataTypeManager dataTypeManager
           
protected static java.lang.String FIELD_ATTR
           
protected  java.lang.String fieldName
          The name of the field to be fetched from the resultset.
protected  java.lang.String id
           
protected static java.lang.String ID_ATTR
           
protected  LinkDefinition linkDefinition
           
protected  boolean qbeAllowed
           
 
Constructor Summary
ColumnDefinition()
           
 
Method Summary
 void compose(org.apache.avalon.framework.component.ComponentManager componentManager)
           
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 void generateSaxFragment(org.xml.sax.ContentHandler contentHandler, ResourceHandle resourceHandle)
           
 java.lang.String getCanonical()
           
 java.lang.String getCanonicalFieldName()
           
 DataType getDataType()
           
 java.lang.String getFieldName()
           
 java.lang.String getId()
           
 LinkDefinition getLinkDefinition()
           
 boolean hasLink()
           
 boolean isQbeAllowed()
           
 void setLinkDefinition(LinkDefinition linkDefinition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldName

protected java.lang.String fieldName
The name of the field to be fetched from the resultset.


dataTypeManager

protected DataTypeManager dataTypeManager

id

protected java.lang.String id

canonical

protected java.lang.String canonical

dataType

protected DataType dataType

qbeAllowed

protected boolean qbeAllowed

linkDefinition

protected LinkDefinition linkDefinition

COLUMN_EL

protected static final java.lang.String COLUMN_EL
See Also:
Constant Field Values

FIELD_ATTR

protected static final java.lang.String FIELD_ATTR
See Also:
Constant Field Values

ID_ATTR

protected static final java.lang.String ID_ATTR
See Also:
Constant Field Values
Constructor Detail

ColumnDefinition

public ColumnDefinition()
Method Detail

compose

public void compose(org.apache.avalon.framework.component.ComponentManager componentManager)
             throws org.apache.avalon.framework.component.ComponentException
Specified by:
compose in interface org.apache.avalon.framework.component.Composable
Throws:
org.apache.avalon.framework.component.ComponentException

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

getFieldName

public java.lang.String getFieldName()

getDataType

public DataType getDataType()

getId

public java.lang.String getId()

getCanonical

public java.lang.String getCanonical()

getCanonicalFieldName

public java.lang.String getCanonicalFieldName()

isQbeAllowed

public boolean isQbeAllowed()

generateSaxFragment

public void generateSaxFragment(org.xml.sax.ContentHandler contentHandler,
                                ResourceHandle resourceHandle)
                         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

setLinkDefinition

public void setLinkDefinition(LinkDefinition linkDefinition)

hasLink

public boolean hasLink()

getLinkDefinition

public LinkDefinition getLinkDefinition()