UPRangeElement.java :  » Report » jmagallanes-1.0 » com » calipso » reportgenerator » userinterface » Java Open Source

Java Open Source » Report » jmagallanes 1.0 
jmagallanes 1.0 » com » calipso » reportgenerator » userinterface » UPRangeElement.java
package com.calipso.reportgenerator.userinterface;

import com.calipso.reportgenerator.common.ReportFilterSpec;
import com.calipso.reportgenerator.common.ReportSpec;

/**
 * Representa un elemento de tipo range de
 * la coleccion <code>UPCollection</code>.
 * Conoce todos los datos necesarios de 1 filtro para una dimension.
 */

public class UPRangeElement extends UPCollectionElement {

  private String startingArgument;
  private String endingArgument;
  private String startingTfCaption;
  private String endingTfCaption;

  public UPRangeElement(ReportFilterSpec filterDefinition, ReportSpec reportSpec,
                        String startingArgument, String endingArgument,
                        String startingTfCaption, String endingTfCaption) {
    super(filterDefinition, reportSpec);
    this.startingArgument = startingArgument;
    this.endingArgument = endingArgument;
    this.startingTfCaption = startingTfCaption;
    this.endingTfCaption = endingTfCaption;
  }

  public String getStartingTfCaption() {
    return startingTfCaption;
  }

  public String getEndingTfCaption() {
    return endingTfCaption;
  }

  public String getStartingArgument() {
    return startingArgument;
  }

  public String getEndingArgument() {
    return endingArgument;
  }

  public ReportSpec getReportSpec() {
    return super.getReportSpec();
  }

  public ReportFilterSpec getFilterDefinition() {
    return super.getFilterDefinition();
  }

  public UPPanel getVisualComponent() {
    return new UPRangePanel(this);
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.