Package org.pentaho.aggdes.model

Examples of org.pentaho.aggdes.model.Measure


  public MeasureConverter(Schema schema) {
    this.schema = schema;
  }
 
  public void marshal(Object object, HierarchicalStreamWriter writer, MarshallingContext context) {
    Measure measure = (Measure)object;
    writer.startNode("label");
    writer.setValue(measure.getLabel());
    writer.endNode();
    writer.startNode("table");
    writer.setValue(measure.getTable().getLabel());
    writer.endNode();
  }
View Full Code Here


    String label = reader.getValue();
    reader.moveUp();
    reader.moveDown();
    String tableLabel = reader.getValue();
    reader.moveUp();
    Measure foundMeasure = null;
    for (Measure measure : schema.getMeasures()) {
      if (measure.getLabel().equals(label) &&
          measure.getTable().getLabel().equals(tableLabel))
      {
            foundMeasure = measure;
View Full Code Here

TOP

Related Classes of org.pentaho.aggdes.model.Measure

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.