?? coffeeaccessory.java
字號:
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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -