org.eclipse.ocl.examples.pivot
Interface Precedence

All Superinterfaces:
DomainElement, DomainNamedElement, Element, org.eclipse.emf.ecore.EObject, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, PivotObject, Visitable
All Known Implementing Classes:
PrecedenceImpl

public interface Precedence
extends NamedElement

A representation of the model object 'Precedence'.

The following features are supported:

See Also:
PivotPackage.getPrecedence()
Generated

Method Summary
 AssociativityKind getAssociativity()
          Returns the value of the 'Associativity' attribute.
 java.lang.Number getOrder()
          Returns the value of the 'Order' attribute.
 void setAssociativity(AssociativityKind value)
          Sets the value of the 'Associativity' attribute.
 void setOrder(java.lang.Number value)
          Sets the value of the 'Order' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, createExtension, createOwnedComment, getETarget, getExtension, getOwnedComment, getValue
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 

Method Detail

getAssociativity

AssociativityKind getAssociativity()
Returns the value of the 'Associativity' attribute. The default value is "Left". The literals are from the enumeration AssociativityKind.

If the meaning of the 'Associativity' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Associativity' attribute.
See Also:
AssociativityKind, setAssociativity(AssociativityKind), PivotPackage.getPrecedence_Associativity()
Generated

setAssociativity

void setAssociativity(AssociativityKind value)
Sets the value of the 'Associativity' attribute.

Parameters:
value - the new value of the 'Associativity' attribute.
See Also:
AssociativityKind, getAssociativity()
Generated

getOrder

java.lang.Number getOrder()
Returns the value of the 'Order' attribute. The default value is "0".

If the meaning of the 'Order' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Order' attribute.
See Also:
setOrder(Number), PivotPackage.getPrecedence_Order()
Generated

setOrder

void setOrder(java.lang.Number value)
Sets the value of the 'Order' attribute.

Parameters:
value - the new value of the 'Order' attribute.
See Also:
getOrder()
Generated