content: package org.agoncal.book.javaee7.chapter03.ex09;
  
  /**
   * @author Antonio Goncalves
   *         APress Book - Beginning Java EE 7 with Glassfish 4
   *         http://www.apress.com/
   *         http://www.antoniogoncalves.org
   *         --
   */
  public class OrderLine09 {
  
    // ======================================
    // =             Attributes             =
    // ======================================
  
    private String item;
    private Double unitPrice;
    private Integer quantity;
  
    // ======================================
    // =            Constructors            =
    // ======================================
  
    public OrderLine09() {
    }
  
    public OrderLine09(String item, Double unitPrice, Integer quantity) {
      this.item = item;
      this.unitPrice = unitPrice;
      this.quantity = quantity;
    }
  
    // ======================================
    // =          Getters & Setters         =
    // ======================================
  
    public String getItem() {
      return item;
    }
  
    public void setItem(String item) {
      this.item = item;
    }
  
    public Double getUnitPrice() {
      return unitPrice;
    }
  
    public void setUnitPrice(Double unitPrice) {
      this.unitPrice = unitPrice;
    }
  
    public Integer getQuantity() {
      return quantity;
    }
  
    public void setQuantity(Integer quantity) {
      this.quantity = quantity;
    }
  }