public class DefaultExpressionPropertyMetaData extends AbstractMetaData implements ExpressionPropertyMetaData
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
Constructor and Description |
---|
DefaultExpressionPropertyMetaData(ExpressionPropertyMetaDataBuilder builder) |
DefaultExpressionPropertyMetaData(String name,
String bundleLocation,
boolean expert,
boolean preferred,
boolean hidden,
boolean deprecated,
boolean mandatory,
boolean computed,
String propertyRole,
SharedBeanInfo beanInfo,
String propertyEditorClass,
ExpressionPropertyCore expressionPropertyCore,
MaturityLevel maturityLevel,
int compatibilityLevel)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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() |
getBundle, getBundleLocation, getCompatibilityLevel, getDeprecationMessage, getDescription, getDisplayName, getFeatureMaturityLevel, getGrouping, getGroupingOrdinal, getIcon, getItemOrdinal, getKeyPrefix, getMetaAttribute, getName, isDeprecated, isExperimental, isExpert, isHidden, isPreferred
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBundleLocation, getCompatibilityLevel, getDeprecationMessage, getDescription, getDisplayName, getFeatureMaturityLevel, getGrouping, getGroupingOrdinal, getItemOrdinal, getKeyPrefix, getMetaAttribute, getName, isDeprecated, isExperimental, isExpert, isHidden, isPreferred
@Deprecated public DefaultExpressionPropertyMetaData(String name, String bundleLocation, boolean expert, boolean preferred, boolean hidden, boolean deprecated, boolean mandatory, boolean computed, String propertyRole, SharedBeanInfo beanInfo, String propertyEditorClass, ExpressionPropertyCore expressionPropertyCore, MaturityLevel maturityLevel, int compatibilityLevel)
public DefaultExpressionPropertyMetaData(ExpressionPropertyMetaDataBuilder builder)
public boolean isComputed()
isComputed
in interface ExpressionPropertyMetaData
public Class<?> getPropertyType()
getPropertyType
in interface ExpressionPropertyMetaData
public String getPropertyRole()
ExpressionPropertyMetaData
getPropertyRole
in interface ExpressionPropertyMetaData
public boolean isMandatory()
isMandatory
in interface ExpressionPropertyMetaData
public String[] getReferencedFields(Expression element, Object attributeValue)
getReferencedFields
in interface ExpressionPropertyMetaData
public String[] getReferencedGroups(Expression element, Object attributeValue)
getReferencedGroups
in interface ExpressionPropertyMetaData
public String[] getReferencedElements(Expression expression, Object attributeValue)
getReferencedElements
in interface ExpressionPropertyMetaData
public ResourceReference[] getReferencedResources(Expression expression, Object attributeValue, Element reportElement, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
getReferencedResources
in interface ExpressionPropertyMetaData
public PropertyDescriptor getBeanDescriptor() throws IllegalStateException
getBeanDescriptor
in interface ExpressionPropertyMetaData
IllegalStateException
public PropertyEditor getEditor()
getEditor
in interface ExpressionPropertyMetaData
public String[] getExtraCalculationFields()
getExtraCalculationFields
in interface ExpressionPropertyMetaData