Skip to content

Package: ErstelleAbstraktionstypKommandoMitResultat

ErstelleAbstraktionstypKommandoMitResultat

nameinstructionbranchcomplexitylinemethod
ErstelleAbstraktionstypKommandoMitResultat()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
accept(KommandoVisitor)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
doIt()
M: 0 C: 2
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: package schnittstelle.ablaeufeKommandos.ErstelleKommandos;
2:
3: import ablaeufe.meta.konnektortypen.Abstraktionstyp;
4: import schnittstelle.kommandoArchitektur.KommandoOhneExceptionMitResultat;
5: import schnittstelle.kommandoArchitektur.KommandoVisitor;
6:
7: /**
8: * Ein Kommando nach dem Command-Pattern für das erstellen eines Abstraktionstypen des Metamodells der Abläufe.
9: *
10: */
11: public class ErstelleAbstraktionstypKommandoMitResultat extends KommandoOhneExceptionMitResultat<Abstraktionstyp> {
12:
13: /**
14: * Erstellt das Kommando.
15: */
16:         public ErstelleAbstraktionstypKommandoMitResultat() {
17:         }
18:         
19:         @Override
20:         protected Abstraktionstyp doIt() {
21:                 return Abstraktionstyp.create();
22:         }
23:         
24:         @Override
25:         public void accept(final KommandoVisitor v) {
26:                 v.handle(this);
27:         }
28:         
29: }