001// license-header java merge-point 002// 003// Attention: generated code (by Metafacade.vsl) - do not modify! 004// 005package org.andromda.cartridges.spring.metafacades; 006 007import org.andromda.metafacades.uml.OperationFacade; 008 009/** 010 * TODO: Model Documentation for org.andromda.cartridges.spring.metafacades.SpringEntityOperation 011 * 012 * Metafacade interface to be used by AndroMDA cartridges. 013 */ 014public interface SpringEntityOperation 015 extends OperationFacade 016{ 017 /** 018 * Indicates the metafacade type (used for metafacade mappings). 019 * 020 * @return boolean always <code>true</code> 021 */ 022 public boolean isSpringEntityOperationMetaType(); 023 024 /** 025 * The method call for the implementation operation. 026 * @return String 027 */ 028 public String getImplementationCall(); 029 030 /** 031 * The name of the operation used within the entity implementation. 032 * @return String 033 */ 034 public String getImplementationName(); 035 036 /** 037 * The signature for the implementation operation. 038 * @return String 039 */ 040 public String getImplementationSignature(); 041 042 /** 043 * Returns true if the associated operation has the <<PostPersist>> stereotype. 044 * NOTE: The method signature must return void and have one arg with the same type of the entity 045 * @return boolean 046 */ 047 public boolean isPostPersist(); 048 049 /** 050 * Returns true if the associated operation has the <<PostRemove>> stereotype. 051 * NOTE: The method signature must return void and have one arg with the same type of the entity 052 * @return boolean 053 */ 054 public boolean isPostRemove(); 055 056 /** 057 * Returns true if the associated operation has the <<PostUpdate>> stereotype. 058 * NOTE: The method signature must return void and have one arg with the same type of the entity 059 * @return boolean 060 */ 061 public boolean isPostUpdate(); 062 063 /** 064 * Returns true if the associated operation has the <<PrePersist>> stereotype. 065 * NOTE: The method signature must return void and have one arg with the same type of the 066 * entity. 067 * @return boolean 068 */ 069 public boolean isPrePersist(); 070 071 /** 072 * Returns true if the associated operation has the <<PreRemove>> stereotype. 073 * NOTE: The method signature must return void and have one arg with the same type of the entity 074 * @return boolean 075 */ 076 public boolean isPreRemove(); 077 078 /** 079 * Returns true if the associated operation has the <<PreUpdate>> stereotype. 080 * NOTE: The method signature must return void and have one arg with the same type of the entity 081 * @return boolean 082 */ 083 public boolean isPreUpdate(); 084}