diff options
Diffstat (limited to 'plugins/uml/alf/org.eclipse.papyrus.uml.alf/syntax-gen/org/eclipse/papyrus/uml/alf/UnaryExpression.java')
-rw-r--r-- | plugins/uml/alf/org.eclipse.papyrus.uml.alf/syntax-gen/org/eclipse/papyrus/uml/alf/UnaryExpression.java | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/plugins/uml/alf/org.eclipse.papyrus.uml.alf/syntax-gen/org/eclipse/papyrus/uml/alf/UnaryExpression.java b/plugins/uml/alf/org.eclipse.papyrus.uml.alf/syntax-gen/org/eclipse/papyrus/uml/alf/UnaryExpression.java new file mode 100644 index 00000000000..c1934d42cc5 --- /dev/null +++ b/plugins/uml/alf/org.eclipse.papyrus.uml.alf/syntax-gen/org/eclipse/papyrus/uml/alf/UnaryExpression.java @@ -0,0 +1,115 @@ +/** + */ +package org.eclipse.papyrus.uml.alf; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Unary Expression</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * An expression consisting of an operator acting on a single operand expression. + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.uml.alf.UnaryExpression#getOperator <em>Operator</em>}</li> + * <li>{@link org.eclipse.papyrus.uml.alf.UnaryExpression#getOperand <em>Operand</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.uml.alf.AlfPackage#getUnaryExpression() + * @model abstract="true" + * @generated + */ +public interface UnaryExpression extends Expression { + /** + * Returns the value of the '<em><b>Operator</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The symbol representing the operator. + * <!-- end-model-doc --> + * + * @return the value of the '<em>Operator</em>' attribute. + * @see #setOperator(String) + * @see org.eclipse.papyrus.uml.alf.AlfPackage#getUnaryExpression_Operator() + * @model required="true" + * @generated + */ + String getOperator(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.uml.alf.UnaryExpression#getOperator <em>Operator</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Operator</em>' attribute. + * @see #getOperator() + * @generated + */ + void setOperator(String value); + + /** + * Returns the value of the '<em><b>Operand</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The expression giving the operand. + * <!-- end-model-doc --> + * + * @return the value of the '<em>Operand</em>' containment reference. + * @see #setOperand(Expression) + * @see org.eclipse.papyrus.uml.alf.AlfPackage#getUnaryExpression_Operand() + * @model containment="true" required="true" + * @generated + */ + Expression getOperand(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.uml.alf.UnaryExpression#getOperand <em>Operand</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Operand</em>' containment reference. + * @see #getOperand() + * @generated + */ + void setOperand(Expression value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The assignments before the operand of a unary expression are the same as + * those before the unary expression. + * <!-- end-model-doc --> + * + * @model + * @generated + */ + boolean unaryExpressionAssignmentsBefore(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * By default, the assignments after a unary expression are the same as + * those after its operand expression. + * <!-- end-model-doc --> + * + * @model ordered="false" + * annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot body='self.operand.assignmentAfter'" + * @generated + */ + EList<AssignedSource> updateAssignments(); + +} // UnaryExpression |