/** */ package rba.core; /** * * A representation of the model object 'Previous Modifier'. * * * * * * *

* The following features are supported: *

* * * @see rba.core.RBACorePackage#getPreviousModifier() * @model * @generated */ public interface PreviousModifier extends Expression { /** * Returns the value of the 'Obj Reference' containment reference. * *

* If the meaning of the 'Obj Reference' containment reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Obj Reference' 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 Obj Reference}' containment reference. * * * @param value the new value of the 'Obj Reference' containment reference. * @see #getObjReference() * @generated */ void setObjReference(ObjectReference value); /** * * * * @Override * * @model kind="operation" * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \"(pre)\";'" * @generated */ String getSymbol(); /** * * * * @Override * * @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(); /** * * * * @Override * * @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