diff options
author | 2021-08-03 18:42:39 +0900 | |
---|---|---|
committer | 2021-08-06 19:32:38 +0900 | |
commit | be4f78978faba3d3ceb88df02a7f93a2e09ff1e0 (patch) | |
tree | 1f3f1a96251ac4f655c8a96fc33d5d4ee779cd06 /rba.model.core/src/rba/core/SelectOperator.java | |
parent | 71ca7c6cab863767ef30c8bd05b2bbfda8731cb5 (diff) |
Initial commit
Bug-AGL: SPEC-4033
Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com>
Diffstat (limited to 'rba.model.core/src/rba/core/SelectOperator.java')
-rw-r--r-- | rba.model.core/src/rba/core/SelectOperator.java | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/rba.model.core/src/rba/core/SelectOperator.java b/rba.model.core/src/rba/core/SelectOperator.java new file mode 100644 index 0000000..59a6c40 --- /dev/null +++ b/rba.model.core/src/rba/core/SelectOperator.java @@ -0,0 +1,56 @@ +/** + */ +package rba.core; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Select Operator</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.core.RBACorePackage#getSelectOperator() + * @model + * @generated + */ +public interface SelectOperator extends LambdaContext { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='StringBuffer expressionText = new StringBuffer();\r\nEList<rba.core.Expression> expressions = getOperand();\r\nrba.core.LambdaExpression lambda = getLambda();\r\nexpressionText.append(expressions.size() > 0 ? expressions.get(0).getExpressionText() : \"[Invalid_Expression]\");\r\nexpressionText.append(getSymbol());\r\nexpressionText.append(\"{ \");\r\nexpressionText.append(lambda != null ? lambda.getExpressionText() : \"[Invalid_Expression]\");\r\nexpressionText.append(\" }\");\r\nreturn expressionText.toString();'" + * @generated + */ + String getExpressionText(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \".select\";'" + * @generated + */ + String getSymbol(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='if (!getOperand().isEmpty()) {\r\n <%rba.core.Expression%> first = getOperand().get(0);\r\n return first.getType();\r\n}\r\nreturn ExpressionType.VALUE;'" + * @generated + */ + ExpressionType getUnderlyingType(); + +} // SelectOperator |