Package org.eclipse.gmt.modisco.java
Interface Assignment
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,Expression,org.eclipse.emf.ecore.InternalEObject,Iterable<fr.inria.atlanmod.neoemf.core.PersistentEObject>,org.eclipse.emf.common.notify.Notifier,fr.inria.atlanmod.neoemf.core.PersistentEObject,fr.inria.atlanmod.neoemf.data.store.Storable
- All Known Implementing Classes:
AssignmentImpl
public interface Assignment extends Expression
A representation of the model object 'Assignment'.
The following features are supported:
- See Also:
JavaPackage.getAssignment()
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Method Summary
Modifier and Type Method Description ExpressiongetLeftHandSide()Returns the value of the 'Left Hand Side' containment reference.AssignmentKindgetOperator()Returns the value of the 'Operator' attribute.ExpressiongetRightHandSide()Returns the value of the 'Right Hand Side' containment reference.voidsetLeftHandSide(Expression value)Sets the value of the 'Left Hand Side' containment reference.voidsetOperator(AssignmentKind value)Sets the value of the 'Operator' attribute.voidsetRightHandSide(Expression value)Sets the value of the 'Right Hand Side' containment reference.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSet, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegmentMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface fr.inria.atlanmod.neoemf.core.PersistentEObject
eInternalContainer, id, id, iterator, resource, resourceMethods inherited from interface fr.inria.atlanmod.neoemf.data.store.Storable
eStore
-
Method Details
-
getLeftHandSide
Expression getLeftHandSide()Returns the value of the 'Left Hand Side' containment reference.- Returns:
- the value of the 'Left Hand Side' containment reference.
- See Also:
setLeftHandSide(Expression),JavaPackage.getAssignment_LeftHandSide()
-
setLeftHandSide
Sets the value of the 'Left Hand Side' containment reference.- Parameters:
value- the new value of the 'Left Hand Side' containment reference.- See Also:
getLeftHandSide()
-
getOperator
AssignmentKind getOperator()Returns the value of the 'Operator' attribute. The literals are from the enumerationAssignmentKind.- Returns:
- the value of the 'Operator' attribute.
- See Also:
AssignmentKind,setOperator(AssignmentKind),JavaPackage.getAssignment_Operator()
-
setOperator
Sets the value of the 'Operator' attribute.- Parameters:
value- the new value of the 'Operator' attribute.- See Also:
AssignmentKind,getOperator()
-
getRightHandSide
Expression getRightHandSide()Returns the value of the 'Right Hand Side' containment reference.- Returns:
- the value of the 'Right Hand Side' containment reference.
- See Also:
setRightHandSide(Expression),JavaPackage.getAssignment_RightHandSide()
-
setRightHandSide
Sets the value of the 'Right Hand Side' containment reference.- Parameters:
value- the new value of the 'Right Hand Side' containment reference.- See Also:
getRightHandSide()
-