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.DependencyFacade; 8 9 /** 10 * Represents a dependency between spring objects. 11 * 12 * Metafacade interface to be used by AndroMDA cartridges. 13 */ 14 public interface SpringDependency 15 extends DependencyFacade 16 { 17 /** 18 * Indicates the metafacade type (used for metafacade mappings). 19 * 20 * @return boolean always <code>true</code> 21 */ 22 public boolean isSpringDependencyMetaType(); 23 24 /** 25 * The name of the DAO reference getter name. 26 * @return String 27 */ 28 public String getDaoGetterName(); 29 30 /** 31 * The name given to a DAO reference. 32 * @return String 33 */ 34 public String getDaoName(); 35 36 /** 37 * The DAO reference setter's name. 38 * @return String 39 */ 40 public String getDaoSetterName(); 41 42 /** 43 * TODO: Model Documentation for 44 * org.andromda.cartridges.spring.metafacades.SpringDependency.transformationAnonymousName 45 * @return String 46 */ 47 public String getTransformationAnonymousName(); 48 49 /** 50 * The name of the constant designated for use as a transformation flag for value objects (only 51 * makes sense when this dependency goes into a value object). 52 * @return String 53 */ 54 public String getTransformationConstantName(); 55 56 /** 57 * Stores the transformation constrant name. 58 * @return int 59 */ 60 public int getTransformationConstantValue(); 61 62 /** 63 * The name of the method use for transformation into a value object (only makes sense when this 64 * dependency goes into a value object). 65 * @return String 66 */ 67 public String getTransformationMethodName(); 68 69 /** 70 * Returns the name of the method for transforming the contents of a collection to an array. 71 * @return String 72 */ 73 public String getTransformationToArrayMethodName(); 74 75 /** 76 * Returns the name of the method for transforming the contents of a collection. 77 * @return String 78 */ 79 public String getTransformationToCollectionMethodName(); 80 81 /** 82 * The method name that performs the value object collection to entity collection 83 * transformation. 84 * @return String 85 */ 86 public String getTransformationToEntityCollectionMethodName(); 87 88 /** 89 * The name of the "to entity" transformation method name. 90 * @return String 91 */ 92 public String getTransformationToEntityMethodName(); 93 94 /** 95 * The name of the class that performs the value object to entity transformation. 96 * @return String 97 */ 98 public String getValueObjectToEntityTransformerName(); 99 100 /** 101 * Indicates if this dependency is part of a circular reference (meaning that both entities 102 * reference each other). 103 * @return boolean 104 */ 105 public boolean isCircularReference(); 106 }