org.pentaho.reporting.engine.classic.core.metadata
Interface ExpressionPropertyMetaData

All Superinterfaces:
MetaData
All Known Implementing Classes:
DefaultExpressionPropertyMetaData

public interface ExpressionPropertyMetaData
extends MetaData

Describes the known attributes an element can take.

Author:
Thomas Morgner

Method Summary
 PropertyDescriptor getBeanDescriptor()
           
 PropertyEditor getEditor()
           
 String[] getExtraCalculationFields()
           
 String getPropertyRole()
          Can be one of "Value", "Resource", "Content", "Field", "Group", "Query", "Message", "Bundle-Key", "Bundle-Name", "Name", "ElementName", "DateFormat", "NumberFormat"
 Class getPropertyType()
           
 String[] getReferencedElements(Expression expression, Object attributeValue)
           
 String[] getReferencedFields(Expression expression, Object attributeValue)
           
 String[] getReferencedGroups(Expression expression, Object attributeValue)
           
 ResourceReference[] getReferencedResources(Expression expression, Object attributeValue, Element reportElement, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
           
 boolean isComputed()
           
 boolean isMandatory()
           
 
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
 

Method Detail

getPropertyType

Class getPropertyType()

getPropertyRole

String getPropertyRole()
Can be one of "Value", "Resource", "Content", "Field", "Group", "Query", "Message", "Bundle-Key", "Bundle-Name", "Name", "ElementName", "DateFormat", "NumberFormat"

Returns:

isMandatory

boolean isMandatory()

getBeanDescriptor

PropertyDescriptor getBeanDescriptor()

getEditor

PropertyEditor getEditor()

getReferencedFields

String[] getReferencedFields(Expression expression,
                             Object attributeValue)

getReferencedGroups

String[] getReferencedGroups(Expression expression,
                             Object attributeValue)

getReferencedElements

String[] getReferencedElements(Expression expression,
                               Object attributeValue)

getReferencedResources

ResourceReference[] getReferencedResources(Expression expression,
                                           Object attributeValue,
                                           Element reportElement,
                                           org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)

isComputed

boolean isComputed()

getExtraCalculationFields

String[] getExtraCalculationFields()