Seite 1 von 1

ex11 Pattern

Verfasst: 30. Jan 2018 15:43
von LorenzB
Hello,

should we use specific Patterns or just annotate the used ones? (How is the grading done, when i use many or just e few?)

What is ment by
Note that, in our case the Client and Invoker roles are intertwined since we do not implement a real user interface and you may omit the corresponding annotations.
? There is no Command-Pattern annotation provided! I guess this pattern was ment by the sentence.

Thank you

Re: ex11 Pattern

Verfasst: 1. Feb 2018 13:22
von meichholz
Hi,
LorenzB hat geschrieben:
30. Jan 2018 15:43
should we use specific Patterns or just annotate the used ones?
please annotate the used ones.
LorenzB hat geschrieben:
30. Jan 2018 15:43
What is ment by
Note that, in our case the Client and Invoker roles are intertwined since we do not implement a real user interface and you may omit the corresponding annotations.
?
The main main method that is provided in the template is both, the Client and Invoker. However, this method is just there for demonstration purposes.
LorenzB hat geschrieben:
30. Jan 2018 15:43
There is no Command-Pattern annotation provided!
It should be available in the Java source package, please check again.

Best,
Matthias

Re: ex11 Pattern

Verfasst: 3. Feb 2018 23:28
von 0b101101101
"You may omit the corresponding annotations" means its optional to annotate it, and we do not loose points, if we do annotate it?