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/PreviousModifier.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/PreviousModifier.java')
-rw-r--r-- | rba.model.core/src/rba/core/PreviousModifier.java | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/rba.model.core/src/rba/core/PreviousModifier.java b/rba.model.core/src/rba/core/PreviousModifier.java new file mode 100644 index 0000000..d84d2c6 --- /dev/null +++ b/rba.model.core/src/rba/core/PreviousModifier.java @@ -0,0 +1,88 @@ +/** + */ +package rba.core; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Previous Modifier</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link rba.core.PreviousModifier#getObjReference <em>Obj Reference</em>}</li> + * </ul> + * + * @see rba.core.RBACorePackage#getPreviousModifier() + * @model + * @generated + */ +public interface PreviousModifier extends Expression { + /** + * Returns the value of the '<em><b>Obj Reference</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Obj Reference</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Obj Reference</em>' containment reference. + * @see #setObjReference(ObjectReference) + * @see rba.core.RBACorePackage#getPreviousModifier_ObjReference() + * @model containment="true" + * @generated + */ + ObjectReference getObjReference(); + + /** + * Sets the value of the '{@link rba.core.PreviousModifier#getObjReference <em>Obj Reference</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Obj Reference</em>' containment reference. + * @see #getObjReference() + * @generated + */ + void setObjReference(ObjectReference value); + + /** + * <!-- 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 \"(pre)\";'" + * @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='ObjectReference objReference = getObjReference();\r\nif (objReference != null) {\r\n return objReference.getUnderlyingType();\r\n} else {\r\n return ExpressionType.VALUE;\r\n}'" + * @generated + */ + ExpressionType getUnderlyingType(); + + /** + * <!-- 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\nif (getObjReference() != null && getObjReference().getRefObject() != null) {\r\n ObjectReference reference = getObjReference();\r\n expressionText.append(getSymbol());\r\n expressionText.append(reference.getExpressionText());\r\n} else {\r\n expressionText.append(\"[Invalid_Expression]\");\r\n}\r\nreturn expressionText.toString();'" + * @generated + */ + String getExpressionText(); + +} // PreviousModifier |