diff options
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Expense.java')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Expense.java | 196 |
1 files changed, 196 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Expense.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Expense.java new file mode 100644 index 00000000..5c2847db --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Expense.java | |||
@@ -0,0 +1,196 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Expense</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link TaxationWithRoot.Expense#getDeclared_amount <em>Declared amount</em>}</li> | ||
17 | * <li>{@link TaxationWithRoot.Expense#getExpense_purpose <em>Expense purpose</em>}</li> | ||
18 | * <li>{@link TaxationWithRoot.Expense#getDependent <em>Dependent</em>}</li> | ||
19 | * <li>{@link TaxationWithRoot.Expense#getFrom_agent <em>From agent</em>}</li> | ||
20 | * <li>{@link TaxationWithRoot.Expense#getIncome <em>Income</em>}</li> | ||
21 | * <li>{@link TaxationWithRoot.Expense#getId4 <em>Id4</em>}</li> | ||
22 | * <li>{@link TaxationWithRoot.Expense#getBeneficiary <em>Beneficiary</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @see TaxationWithRoot.TaxationPackage#getExpense() | ||
26 | * @model | ||
27 | * @generated | ||
28 | */ | ||
29 | public interface Expense extends EObject { | ||
30 | /** | ||
31 | * Returns the value of the '<em><b>Declared amount</b></em>' attribute. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Declared amount</em>' attribute. | ||
35 | * @see #setDeclared_amount(double) | ||
36 | * @see TaxationWithRoot.TaxationPackage#getExpense_Declared_amount() | ||
37 | * @model required="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | double getDeclared_amount(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link TaxationWithRoot.Expense#getDeclared_amount <em>Declared amount</em>}' attribute. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Declared amount</em>' attribute. | ||
47 | * @see #getDeclared_amount() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setDeclared_amount(double value); | ||
51 | |||
52 | /** | ||
53 | * Returns the value of the '<em><b>Expense purpose</b></em>' attribute. | ||
54 | * The default value is <code>"OTHER"</code>. | ||
55 | * The literals are from the enumeration {@link TaxationWithRoot.Expense_Purpose}. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>Expense purpose</em>' attribute. | ||
59 | * @see TaxationWithRoot.Expense_Purpose | ||
60 | * @see #setExpense_purpose(Expense_Purpose) | ||
61 | * @see TaxationWithRoot.TaxationPackage#getExpense_Expense_purpose() | ||
62 | * @model default="OTHER" required="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | Expense_Purpose getExpense_purpose(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link TaxationWithRoot.Expense#getExpense_purpose <em>Expense purpose</em>}' attribute. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Expense purpose</em>' attribute. | ||
72 | * @see TaxationWithRoot.Expense_Purpose | ||
73 | * @see #getExpense_purpose() | ||
74 | * @generated | ||
75 | */ | ||
76 | void setExpense_purpose(Expense_Purpose value); | ||
77 | |||
78 | /** | ||
79 | * Returns the value of the '<em><b>Dependent</b></em>' reference. | ||
80 | * It is bidirectional and its opposite is '{@link TaxationWithRoot.Dependent#getExpense <em>Expense</em>}'. | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @return the value of the '<em>Dependent</em>' reference. | ||
84 | * @see #setDependent(Dependent) | ||
85 | * @see TaxationWithRoot.TaxationPackage#getExpense_Dependent() | ||
86 | * @see TaxationWithRoot.Dependent#getExpense | ||
87 | * @model opposite="expense" | ||
88 | * @generated | ||
89 | */ | ||
90 | Dependent getDependent(); | ||
91 | |||
92 | /** | ||
93 | * Sets the value of the '{@link TaxationWithRoot.Expense#getDependent <em>Dependent</em>}' reference. | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @param value the new value of the '<em>Dependent</em>' reference. | ||
97 | * @see #getDependent() | ||
98 | * @generated | ||
99 | */ | ||
100 | void setDependent(Dependent value); | ||
101 | |||
102 | /** | ||
103 | * Returns the value of the '<em><b>From agent</b></em>' reference. | ||
104 | * It is bidirectional and its opposite is '{@link TaxationWithRoot.FromAgent#getExpense <em>Expense</em>}'. | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @return the value of the '<em>From agent</em>' reference. | ||
108 | * @see #setFrom_agent(FromAgent) | ||
109 | * @see TaxationWithRoot.TaxationPackage#getExpense_From_agent() | ||
110 | * @see TaxationWithRoot.FromAgent#getExpense | ||
111 | * @model opposite="expense" ordered="false" | ||
112 | * @generated | ||
113 | */ | ||
114 | FromAgent getFrom_agent(); | ||
115 | |||
116 | /** | ||
117 | * Sets the value of the '{@link TaxationWithRoot.Expense#getFrom_agent <em>From agent</em>}' reference. | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @param value the new value of the '<em>From agent</em>' reference. | ||
121 | * @see #getFrom_agent() | ||
122 | * @generated | ||
123 | */ | ||
124 | void setFrom_agent(FromAgent value); | ||
125 | |||
126 | /** | ||
127 | * Returns the value of the '<em><b>Income</b></em>' container reference. | ||
128 | * It is bidirectional and its opposite is '{@link TaxationWithRoot.Income#getExpenses <em>Expenses</em>}'. | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @return the value of the '<em>Income</em>' container reference. | ||
132 | * @see #setIncome(Income) | ||
133 | * @see TaxationWithRoot.TaxationPackage#getExpense_Income() | ||
134 | * @see TaxationWithRoot.Income#getExpenses | ||
135 | * @model opposite="expenses" required="true" transient="false" | ||
136 | * @generated | ||
137 | */ | ||
138 | Income getIncome(); | ||
139 | |||
140 | /** | ||
141 | * Sets the value of the '{@link TaxationWithRoot.Expense#getIncome <em>Income</em>}' container reference. | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @param value the new value of the '<em>Income</em>' container reference. | ||
145 | * @see #getIncome() | ||
146 | * @generated | ||
147 | */ | ||
148 | void setIncome(Income value); | ||
149 | |||
150 | /** | ||
151 | * Returns the value of the '<em><b>Id4</b></em>' attribute. | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @return the value of the '<em>Id4</em>' attribute. | ||
155 | * @see #setId4(String) | ||
156 | * @see TaxationWithRoot.TaxationPackage#getExpense_Id4() | ||
157 | * @model id="true" required="true" ordered="false" | ||
158 | * @generated | ||
159 | */ | ||
160 | String getId4(); | ||
161 | |||
162 | /** | ||
163 | * Sets the value of the '{@link TaxationWithRoot.Expense#getId4 <em>Id4</em>}' attribute. | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @param value the new value of the '<em>Id4</em>' attribute. | ||
167 | * @see #getId4() | ||
168 | * @generated | ||
169 | */ | ||
170 | void setId4(String value); | ||
171 | |||
172 | /** | ||
173 | * Returns the value of the '<em><b>Beneficiary</b></em>' reference. | ||
174 | * It is bidirectional and its opposite is '{@link TaxationWithRoot.Physical_Person#getExpenses <em>Expenses</em>}'. | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @return the value of the '<em>Beneficiary</em>' reference. | ||
178 | * @see #setBeneficiary(Physical_Person) | ||
179 | * @see TaxationWithRoot.TaxationPackage#getExpense_Beneficiary() | ||
180 | * @see TaxationWithRoot.Physical_Person#getExpenses | ||
181 | * @model opposite="expenses" ordered="false" | ||
182 | * @generated | ||
183 | */ | ||
184 | Physical_Person getBeneficiary(); | ||
185 | |||
186 | /** | ||
187 | * Sets the value of the '{@link TaxationWithRoot.Expense#getBeneficiary <em>Beneficiary</em>}' reference. | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @param value the new value of the '<em>Beneficiary</em>' reference. | ||
191 | * @see #getBeneficiary() | ||
192 | * @generated | ||
193 | */ | ||
194 | void setBeneficiary(Physical_Person value); | ||
195 | |||
196 | } // Expense | ||