org.outerj.xreporter.report.definition
Class QbeDefinition

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

public class QbeDefinition
extends java.lang.Object
implements org.apache.avalon.framework.configuration.Configurable

Model of the QBE (Query By Example) for the report.


Field Summary
protected  java.util.List conditions
           
protected  java.lang.String defaultOrientation
           
protected  int lineCount
          Number of lines (or columns) to show to the user
 
Constructor Summary
QbeDefinition()
           
 
Method Summary
protected  void addCondition(QbeConditionDefinition conditionDefinition)
           
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 java.util.List getConditions()
           
 java.lang.String getDefaultOrientation()
           
 int getLineCount()
           
 boolean isEnabled()
          Returns true if this QBE definition contains conditions, thus if something usefull can be done with it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conditions

protected java.util.List conditions

lineCount

protected int lineCount
Number of lines (or columns) to show to the user


defaultOrientation

protected java.lang.String defaultOrientation
Constructor Detail

QbeDefinition

public QbeDefinition()
Method Detail

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

addCondition

protected void addCondition(QbeConditionDefinition conditionDefinition)

getConditions

public java.util.List getConditions()

getLineCount

public int getLineCount()

getDefaultOrientation

public java.lang.String getDefaultOrientation()

isEnabled

public boolean isEnabled()
Returns true if this QBE definition contains conditions, thus if something usefull can be done with it.