Package: ErstelleStandardaktivitaetstypKommandoMitResultat
ErstelleStandardaktivitaetstypKommandoMitResultat
| name | instruction | branch | complexity | line | method | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ErstelleStandardaktivitaetstypKommandoMitResultat(Verarbeitung, Akteurtyp) | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
| accept(KommandoVisitor) | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
| doIt() | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
Coverage
1: package schnittstelle.ablaeufeKommandos.ErstelleKommandos;
2: 
3: import ablaeufe.meta.akteurstypen.Akteurtyp;
4: import ablaeufe.meta.aktivitaetstypen.Standardaktivitaetstyp;
5: import ablaeufe.meta.strategies.aktivitaet.Verarbeitung;
6: import schnittstelle.kommandoArchitektur.KommandoOhneExceptionMitResultat;
7: import schnittstelle.kommandoArchitektur.KommandoVisitor;
8: 
9: /**
10:  * Ein Kommando nach dem Command-Pattern für das erstellen eines Standardaktivätstypen des Metamodells der Abläufe.
11:  *
12:  */
13: public class ErstelleStandardaktivitaetstypKommandoMitResultat extends KommandoOhneExceptionMitResultat<Standardaktivitaetstyp> {
14: 
15:     private final Akteurtyp akteurtyp;
16: 
17:     /**
18:          * @param akteurtyp {@link Akteurtyp}
19:          * @param verarbeitung
20:          *            Verarbeitung der Aktivität.
21:          */
22:         public ErstelleStandardaktivitaetstypKommandoMitResultat(final Verarbeitung verarbeitung, final Akteurtyp akteurtyp) {
23:                 super();
24:                 this.verarbeitung = verarbeitung;
25:                 this.akteurtyp = akteurtyp;
26:         }
27:         
28:         private final Verarbeitung verarbeitung;
29:         
30:         @Override
31:         protected Standardaktivitaetstyp doIt() {
32:                 return Standardaktivitaetstyp.create(this.verarbeitung, this.akteurtyp);
33:         }
34:         
35:         @Override
36:         public void accept(final KommandoVisitor v) {
37:                 v.handle(this);
38:         }
39:         
40: }