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