org.eclipse.ocl.examples.pivot
Interface Precedence

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, MonikeredElement, 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
Model

Method Summary
 AssociativityKind getAssociativity()
          Returns the value of the 'Associativity' attribute.
 java.math.BigInteger getOrder()
          Returns the value of the 'Order' attribute.
 void setAssociativity(AssociativityKind value)
          Sets the value of the 'Associativity' attribute.
 void setOrder(java.math.BigInteger value)
          Sets the value of the 'Order' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement
getMoniker, hasMoniker, setMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
createOwnedComment, getETarget, getOwnedComments
 
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
Model
default="Left" ordered="false"

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.math.BigInteger getOrder()
Returns the value of the 'Order' attribute.

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(BigInteger), PivotPackage.getPrecedence_Order()
Generated
Model
dataType="org.eclipse.ocl.examples.pivot.Integer" required="true" volatile="true" derived="true" ordered="false"

setOrder

void setOrder(java.math.BigInteger value)
Sets the value of the 'Order' attribute.

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