Interface ExpressionMetaData
-
- All Superinterfaces:
MetaData
- All Known Implementing Classes:
DefaultExpressionMetaData
public interface ExpressionMetaData extends MetaData
Provides meta-data for functions. This is basically an extension to the classical bean-info class, with some additional documentations and properties, but without the setter methods (so this class is immutable) and without the event-handler support (as functions cannot support event-handlers). The ExpressionMetaData makes the assumption, that the expression itself is a bean and that every property descriptor that is retrieved here can also be retrieved using the standard bean-methods using a plain BeanInfo object.- Author:
- Thomas Morgner
-
-
Field Summary
-
Fields inherited from interface org.pentaho.reporting.engine.classic.core.metadata.MetaData
VALUEROLE_BUNDLE_KEY, VALUEROLE_BUNDLE_NAME, VALUEROLE_CONTENT, VALUEROLE_DATEFORMAT, VALUEROLE_ELEMENT_NAME, VALUEROLE_FIELD, VALUEROLE_FORMULA, VALUEROLE_GROUP, VALUEROLE_MESSAGE, VALUEROLE_NUMBERFORMAT, VALUEROLE_QUERY, VALUEROLE_RESOURCE, VALUEROLE_VALUE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Expression
create()
BeanInfo
getBeanDescriptor()
Class
getExpressionType()
Image
getIcon(Locale locale, int iconKind)
ExpressionPropertyMetaData
getPropertyDescription(String name)
ExpressionPropertyMetaData[]
getPropertyDescriptions()
String[]
getPropertyNames()
Class
getResultType()
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 interface org.pentaho.reporting.engine.classic.core.metadata.MetaData
getBundleLocation, getCompatibilityLevel, getDeprecationMessage, getDescription, getDisplayName, getFeatureMaturityLevel, getGrouping, getGroupingOrdinal, getItemOrdinal, getKeyPrefix, getMetaAttribute, getName, isDeprecated, isExperimental, isExpert, isHidden, isPreferred
-
-
-
-
Method Detail
-
isElementLayoutProcessor
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.- Returns:
- true, if this is a layout-processor that modifies named elements.
-
isGlobalLayoutProcessor
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.- Returns:
- true, if this is a layout-processor that modifies the global layout.
-
isStatefull
boolean isStatefull()
-
getResultType
Class getResultType()
-
getExpressionType
Class getExpressionType()
-
getBeanDescriptor
BeanInfo getBeanDescriptor() throws IntrospectionException
- Throws:
IntrospectionException
-
getPropertyNames
String[] getPropertyNames()
-
getPropertyDescriptions
ExpressionPropertyMetaData[] getPropertyDescriptions()
-
getPropertyDescription
ExpressionPropertyMetaData getPropertyDescription(String name)
-
create
Expression create()
-
-