forked from prmr/DesignBook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
c6-exercise19.class.jet
1 lines (1 loc) · 1.16 KB
/
c6-exercise19.class.jet
1
{"diagram":"ClassDiagram","nodes":[{"methods":"consume(Command): void\nundoLast(): void\nredoLast(): void\n","name":"CommandProcessor","x":630,"y":130,"id":0,"type":"InterfaceNode"},{"methods":"Program(CommandProcessor)\n+ clear(): void\n- createClearCommand(): Command\n+ undo(): void\n+ redo(): void","name":"Program","x":330,"y":130,"attributes":"","id":3,"type":"ClassNode"},{"methods":"execute(): void\nundo(): void","name":"Command","x":650,"y":280,"id":1,"type":"InterfaceNode"},{"name":"public void clear() \n{\n aProcessor.consume(createClearCommand());\n}","x":330,"y":290,"id":4,"type":"NoteNode"},{"methods":"","name":"BasicCommandProcessor","x":810,"y":150,"attributes":"","id":2,"type":"ClassNode"}],"edges":[{"middleLabel":"","start":3,"directionality":"Unidirectional","end":1,"type":"DependencyEdge"},{"startLabel":"","middleLabel":"aProcessor","start":3,"end":0,"endLabel":"1","type":"AggregationEdge","Aggregation Type":"Aggregation"},{"Generalization Type":"Inheritance","start":2,"end":0,"type":"GeneralizationEdge"},{"middleLabel":"","start":0,"directionality":"Unidirectional","end":1,"type":"DependencyEdge"},{"start":3,"end":4,"type":"NoteEdge"}],"version":"3.3"}