aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/Expense.java
blob: 00f5271e587274678abe6343b5028ad48b229491 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
/**
 */
package TaxationWithRoot;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Expense</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * </p>
 * <ul>
 *   <li>{@link TaxationWithRoot.Expense#getDeclared_amount <em>Declared amount</em>}</li>
 *   <li>{@link TaxationWithRoot.Expense#getExpense_purpose <em>Expense purpose</em>}</li>
 *   <li>{@link TaxationWithRoot.Expense#getDependent <em>Dependent</em>}</li>
 *   <li>{@link TaxationWithRoot.Expense#getFrom_agent <em>From agent</em>}</li>
 *   <li>{@link TaxationWithRoot.Expense#getIncome <em>Income</em>}</li>
 *   <li>{@link TaxationWithRoot.Expense#getId4 <em>Id4</em>}</li>
 *   <li>{@link TaxationWithRoot.Expense#getBeneficiary <em>Beneficiary</em>}</li>
 * </ul>
 *
 * @see TaxationWithRoot.TaxationWithRootPackage#getExpense()
 * @model
 * @generated
 */
public interface Expense extends EObject {
	/**
	 * Returns the value of the '<em><b>Declared amount</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Declared amount</em>' attribute.
	 * @see #setDeclared_amount(double)
	 * @see TaxationWithRoot.TaxationWithRootPackage#getExpense_Declared_amount()
	 * @model required="true"
	 * @generated
	 */
	double getDeclared_amount();

	/**
	 * Sets the value of the '{@link TaxationWithRoot.Expense#getDeclared_amount <em>Declared amount</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Declared amount</em>' attribute.
	 * @see #getDeclared_amount()
	 * @generated
	 */
	void setDeclared_amount(double value);

	/**
	 * Returns the value of the '<em><b>Expense purpose</b></em>' attribute.
	 * The default value is <code>"OTHER"</code>.
	 * The literals are from the enumeration {@link TaxationWithRoot.Expense_Purpose}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Expense purpose</em>' attribute.
	 * @see TaxationWithRoot.Expense_Purpose
	 * @see #setExpense_purpose(Expense_Purpose)
	 * @see TaxationWithRoot.TaxationWithRootPackage#getExpense_Expense_purpose()
	 * @model default="OTHER" required="true"
	 * @generated
	 */
	Expense_Purpose getExpense_purpose();

	/**
	 * Sets the value of the '{@link TaxationWithRoot.Expense#getExpense_purpose <em>Expense purpose</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Expense purpose</em>' attribute.
	 * @see TaxationWithRoot.Expense_Purpose
	 * @see #getExpense_purpose()
	 * @generated
	 */
	void setExpense_purpose(Expense_Purpose value);

	/**
	 * Returns the value of the '<em><b>Dependent</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link TaxationWithRoot.Dependent#getExpense <em>Expense</em>}'.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Dependent</em>' reference.
	 * @see #setDependent(Dependent)
	 * @see TaxationWithRoot.TaxationWithRootPackage#getExpense_Dependent()
	 * @see TaxationWithRoot.Dependent#getExpense
	 * @model opposite="expense"
	 * @generated
	 */
	Dependent getDependent();

	/**
	 * Sets the value of the '{@link TaxationWithRoot.Expense#getDependent <em>Dependent</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Dependent</em>' reference.
	 * @see #getDependent()
	 * @generated
	 */
	void setDependent(Dependent value);

	/**
	 * Returns the value of the '<em><b>From agent</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link TaxationWithRoot.FromAgent#getExpense <em>Expense</em>}'.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>From agent</em>' reference.
	 * @see #setFrom_agent(FromAgent)
	 * @see TaxationWithRoot.TaxationWithRootPackage#getExpense_From_agent()
	 * @see TaxationWithRoot.FromAgent#getExpense
	 * @model opposite="expense" ordered="false"
	 * @generated
	 */
	FromAgent getFrom_agent();

	/**
	 * Sets the value of the '{@link TaxationWithRoot.Expense#getFrom_agent <em>From agent</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>From agent</em>' reference.
	 * @see #getFrom_agent()
	 * @generated
	 */
	void setFrom_agent(FromAgent value);

	/**
	 * Returns the value of the '<em><b>Income</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link TaxationWithRoot.Income#getExpenses <em>Expenses</em>}'.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Income</em>' container reference.
	 * @see #setIncome(Income)
	 * @see TaxationWithRoot.TaxationWithRootPackage#getExpense_Income()
	 * @see TaxationWithRoot.Income#getExpenses
	 * @model opposite="expenses" required="true" transient="false"
	 * @generated
	 */
	Income getIncome();

	/**
	 * Sets the value of the '{@link TaxationWithRoot.Expense#getIncome <em>Income</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Income</em>' container reference.
	 * @see #getIncome()
	 * @generated
	 */
	void setIncome(Income value);

	/**
	 * Returns the value of the '<em><b>Id4</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Id4</em>' attribute.
	 * @see #setId4(String)
	 * @see TaxationWithRoot.TaxationWithRootPackage#getExpense_Id4()
	 * @model id="true" required="true" ordered="false"
	 * @generated
	 */
	String getId4();

	/**
	 * Sets the value of the '{@link TaxationWithRoot.Expense#getId4 <em>Id4</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Id4</em>' attribute.
	 * @see #getId4()
	 * @generated
	 */
	void setId4(String value);

	/**
	 * Returns the value of the '<em><b>Beneficiary</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link TaxationWithRoot.Physical_Person#getExpenses <em>Expenses</em>}'.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Beneficiary</em>' reference.
	 * @see #setBeneficiary(Physical_Person)
	 * @see TaxationWithRoot.TaxationWithRootPackage#getExpense_Beneficiary()
	 * @see TaxationWithRoot.Physical_Person#getExpenses
	 * @model opposite="expenses" ordered="false"
	 * @generated
	 */
	Physical_Person getBeneficiary();

	/**
	 * Sets the value of the '{@link TaxationWithRoot.Expense#getBeneficiary <em>Beneficiary</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Beneficiary</em>' reference.
	 * @see #getBeneficiary()
	 * @generated
	 */
	void setBeneficiary(Physical_Person value);

} // Expense