Class Diagram
2016-03-29 15:34:41 0 举报
类图(Class Diagram)是一种用于描述系统结构和关系的静态图形表示方法。它展示了系统中的类、接口、关联关系、继承关系、实现关系等元素,并以一种直观的方式呈现了这些元素之间的交互和依赖。类图中的每个实体都表示为一个矩形,并通过带有标签的连接线表示它们之间的关系。类图的主要目的是帮助开发人员更好地理解系统的组成部分以及它们之间的相互作用,从而促进更好的设计和开发过程。
作者其他创作
大纲/内容
Waitress
+ name:String;
+ getPayment( );+ printReceipt( );+ provideService( );+ takeCash( );
1
Vip
Payment
+ goVipInterface( );+ callPayCash( );+ goComeHomeInterface( );+ backShowInfo( );
DishOption
+ name: String;+ price: int;+ number: int;+ kind: String;
+ searchDish( );+ callService( );+ backHomeInterface( );+ confirmOption( );+ showOrderingDish( );
N
Customer
Home
+ goDishOptionInterface( );+ goVipInterface( );
Comment
+ record: String;
+ backDishInfoInterface( );+ recordComment( );
ComeHome
+ goHomeInterface( );
DishInfo
+ showOrderedInfo( );+ addDish( );+ reduceDish( );+ goCommentInterface( );+ goPayInterface( );+ backDishOptionInterface( );
Chef
+ name: String;
+ changeDishStatus( );+ responseManager( );
Manager
0 条评论
下一页