summaryrefslogtreecommitdiffstats
path: root/rba.model.core/src/rba/core/Expression.java
diff options
context:
space:
mode:
Diffstat (limited to 'rba.model.core/src/rba/core/Expression.java')
-rw-r--r--rba.model.core/src/rba/core/Expression.java149
1 files changed, 149 insertions, 0 deletions
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;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Expression</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link rba.core.Expression#getType <em>Type</em>}</li>
+ * <li>{@link rba.core.Expression#getExpression <em>Expression</em>}</li>
+ * <li>{@link rba.core.Expression#getLetStatements <em>Let Statements</em>}</li>
+ * </ul>
+ *
+ * @see rba.core.RBACorePackage#getExpression()
+ * @model abstract="true"
+ * @generated
+ */
+public interface Expression extends EObject {
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * The literals are from the enumeration {@link rba.core.ExpressionType}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Type</em>' 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 <em>Type</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Type</em>' attribute is set.
+ * @see #getType()
+ * @generated
+ */
+ boolean isSetType();
+
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Expression</em>' 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 <em>Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression</em>' attribute.
+ * @see #isSetExpression()
+ * @see #unsetExpression()
+ * @see #getExpression()
+ * @generated
+ */
+ void setExpression(String value);
+
+ /**
+ * Unsets the value of the '{@link rba.core.Expression#getExpression <em>Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetExpression()
+ * @see #getExpression()
+ * @see #setExpression(String)
+ * @generated
+ */
+ void unsetExpression();
+
+ /**
+ * Returns whether the value of the '{@link rba.core.Expression#getExpression <em>Expression</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Expression</em>' attribute is set.
+ * @see #unsetExpression()
+ * @see #getExpression()
+ * @see #setExpression(String)
+ * @generated
+ */
+ boolean isSetExpression();
+
+ /**
+ * Returns the value of the '<em><b>Let Statements</b></em>' containment reference list.
+ * The list contents are of type {@link rba.core.LetStatement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Let Statements</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Let Statements</em>' containment reference list.
+ * @see rba.core.RBACorePackage#getExpression_LetStatements()
+ * @model containment="true"
+ * @generated
+ */
+ EList<LetStatement> getLetStatements();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * <!-- end-model-doc -->
+ * @model kind="operation"
+ * @generated
+ */
+ ExpressionType getUnderlyingType();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * <!-- end-model-doc -->
+ * @model kind="operation"
+ * @generated
+ */
+ String getExpressionText();
+
+} // Expression