coffeeaccessory.java

来自「EmployeeArray的应用及EmployeeArray在输入输出的控制」· Java 代码 · 共 102 行

JAVA
102
字号
package uml;

import java.util.Collection;
import java.util.Iterator;


public class CoffeeAccessory {

	/**
	 * @uml.property  name="Code"
	 */
	private String code = "";

	/**
	 * Getter of the property <tt>Code</tt>
	 * @return  Returns the code.
	 * @uml.property  name="Code"
	 */
	public String getCode() {
		return code;
	}

	/**
	 * Setter of the property <tt>Code</tt>
	 * @param Code  The code to set.
	 * @uml.property  name="Code"
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @uml.property  name="Description"
	 */
	private String description = "";

	/**
	 * Getter of the property <tt>Description</tt>
	 * @return  Returns the description.
	 * @uml.property  name="Description"
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * Setter of the property <tt>Description</tt>
	 * @param Description  The description to set.
	 * @uml.property  name="Description"
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @uml.property  name="Price"
	 */
	private double price;

	/**
	 * Getter of the property <tt>Price</tt>
	 * @return  Returns the price.
	 * @uml.property  name="Price"
	 */
	public double getPrice() {
		return price;
	}

	/**
	 * Setter of the property <tt>Price</tt>
	 * @param Price  The price to set.
	 * @uml.property  name="Price"
	 */
	public void setPrice(double price) {
		this.price = price;
	}

	/**
	 * @uml.property  name="Quantity"
	 */
	private int quantity;

	/**
	 * Getter of the property <tt>Quantity</tt>
	 * @return  Returns the quantity.
	 * @uml.property  name="Quantity"
	 */
	public int getQuantity() {
		return quantity;
	}

	/**
	 * Setter of the property <tt>Quantity</tt>
	 * @param Quantity  The quantity to set.
	 * @uml.property  name="Quantity"
	 */
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?