资源简介

系统名称:农夫果园游戏系统 人物角色:农夫(Farmer)、市场调查员(Inquirer)、农场主(Boss) 系统实物:各种果树(Fruit)、果园(Garden) 功能需求: (1) 农夫可以根据市场行情种植各种水果; (2) 市场调查员可以了解市场行情; (3) 农场主可以向农夫、市场调查员发布命令 (4) 各种果树都具有种植(plant)、成长(grow)、收获(harvest)行为; (5) 果园是人物和实物进行交易的经营场所。

资源截图

代码片段和文件信息

package com.UML.Factory;


public class Factory{
public static object getobject(String className) {
try {
return Class.forName(className).newInstance();
} catch (InstantiationException e) {
e.printStackTrace();
return null;
} catch (IllegalAccessException e) {
e.printStackTrace();
return null;
} catch (ClassNotFoundException e) {
e.printStackTrace();
return null;
}
}
}

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

     文件        460  2012-04-22 18:04  UMLFinallyHomework\.classpath

     文件        394  2012-04-15 21:33  UMLFinallyHomework\.project

     文件        629  2012-04-15 21:33  UMLFinallyHomework\.settings\org.eclipse.jdt.core.prefs

     文件        970  2012-04-22 20:12  UMLFinallyHomework\bin\com\UML\Factory\Factory.class

     文件        207  2012-04-22 20:58  UMLFinallyHomework\bin\com\UML\IDAL\InterfaceForFruit.class

     文件       1956  2012-04-23 17:39  UMLFinallyHomework\bin\com\UML\role\Boss.class

     文件       1353  2012-04-22 20:40  UMLFinallyHomework\bin\com\UML\role\Farmer.class

     文件        519  2012-04-22 18:04  UMLFinallyHomework\bin\com\UML\role\Father.class

     文件       2249  2012-04-22 21:17  UMLFinallyHomework\bin\com\UML\role\Fruit.class

     文件       1138  2012-04-22 22:49  UMLFinallyHomework\bin\com\UML\role\Garden.class

     文件        583  2012-04-22 20:46  UMLFinallyHomework\bin\com\UML\role\Inquirer.class

     文件        433  2012-04-22 20:27  UMLFinallyHomework\bin\com\UML\role\plant\Apple.class

     文件        430  2012-04-22 18:04  UMLFinallyHomework\bin\com\UML\role\plant\Peach.class

     文件        427  2012-04-22 18:04  UMLFinallyHomework\bin\com\UML\role\plant\Pear.class

     文件        430  2012-04-22 18:04  UMLFinallyHomework\bin\com\UML\role\plant\Rose.class

     文件        365  2012-04-23 17:36  UMLFinallyHomework\bin\com\UML\Test\Apple.class

     文件       2864  2012-04-23 18:56  UMLFinallyHomework\bin\com\UML\Test\Test.class

     文件        466  2012-04-23 17:36  UMLFinallyHomework\bin\com\UML\Test\Test2.class

     文件        380  2012-04-22 20:02  UMLFinallyHomework\bin\com\UML\UI\Index.class

     文件        424  2012-04-22 20:12  UMLFinallyHomework\src\com\UML\Factory\Factory.java

     文件        152  2012-04-22 20:58  UMLFinallyHomework\src\com\UML\IDAL\InterfaceForFruit.java

     文件        952  2012-04-23 17:39  UMLFinallyHomework\src\com\UML\role\Boss.java

     文件        656  2012-04-22 20:40  UMLFinallyHomework\src\com\UML\role\Farmer.java

     文件        188  2012-04-15 21:38  UMLFinallyHomework\src\com\UML\role\Father.java

     文件       1627  2012-04-22 21:17  UMLFinallyHomework\src\com\UML\role\Fruit.java

     文件        366  2012-04-22 22:49  UMLFinallyHomework\src\com\UML\role\Garden.java

     文件        191  2012-04-22 20:46  UMLFinallyHomework\src\com\UML\role\Inquirer.java

     文件        194  2012-04-22 20:27  UMLFinallyHomework\src\com\UML\role\plant\Apple.java

     文件        190  2012-04-21 18:34  UMLFinallyHomework\src\com\UML\role\plant\Peach.java

     文件        188  2012-04-21 22:52  UMLFinallyHomework\src\com\UML\role\plant\Pear.java

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

评论

共有 条评论