org.pentaho.reporting.engine.classic.core.metadata
Class DefaultExpressionPropertyMetaData
java.lang.Object
org.pentaho.reporting.engine.classic.core.metadata.AbstractMetaData
org.pentaho.reporting.engine.classic.core.metadata.DefaultExpressionPropertyMetaData
- All Implemented Interfaces:
- Serializable, ExpressionPropertyMetaData, MetaData
public class DefaultExpressionPropertyMetaData
- extends AbstractMetaData
- implements ExpressionPropertyMetaData
- See Also:
- Serialized Form
Constructor Summary |
DefaultExpressionPropertyMetaData(String name,
String bundleLocation,
boolean expert,
boolean preferred,
boolean hidden,
boolean deprecated,
boolean mandatory,
boolean computed,
String propertyRole,
PropertyDescriptor propertyDescriptor,
String propertyEditorClass,
ExpressionPropertyCore expressionPropertyCore,
boolean experimental,
int compatibilityLevel)
|
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 element,
Object attributeValue)
|
String[] |
getReferencedGroups(Expression element,
Object attributeValue)
|
ResourceReference[] |
getReferencedResources(Expression expression,
Object attributeValue,
Element reportElement,
org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
|
boolean |
isComputed()
|
boolean |
isMandatory()
|
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 interface org.pentaho.reporting.engine.classic.core.metadata.MetaData |
getCompatibilityLevel, getDeprecationMessage, getDescription, getDisplayName, getGrouping, getGroupingOrdinal, getItemOrdinal, getMetaAttribute, getName, isDeprecated, isExperimental, isExpert, isHidden, isPreferred |
DefaultExpressionPropertyMetaData
public DefaultExpressionPropertyMetaData(String name,
String bundleLocation,
boolean expert,
boolean preferred,
boolean hidden,
boolean deprecated,
boolean mandatory,
boolean computed,
String propertyRole,
PropertyDescriptor propertyDescriptor,
String propertyEditorClass,
ExpressionPropertyCore expressionPropertyCore,
boolean experimental,
int compatibilityLevel)
isComputed
public boolean isComputed()
- Specified by:
isComputed
in interface ExpressionPropertyMetaData
getPropertyType
public Class getPropertyType()
- Specified by:
getPropertyType
in interface ExpressionPropertyMetaData
getPropertyRole
public String getPropertyRole()
- Description copied from interface:
ExpressionPropertyMetaData
- Can be one of "Value", "Resource", "Content", "Field", "Group", "Query", "Message", "Bundle-Key", "Bundle-Name",
"Name", "ElementName", "DateFormat", "NumberFormat"
- Specified by:
getPropertyRole
in interface ExpressionPropertyMetaData
- Returns:
isMandatory
public boolean isMandatory()
- Specified by:
isMandatory
in interface ExpressionPropertyMetaData
getReferencedFields
public String[] getReferencedFields(Expression element,
Object attributeValue)
- Specified by:
getReferencedFields
in interface ExpressionPropertyMetaData
getReferencedGroups
public String[] getReferencedGroups(Expression element,
Object attributeValue)
- Specified by:
getReferencedGroups
in interface ExpressionPropertyMetaData
getReferencedElements
public String[] getReferencedElements(Expression expression,
Object attributeValue)
- Specified by:
getReferencedElements
in interface ExpressionPropertyMetaData
getReferencedResources
public ResourceReference[] getReferencedResources(Expression expression,
Object attributeValue,
Element reportElement,
org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
- Specified by:
getReferencedResources
in interface ExpressionPropertyMetaData
getBeanDescriptor
public PropertyDescriptor getBeanDescriptor()
- Specified by:
getBeanDescriptor
in interface ExpressionPropertyMetaData
getEditor
public PropertyEditor getEditor()
- Specified by:
getEditor
in interface ExpressionPropertyMetaData
getExtraCalculationFields
public String[] getExtraCalculationFields()
- Specified by:
getExtraCalculationFields
in interface ExpressionPropertyMetaData