/** */ package TaxationWithRoot; import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Expense'. * * *

* The following features are supported: *

* * * @see TaxationWithRoot.TaxationPackage#getExpense() * @model * @generated */ public interface Expense extends EObject { /** * Returns the value of the 'Declared amount' attribute. * * * @return the value of the 'Declared amount' attribute. * @see #setDeclared_amount(double) * @see TaxationWithRoot.TaxationPackage#getExpense_Declared_amount() * @model required="true" * @generated */ double getDeclared_amount(); /** * Sets the value of the '{@link TaxationWithRoot.Expense#getDeclared_amount Declared amount}' attribute. * * * @param value the new value of the 'Declared amount' attribute. * @see #getDeclared_amount() * @generated */ void setDeclared_amount(double value); /** * Returns the value of the 'Expense purpose' attribute. * The default value is "OTHER". * The literals are from the enumeration {@link TaxationWithRoot.Expense_Purpose}. * * * @return the value of the 'Expense purpose' attribute. * @see TaxationWithRoot.Expense_Purpose * @see #setExpense_purpose(Expense_Purpose) * @see TaxationWithRoot.TaxationPackage#getExpense_Expense_purpose() * @model default="OTHER" required="true" * @generated */ Expense_Purpose getExpense_purpose(); /** * Sets the value of the '{@link TaxationWithRoot.Expense#getExpense_purpose Expense purpose}' attribute. * * * @param value the new value of the 'Expense purpose' attribute. * @see TaxationWithRoot.Expense_Purpose * @see #getExpense_purpose() * @generated */ void setExpense_purpose(Expense_Purpose value); /** * Returns the value of the 'Dependent' reference. * It is bidirectional and its opposite is '{@link TaxationWithRoot.Dependent#getExpense Expense}'. * * * @return the value of the 'Dependent' reference. * @see #setDependent(Dependent) * @see TaxationWithRoot.TaxationPackage#getExpense_Dependent() * @see TaxationWithRoot.Dependent#getExpense * @model opposite="expense" * @generated */ Dependent getDependent(); /** * Sets the value of the '{@link TaxationWithRoot.Expense#getDependent Dependent}' reference. * * * @param value the new value of the 'Dependent' reference. * @see #getDependent() * @generated */ void setDependent(Dependent value); /** * Returns the value of the 'From agent' reference. * It is bidirectional and its opposite is '{@link TaxationWithRoot.FromAgent#getExpense Expense}'. * * * @return the value of the 'From agent' reference. * @see #setFrom_agent(FromAgent) * @see TaxationWithRoot.TaxationPackage#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 From agent}' reference. * * * @param value the new value of the 'From agent' reference. * @see #getFrom_agent() * @generated */ void setFrom_agent(FromAgent value); /** * Returns the value of the 'Income' container reference. * It is bidirectional and its opposite is '{@link TaxationWithRoot.Income#getExpenses Expenses}'. * * * @return the value of the 'Income' container reference. * @see #setIncome(Income) * @see TaxationWithRoot.TaxationPackage#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 Income}' container reference. * * * @param value the new value of the 'Income' container reference. * @see #getIncome() * @generated */ void setIncome(Income value); /** * Returns the value of the 'Id4' attribute. * * * @return the value of the 'Id4' attribute. * @see #setId4(String) * @see TaxationWithRoot.TaxationPackage#getExpense_Id4() * @model id="true" required="true" ordered="false" * @generated */ String getId4(); /** * Sets the value of the '{@link TaxationWithRoot.Expense#getId4 Id4}' attribute. * * * @param value the new value of the 'Id4' attribute. * @see #getId4() * @generated */ void setId4(String value); /** * Returns the value of the 'Beneficiary' reference. * It is bidirectional and its opposite is '{@link TaxationWithRoot.Physical_Person#getExpenses Expenses}'. * * * @return the value of the 'Beneficiary' reference. * @see #setBeneficiary(Physical_Person) * @see TaxationWithRoot.TaxationPackage#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 Beneficiary}' reference. * * * @param value the new value of the 'Beneficiary' reference. * @see #getBeneficiary() * @generated */ void setBeneficiary(Physical_Person value); } // Expense