com.pmease.quickbuild.plugin.report.engine.generator.expression
Class ExpressionRule

java.lang.Object
  extended by com.pmease.quickbuild.plugin.report.engine.extensionpoint.AbstractTypedXMLObject
      extended by com.pmease.quickbuild.plugin.report.engine.metadata.AbstractCategoryItem
          extended by com.pmease.quickbuild.plugin.report.engine.generator.GenerateAction
              extended by com.pmease.quickbuild.plugin.report.engine.generator.AbstractRule
                  extended by com.pmease.quickbuild.plugin.report.engine.generator.expression.ExpressionRule
All Implemented Interfaces:
ActionListener, TypedObject, XMLSerializable, java.io.Serializable
Direct Known Subclasses:
Bean2ReportExpressionRule, DryRunRule, StatisticsRule

public class ExpressionRule
extends AbstractRule

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.pmease.quickbuild.plugin.report.engine.metadata.AbstractCategoryItem
category
 
Constructor Summary
ExpressionRule(ReportCategory category)
           
ExpressionRule(ReportCategory category, java.lang.String columnName, java.lang.String expression)
           
 
Method Summary
protected  void doExecute()
           
protected  java.lang.Object getDefaultValue(java.lang.String name)
           
 java.lang.String getType()
           
 
Methods inherited from class com.pmease.quickbuild.plugin.report.engine.generator.AbstractRule
forColumns, getColumnName, getElementName, getValueExpression, hasColumn, prepareExpressionContext, setColumnName, setValueExpression, toString
 
Methods inherited from class com.pmease.quickbuild.plugin.report.engine.generator.GenerateAction
afterExecute, beforeExecute, buildKey, execute, getContext, getId, getLogger, getOrder, setId, setOrder
 
Methods inherited from class com.pmease.quickbuild.plugin.report.engine.metadata.AbstractCategoryItem
getCategory
 
Methods inherited from class com.pmease.quickbuild.plugin.report.engine.extensionpoint.AbstractTypedXMLObject
fromXML, initFromClassResource, initFromLocal, initFromStream, reflectionReadFromNode, reflectionWriteToNode, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpressionRule

public ExpressionRule(ReportCategory category)

ExpressionRule

public ExpressionRule(ReportCategory category,
                      java.lang.String columnName,
                      java.lang.String expression)
Method Detail

doExecute

protected void doExecute()
Specified by:
doExecute in class GenerateAction

getType

public java.lang.String getType()

getDefaultValue

protected java.lang.Object getDefaultValue(java.lang.String name)


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.