org.eclipse.uml2
Interface GeneralOrdering

All Superinterfaces:
Element, EModelElement, EObject, NamedElement, Notifier, TemplateableElement

public interface GeneralOrdering
extends NamedElement

A representation of the model object 'General Ordering'. A GeneralOrdering represents a binary relation between two Eventoccurrences, to describe that one Eventoccurrence must occur before the other in a valid trace. This mechanism provides the ability to define partial orders of EventOccurrences that may otherwise not have a specified order. A GeneralOrdering is a specialization of NamedElement. A GeneralOrdering may appear anywhere in an Interaction, but only between Eventoccurrences.

The following features are supported:

See Also:
UML2Package.getGeneralOrdering()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 EventOccurrence getAfter()
          Returns the value of the 'After' reference.
 EventOccurrence getBefore()
          Returns the value of the 'Before' reference.
 void setAfter(EventOccurrence value)
          Sets the value of the 'After' reference
 void setBefore(EventOccurrence value)
          Sets the value of the 'Before' reference
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwnedElements, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getBefore

public EventOccurrence getBefore()
Returns the value of the 'Before' reference. It is bidirectional and its opposite is 'To After'.

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

The Eventoccurrence referred comes before the Eventoccurrence referred by after

Returns:
the value of the 'Before' reference.
See Also:
setBefore(EventOccurrence), UML2Package.getGeneralOrdering_Before(), EventOccurrence.getToAfters()

setBefore

public void setBefore(EventOccurrence value)
Sets the value of the 'Before' reference.

Parameters:
value - the new value of the 'Before' reference.
See Also:
getBefore()

getAfter

public EventOccurrence getAfter()
Returns the value of the 'After' reference. It is bidirectional and its opposite is 'To Before'.

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

The Eventoccurrence referred comes after the Eventoccurrence referred by before

Returns:
the value of the 'After' reference.
See Also:
setAfter(EventOccurrence), UML2Package.getGeneralOrdering_After(), EventOccurrence.getToBefores()

setAfter

public void setAfter(EventOccurrence value)
Sets the value of the 'After' reference.

Parameters:
value - the new value of the 'After' reference.
See Also:
getAfter()

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.