Ptidej-v5.2-master/MoDeC Bytecode Instrumentation Tests/src/modec/test/visitor/example/CaliforniaOrder.java
/*******************************************************************************
 * Copyright (c) 2001-2014 Yann-Gal Guhneuc and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Yann-Gal Guhneuc and others, see in file; API and its implementation
 ******************************************************************************/
package modec.test.visitor.example;

//package src.VISITOR;
public class CaliforniaOrder implements Order {
  private double orderAmount;
  private double additionalTax;

  public CaliforniaOrder() {
  }
  public CaliforniaOrder(double inp_orderAmount,
      double inp_additionalTax) {
    this.orderAmount = inp_orderAmount;
    this.additionalTax = inp_additionalTax;
  }
  public double getOrderAmount() {
    return this.orderAmount;
  }
  public double getAdditionalTax() {
    return this.additionalTax;
  }
  public void accept(OrderVisitor v) {
    v.visit(this);
  }
}

