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/ComplexExpression.java | 87 ++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 rba.model.core/src/rba/core/ComplexExpression.java (limited to 'rba.model.core/src/rba/core/ComplexExpression.java') diff --git a/rba.model.core/src/rba/core/ComplexExpression.java b/rba.model.core/src/rba/core/ComplexExpression.java new file mode 100644 index 0000000..77478ba --- /dev/null +++ b/rba.model.core/src/rba/core/ComplexExpression.java @@ -0,0 +1,87 @@ +/** + */ +package rba.core; + +/** + * + * A representation of the model object 'Complex Expression'. + * + * + * + * + * + * + *

+ * The following features are supported: + *

+ * + * + * @see rba.core.RBACorePackage#getComplexExpression() + * @model + * @generated + */ +public interface ComplexExpression extends Expression, SugarExpressionBase { + /** + * Returns the value of the 'Other Expression' containment reference. + * + * + * + * + * + * @return the value of the 'Other Expression' containment reference. + * @see #setOtherExpression(Expression) + * @see rba.core.RBACorePackage#getComplexExpression_OtherExpression() + * @model containment="true" required="true" + * @generated + */ + Expression getOtherExpression(); + + /** + * Sets the value of the '{@link rba.core.ComplexExpression#getOtherExpression Other Expression}' containment reference. + * + * + * @param value the new value of the 'Other Expression' containment reference. + * @see #getOtherExpression() + * @generated + */ + void setOtherExpression(Expression value); + + /** + * + * + * + * @Override + * + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return otherExpression != null ? otherExpression.getExpressionText() : \"[Invalid_Expression]\";'" + * @generated + */ + String getExpressionText(); + + /** + * + * + * + * @Override + * + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='if (otherExpression != null) {\r\n return otherExpression.getType();\r\n} else {\r\n return ExpressionType.VALUE;\r\n}'" + * @generated + */ + ExpressionType getUnderlyingType(); + + /** + * + * + * + * @Override + * + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return getUnderlyingType();'" + * @generated + */ + ExpressionType getType(); + +} // ComplexExpression -- cgit 1.2.3-korg