View Javadoc
1   // license-header java merge-point
2   //
3   // Attention: generated code (by Metafacade.vsl) - do not modify!
4   //
5   package org.andromda.cartridges.spring.metafacades;
6   
7   import org.andromda.metafacades.uml.OperationFacade;
8   
9   /**
10   * TODO: Model Documentation for org.andromda.cartridges.spring.metafacades.SpringEntityOperation
11   *
12   * Metafacade interface to be used by AndroMDA cartridges.
13   */
14  public interface SpringEntityOperation
15      extends OperationFacade
16  {
17      /**
18       * Indicates the metafacade type (used for metafacade mappings).
19       *
20       * @return boolean always <code>true</code>
21       */
22      public boolean isSpringEntityOperationMetaType();
23  
24      /**
25       * The method call for the implementation operation.
26       * @return String
27       */
28      public String getImplementationCall();
29  
30      /**
31       * The name of the operation used within the entity implementation.
32       * @return String
33       */
34      public String getImplementationName();
35  
36      /**
37       * The signature for the implementation operation.
38       * @return String
39       */
40      public String getImplementationSignature();
41  
42      /**
43       * Returns true if the associated operation has the <<PostPersist>> stereotype.
44       * NOTE: The method signature must return void and have one arg with the same type of the entity
45       * @return boolean
46       */
47      public boolean isPostPersist();
48  
49      /**
50       * Returns true if the associated operation has the <<PostRemove>> stereotype.
51       * NOTE: The method signature must return void and have one arg with the same type of the entity
52       * @return boolean
53       */
54      public boolean isPostRemove();
55  
56      /**
57       * Returns true if the associated operation has the <<PostUpdate>> stereotype.
58       * NOTE: The method signature must return void and have one arg with the same type of the entity
59       * @return boolean
60       */
61      public boolean isPostUpdate();
62  
63      /**
64       * Returns true if the associated operation has the <<PrePersist>> stereotype.
65       * NOTE: The method signature must return void and have one arg with the same type of the
66       * entity.
67       * @return boolean
68       */
69      public boolean isPrePersist();
70  
71      /**
72       * Returns true if the associated operation has the <<PreRemove>> stereotype.
73       * NOTE: The method signature must return void and have one arg with the same type of the entity
74       * @return boolean
75       */
76      public boolean isPreRemove();
77  
78      /**
79       * Returns true if the associated operation has the <<PreUpdate>> stereotype.
80       * NOTE: The method signature must return void and have one arg with the same type of the entity
81       * @return boolean
82       */
83      public boolean isPreUpdate();
84  }