app
2017-08-01 22:45:55 0 举报
走么app 乘车uml模型图 。
作者其他创作
大纲/内容
类
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
Inherit
ZIF_TALK
+ talk(rv_word):string
1
0...*
ZCL_VEHICLES
- gv_seats :i- gv_type :string- gv_price :i- gv_id :i
+ get_seats(rv_seats):i+ set_seats( iv_seats)+ get_type(rv_type):string+ bell(rv_bell):string+ get_price(rv_price):i+ set_price( iv_seats)
ZCL_USER
- gv_name :string- gv_telephone :string- gv_address :string
+constructor(iv_name iv_telephone iv_address )+get_name()+get_tel()+get_add()
ZCL_ORDER
- gv_from:d- gv_to:d- gv_seats:i- gt_car_order:zmd_veh_order- gt_bus_order:zmd_veh_order- gt_tru_order:zmd_veh_order- go_user : zcl_user+cs_ready
+ create_orded(iv_from iv_to cs_order)+creat_group_order()+prepare_order()
1...*
ZCL_VEHICLE_COM
- gv_name:string- go_vehicles:zcl_vehicles- go_user:zcl_user+cs_ready
+add_user (ro_user):zcl_user+add_vehicle()+rent_service ()+check_authorization ()+group_rent ()+inital_order ()+retune_service()+single_rent()
Implement
ZCL_CAR_TEST
+ get_seats(rv_seats):i+ set_seats( iv_seats)+ get_type(rv_type):string+ bell(rv_bell):string+ get_price(rv_price):i+ set_price( iv_seats)+ zif_talk~talk(rv_word):string
ZCL_BUS_TEST
- gv_seats :i- gv_type :string- gv_price :i- gv_id :I+ cs_bus :string+ cs_bus_st :string
ZCL_TRUCK_TEST
0 条评论
下一页