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