From be4f78978faba3d3ceb88df02a7f93a2e09ff1e0 Mon Sep 17 00:00:00 2001 From: Kenji Hosokawa Date: Tue, 3 Aug 2021 18:42:39 +0900 Subject: Initial commit Bug-AGL: SPEC-4033 Signed-off-by: Kenji Hosokawa --- rba.model.core/src/rba/core/Expression.java | 149 ++++++++++++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100644 rba.model.core/src/rba/core/Expression.java (limited to 'rba.model.core/src/rba/core/Expression.java') diff --git a/rba.model.core/src/rba/core/Expression.java b/rba.model.core/src/rba/core/Expression.java new file mode 100644 index 0000000..ab0731f --- /dev/null +++ b/rba.model.core/src/rba/core/Expression.java @@ -0,0 +1,149 @@ +/** + */ +package rba.core; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Expression'. + * + * + * + * + * + * + *

+ * The following features are supported: + *

+ * + * + * @see rba.core.RBACorePackage#getExpression() + * @model abstract="true" + * @generated + */ +public interface Expression extends EObject { + /** + * Returns the value of the 'Type' attribute. + * The literals are from the enumeration {@link rba.core.ExpressionType}. + * + * + * + * + * + * @return the value of the 'Type' attribute. + * @see rba.core.ExpressionType + * @see #isSetType() + * @see rba.core.RBACorePackage#getExpression_Type() + * @model unsettable="true" changeable="false" volatile="true" derived="true" + * @generated + */ + ExpressionType getType(); + + /** + * Returns whether the value of the '{@link rba.core.Expression#getType Type}' attribute is set. + * + * + * @return whether the value of the 'Type' attribute is set. + * @see #getType() + * @generated + */ + boolean isSetType(); + + /** + * Returns the value of the 'Expression' attribute. + * + * + * + * + * + * @return the value of the 'Expression' attribute. + * @see #isSetExpression() + * @see #unsetExpression() + * @see #setExpression(String) + * @see rba.core.RBACorePackage#getExpression_Expression() + * @model unsettable="true" volatile="true" derived="true" + * @generated + */ + String getExpression(); + + /** + * Sets the value of the '{@link rba.core.Expression#getExpression Expression}' attribute. + * + * + * @param value the new value of the 'Expression' attribute. + * @see #isSetExpression() + * @see #unsetExpression() + * @see #getExpression() + * @generated + */ + void setExpression(String value); + + /** + * Unsets the value of the '{@link rba.core.Expression#getExpression Expression}' attribute. + * + * + * @see #isSetExpression() + * @see #getExpression() + * @see #setExpression(String) + * @generated + */ + void unsetExpression(); + + /** + * Returns whether the value of the '{@link rba.core.Expression#getExpression Expression}' attribute is set. + * + * + * @return whether the value of the 'Expression' attribute is set. + * @see #unsetExpression() + * @see #getExpression() + * @see #setExpression(String) + * @generated + */ + boolean isSetExpression(); + + /** + * Returns the value of the 'Let Statements' containment reference list. + * The list contents are of type {@link rba.core.LetStatement}. + * + *

+ * If the meaning of the 'Let Statements' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Let Statements' containment reference list. + * @see rba.core.RBACorePackage#getExpression_LetStatements() + * @model containment="true" + * @generated + */ + EList getLetStatements(); + + /** + * + * + * + * + * + * @model kind="operation" + * @generated + */ + ExpressionType getUnderlyingType(); + + /** + * + * + * + * + * + * @model kind="operation" + * @generated + */ + String getExpressionText(); + +} // Expression -- cgit 1.2.3-korg