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