RequestItem.java
资源名称:MyStore.rar [点击查看]
上传用户:hgs128
上传日期:2007-02-03
资源大小:166k
文件大小:1k
源码类别:
百货/超市行业
开发平台:
WINDOWS
- /*
- * Created on 1999-5-18
- */
- package mdb;
- import java.io.Serializable;
- /**
- * @author 28-9
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
- public class RequestItem implements Serializable {
- private String username;
- private String passwd;
- private String itemID;
- private int quantity;
- public RequestItem(String usrname,String passwd,String itemid,
- int quantity) {
- super();
- setUsername(usrname);
- setPasswd(passwd);
- setItemID(itemid);
- setQuantity(quantity);
- }
- /**
- * @return Returns the itemID.
- */
- public String getItemID() {
- return itemID;
- }
- /**
- * @param itemID The itemID to set.
- */
- public void setItemID(String itemID) {
- this.itemID = itemID;
- }
- /**
- * @return Returns the passwd.
- */
- public String getPasswd() {
- return passwd;
- }
- /**
- * @param passwd The passwd to set.
- */
- public void setPasswd(String passwd) {
- this.passwd = passwd;
- }
- /**
- * @return Returns the quantity.
- */
- public int getQuantity() {
- return quantity;
- }
- /**
- * @param quantity The quantity to set.
- */
- public void setQuantity(int quantity) {
- this.quantity = quantity;
- }
- /**
- * @return Returns the username.
- */
- public String getUsername() {
- return username;
- }
- /**
- * @param username The username to set.
- */
- public void setUsername(String username) {
- this.username = username;
- }
- }