资源简介

东北大学软件工程期末复习题ssd9,希望给大家带来帮助

资源截图

代码片段和文件信息


/** 
 * Information for one Accessory for one Product of WebOrder
 *
 * @author dev-ssd9
 * @version 1.0
 */
public class Accessory
{
private String productName;
private String accessoryName;
private double price;
private double weight;
private String description;
private int unitsOrdered;

/**
 * Constructor
 * Initializes the Accessory with the name supplied
 *
 * @param name name of the Accessory  
 */
public Accessory( String nameOfAccessory )
{
this.accessoryName = nameOfAccessory;
productName = description = ““;
price = weight = 0.0;
}


/**
 * Constructor
 * Initializes the Accessory with the names supplied
 *
 * @param name name of the Product  
 */
public Accessory( String nameOfProduct String nameOfAccessory )
{
this.productName = nameOfProduct;
this.accessoryName = nameOfAccessory;
description = ““;
price = weight = 0.0;
}



/**
 * Constructor
 * Initializes the Accessory with the data supplied
 * 
 * @param name name of the Accessory
 * @param price  price of the Accessory
 * @param weight weight of the Accessory
 * @param description description of the Accessory
 */
public Accessory(String nameOfProduct String nameOfAccessory double price double weight String description) 
{
this.productName = nameOfProduct;
this.accessoryName = nameOfAccessory;
this.price = price;
this.weight = weight;
this.description = description;
}



/**
 * Constructor
 * Initialize the Accessory with the data supplied
 *
 * @param acc Accessory to which it is initialized
 * @param units number of units requested by user
 */
public Accessory(Accessory acc int units) 
{
this.productName = acc.productName;
this.accessoryName = acc.accessoryName;
this.price = acc.price;
this.weight = acc.weight;
this.description = acc.description;
this.unitsOrdered = units;
}



/**
 * Constructor
 * Initialize the Accessory with the data supplied
 *
 * @param acc Accessory to which it is initialized
 */
public Accessory(Accessory acc) 
{
this.productName = acc.productName;
this.accessoryName = acc.accessoryName;
this.price = acc.price;
this.weight = acc.weight;
this.description = acc.description;
}



/**
 * Constructor
 * Initialize the Accessory with the data supplied
 *
 * @param name name of the Accessory  
 * @param units  units requested by user
 */
public Accessory(String nameOfProduct String nameOfAccessory int units)
{
this.productName = nameOfProduct;
this.accessoryName = nameOfAccessory;
this.unitsOrdered = units;
}



 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      30208  2004-07-08 14:32  ssd9\Certification Exam Practical\soln-accessory\Accessories-STD-solution.ppt

     文件       4584  2004-07-08 13:49  ssd9\Certification Exam Practical\soln-accessory\accessory-dump.sql

     文件      77312  2004-04-13 16:52  ssd9\Certification Exam Practical\soln-accessory\AddItem-SequenceDiagram.ppt

     文件      24064  2004-04-13 17:01  ssd9\Certification Exam Practical\soln-accessory\Maintenance.doc

     文件      60416  2004-04-13 14:50  ssd9\Certification Exam Practical\soln-accessory\RequirementsChecklist.doc

     文件      98304  2004-07-08 15:31  ssd9\Certification Exam Practical\soln-accessory\UseCaseModeling.doc

     文件        235  2004-03-10 12:10  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\.classpath

     文件        388  2004-03-10 12:10  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\.project

     文件      49115  2004-07-07 20:33  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\.uml\mapping.repository

     文件    1860376  2004-07-07 20:33  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\.uml\uml.repository

     文件       2252  2004-07-08 13:41  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\Accessory.class

     文件       5614  2004-03-18 15:56  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\Accessory.java

     文件       1488  2004-07-08 13:41  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\AccessoryCatalog.class

     文件       1608  2004-03-18 14:09  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\AccessoryCatalog.java

     文件      36328  2004-07-07 19:22  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\AddItem.usd

     文件        406  2004-07-08 13:41  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\AirShipment.class

     文件       1039  2004-03-10 12:11  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\AirShipment.java

     文件       2200  2004-07-08 13:41  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\Basket.class

     文件       4090  2004-03-18 16:10  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\Basket.java

     文件       1945  2004-07-08 13:41  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\DatabaseManager.class

     文件       2460  2004-03-17 16:28  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\DatabaseManager.java

     文件        412  2004-07-08 13:41  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\GroundShipment.class

     文件       1033  2004-03-10 12:11  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\GroundShipment.java

     文件       1128  2004-07-08 13:41  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\Order.class

     文件       2570  2004-03-10 12:11  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\Order.java

     文件       1769  2004-07-08 13:41  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\OrderHistory.class

     文件       2310  2004-03-18 17:32  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\OrderHistory.java

     文件       4847  2004-07-08 13:41  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\OrderHistoryView.class

     文件       5608  2004-03-18 17:25  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\OrderHistoryView.java

     文件       2585  2004-07-08 13:41  ssd9\Certification Exam Practical\soln-accessory\WebOrderAccessory\Product.class

............此处省略205个文件信息

评论

共有 条评论