First class diagram messaging extension #13
| @ -40,6 +40,7 @@ package Forums { | |||||||
| 	} | 	} | ||||||
| 	class Poll{ | 	class Poll{ | ||||||
| 		options: ArrayList<Option> | 		options: ArrayList<Option> | ||||||
|  | 		type: PollType | ||||||
| 		answer(User, Option): Vote | 		answer(User, Option): Vote | ||||||
| 		addOption(Option) | 		addOption(Option) | ||||||
| 	} | 	} | ||||||
| @ -63,7 +64,7 @@ package Forums { | |||||||
| 	Option "1..*" -d-x Vote | 	Option "1..*" -d-x Vote | ||||||
| 	Poll *-- Vote | 	Poll *-- Vote | ||||||
|  |  | ||||||
| 	Poll .. PollType | 	Poll -- PollType | ||||||
| 	PollType .r. N | 	PollType .r. N | ||||||
|  |  | ||||||
| } | } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user