Package org.pentaho.reporting.engine.classic.core.metadata

Examples of org.pentaho.reporting.engine.classic.core.metadata.DefaultExpressionPropertyMetaData


    super(backend);
    final ExpressionPropertyMetaData[] datas = backend.getPropertyDescriptions();
    this.propertyMetaDatas = new EditableExpressionPropertyMetaData[datas.length];
    for (int i = 0; i < datas.length; i++)
    {
      final DefaultExpressionPropertyMetaData data = (DefaultExpressionPropertyMetaData) datas[i];
      propertyMetaDatas[i] = new EditableExpressionPropertyMetaData(data);
    }
  }
View Full Code Here


        final int groupingOrdinal = propertyMetaData.getGroupingOrdinal(locale);
        if (groupingOrdinal == Integer.MAX_VALUE)
        {
          if (propertyMetaData instanceof DefaultExpressionMetaData)
          {
            final DefaultExpressionPropertyMetaData demd = (DefaultExpressionPropertyMetaData) propertyMetaData;
            missingProperties.add(demd.getKeyPrefix() + "grouping.ordinal=1000");
          }
          logger.warn("Expression '" + expression.getExpressionType() + ": Property " + propertyMetaData.getName() + ": Grouping ordinal is not valid");
        }
        final int ordinal = propertyMetaData.getItemOrdinal(locale);
        if (groupingOrdinal == Integer.MAX_VALUE)
        {
          if (propertyMetaData instanceof DefaultExpressionMetaData)
          {
            final DefaultExpressionPropertyMetaData demd = (DefaultExpressionPropertyMetaData) propertyMetaData;
            missingProperties.add(demd.getKeyPrefix() + "ordinal=1000");
          }
          logger.warn("Expression '" + expression.getExpressionType() + ": Property " + propertyMetaData.getName() + ": Ordinal is not valid");
        }
        final String propertyDescription = propertyMetaData.getDescription(locale);
        if (isValid(propertyDescription, "") == false)
View Full Code Here

   * @return the object.
   * @throws SAXException if an parser error occured.
   */
  public Object getObject() throws SAXException
  {
    return new DefaultExpressionPropertyMetaData
        (name, bundleLocation, prefix, expert, preferred, hidden, deprecated, mandatory,
            computed, valueRole, descriptor, propertyEditorClass, expressionPropertyCore);
  }
View Full Code Here

        final int groupingOrdinal = propertyMetaData.getGroupingOrdinal(locale);
        if (groupingOrdinal == Integer.MAX_VALUE)
        {
          if (propertyMetaData instanceof DefaultExpressionMetaData)
          {
            final DefaultExpressionPropertyMetaData demd = (DefaultExpressionPropertyMetaData) propertyMetaData;
            missingProperties.add(demd.getKeyPrefix() + "grouping.ordinal=1000");
          }
          logger.warn("Expression '" + expression.getExpressionType() + ": Property " + propertyMetaData.getName() + ": Grouping ordinal is not valid");
        }
        final int ordinal = propertyMetaData.getItemOrdinal(locale);
        if (groupingOrdinal == Integer.MAX_VALUE)
        {
          if (propertyMetaData instanceof DefaultExpressionMetaData)
          {
            final DefaultExpressionPropertyMetaData demd = (DefaultExpressionPropertyMetaData) propertyMetaData;
            missingProperties.add(demd.getKeyPrefix() + "ordinal=1000");
          }
          logger.warn("Expression '" + expression.getExpressionType() + ": Property " + propertyMetaData.getName() + ": Ordinal is not valid");
        }
        final String propertyDescription = propertyMetaData.getDescription(locale);
        if (isValid(propertyDescription, "") == false)
View Full Code Here

    super(backend);
    final ExpressionPropertyMetaData[] datas = backend.getPropertyDescriptions();
    this.propertyMetaDatas = new EditableExpressionPropertyMetaData[datas.length];
    for (int i = 0; i < datas.length; i++)
    {
      final DefaultExpressionPropertyMetaData data = (DefaultExpressionPropertyMetaData) datas[i];
      propertyMetaDatas[i] = new EditableExpressionPropertyMetaData(data);
    }
  }
View Full Code Here

   * @return the object.
   * @throws SAXException if an parser error occured.
   */
  public ExpressionPropertyMetaData getObject() throws SAXException
  {
    return new DefaultExpressionPropertyMetaData
        (name, bundleLocation, expert, preferred, hidden, deprecated, mandatory, computed, valueRole,
            beanInfo, propertyEditorClass, expressionPropertyCore, experimental, compatibilityLevel);
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.metadata.DefaultExpressionPropertyMetaData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.