org.pentaho.reporting.engine.classic.core.metadata
Class DefaultExpressionMetaData

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.metadata.AbstractMetaData
      extended by org.pentaho.reporting.engine.classic.core.metadata.DefaultExpressionMetaData
All Implemented Interfaces:
Serializable, ExpressionMetaData, MetaData

public class DefaultExpressionMetaData
extends AbstractMetaData
implements ExpressionMetaData

See Also:
Serialized Form

Field Summary
static int ELEMENT_LAYOUT_PROCESSOR
           
static int GLOBAL_LAYOUT_PROCESSOR
           
static int NO_LAYOUT_PROCESSOR
           
 
Constructor Summary
DefaultExpressionMetaData(String bundleLocation, boolean expert, boolean preferred, boolean hidden, boolean deprecated, Class expressionType, Class resultType, HashMap attributes, BeanInfo beanInfo, int layoutProcessorMode, boolean experimental, int compatibilityLevel)
           
 
Method Summary
 boolean equals(Object o)
           
 BeanInfo getBeanDescriptor()
           
 Class getExpressionType()
           
 ExpressionPropertyMetaData getPropertyDescription(String name)
           
 ExpressionPropertyMetaData[] getPropertyDescriptions()
           
 String[] getPropertyNames()
           
 Class getResultType()
           
 int hashCode()
           
 boolean isElementLayoutProcessor()
          Checks whether the main purpose of the expression is to modify the layout of the report.
 boolean isGlobalLayoutProcessor()
          Checks whether the main purpose of the expression is to modify the layout of the report.
 boolean isStatefull()
           
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.metadata.AbstractMetaData
getBundle, getBundleLocation, getCompatibilityLevel, getDeprecationMessage, getDescription, getDisplayName, getGrouping, getGroupingOrdinal, getIcon, getItemOrdinal, getKeyPrefix, getMetaAttribute, getName, isDeprecated, isExperimental, isExpert, isHidden, isPreferred
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.reporting.engine.classic.core.metadata.ExpressionMetaData
getIcon
 
Methods inherited from interface org.pentaho.reporting.engine.classic.core.metadata.MetaData
getCompatibilityLevel, getDeprecationMessage, getDescription, getDisplayName, getGrouping, getGroupingOrdinal, getItemOrdinal, getMetaAttribute, getName, isDeprecated, isExperimental, isExpert, isHidden, isPreferred
 

Field Detail

NO_LAYOUT_PROCESSOR

public static final int NO_LAYOUT_PROCESSOR
See Also:
Constant Field Values

ELEMENT_LAYOUT_PROCESSOR

public static final int ELEMENT_LAYOUT_PROCESSOR
See Also:
Constant Field Values

GLOBAL_LAYOUT_PROCESSOR

public static final int GLOBAL_LAYOUT_PROCESSOR
See Also:
Constant Field Values
Constructor Detail

DefaultExpressionMetaData

public DefaultExpressionMetaData(String bundleLocation,
                                 boolean expert,
                                 boolean preferred,
                                 boolean hidden,
                                 boolean deprecated,
                                 Class expressionType,
                                 Class resultType,
                                 HashMap attributes,
                                 BeanInfo beanInfo,
                                 int layoutProcessorMode,
                                 boolean experimental,
                                 int compatibilityLevel)
Method Detail

isStatefull

public boolean isStatefull()
Specified by:
isStatefull in interface ExpressionMetaData

getResultType

public Class getResultType()
Specified by:
getResultType in interface ExpressionMetaData

getExpressionType

public Class getExpressionType()
Specified by:
getExpressionType in interface ExpressionMetaData

getPropertyDescription

public ExpressionPropertyMetaData getPropertyDescription(String name)
Specified by:
getPropertyDescription in interface ExpressionMetaData

getPropertyNames

public String[] getPropertyNames()
Specified by:
getPropertyNames in interface ExpressionMetaData

getPropertyDescriptions

public ExpressionPropertyMetaData[] getPropertyDescriptions()
Specified by:
getPropertyDescriptions in interface ExpressionMetaData

getBeanDescriptor

public BeanInfo getBeanDescriptor()
                           throws IntrospectionException
Specified by:
getBeanDescriptor in interface ExpressionMetaData
Throws:
IntrospectionException

isElementLayoutProcessor

public boolean isElementLayoutProcessor()
Checks whether the main purpose of the expression is to modify the layout of the report. This method returns true, if the expression modifies one or more named elements.

Specified by:
isElementLayoutProcessor in interface ExpressionMetaData
Returns:
true, if this is a layout-processor that modifies named elements.

isGlobalLayoutProcessor

public boolean isGlobalLayoutProcessor()
Checks whether the main purpose of the expression is to modify the layout of the report. This method returns true, if the expression modifies the global layout only.

Specified by:
isGlobalLayoutProcessor in interface ExpressionMetaData
Returns:
true, if this is a layout-processor that modifies the global layout.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object