org.eclipse.gmt.umlx.ecore2
Interface E2Association

All Superinterfaces:
E2Link, E2TransientLink, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
E2AssociationImpl

public interface E2Association
extends E2TransientLink

A representation of the model object 'EAssociation'.

The following features are supported:

See Also:
Ecore2Package.getE2Association()

Method Summary
 E2DirectedAssociation basicGetForward()
           
 E2DirectedAssociation basicGetReverse()
           
 E2Direction getDirection()
          Returns the value of the 'Direction' attribute.
 E2DirectedAssociation getForward()
          Returns the value of the 'Forward' containment reference.
 E2DirectedAssociation getFrom(org.eclipse.emf.ecore.EReference source)
           
 E2DirectedAssociation getReverse()
          Returns the value of the 'Reverse' containment reference.
 org.eclipse.emf.ecore.EReference getSource()
          Returns the value of the 'Source' reference.
 org.eclipse.emf.ecore.EClass getSourceClass()
           
 org.eclipse.emf.ecore.EReference getSourceReference()
           
 org.eclipse.emf.ecore.EReference getTarget()
          Returns the value of the 'Target' reference.
 org.eclipse.emf.ecore.EClass getTargetClass()
           
 org.eclipse.emf.ecore.EReference getTargetReference()
           
 org.eclipse.emf.ecore.EClass getThatClass(org.eclipse.emf.ecore.EClass thisClass)
           
 org.eclipse.emf.ecore.EReference getThatReference(org.eclipse.emf.ecore.EReference thisReference)
           
 org.eclipse.emf.ecore.EClass getThisClass(org.eclipse.emf.ecore.EClass thisClass)
           
 org.eclipse.emf.ecore.EReference getThisReference(org.eclipse.emf.ecore.EReference thisReference)
           
 E2DirectedAssociation getTo(org.eclipse.emf.ecore.EReference target)
           
 void initialise(org.eclipse.emf.ecore.EReference source, org.eclipse.emf.ecore.EReference target)
           
 boolean isInModel()
           
 void setDirection(E2Direction value)
          Sets the value of the 'Direction' attribute.
 void setForward(E2DirectedAssociation value)
          Sets the value of the 'Forward' containment reference.
 void setReverse(E2DirectedAssociation value)
          Sets the value of the 'Reverse' containment reference.
 void setSource(org.eclipse.emf.ecore.EReference value)
          Sets the value of the 'Source' reference.
 void setTarget(org.eclipse.emf.ecore.EReference value)
          Sets the value of the 'Target' reference.
 
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
 

Method Detail

getDirection

E2Direction getDirection()
Returns the value of the 'Direction' attribute. The default value is "NO_WAY". The literals are from the enumeration E2Direction.

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

Returns:
the value of the 'Direction' attribute.
See Also:
E2Direction, setDirection(E2Direction), Ecore2Package.getE2Association_Direction()

setDirection

void setDirection(E2Direction value)
Sets the value of the 'Direction' attribute.

Parameters:
value - the new value of the 'Direction' attribute.
See Also:
E2Direction, getDirection()

getForward

E2DirectedAssociation getForward()
Returns the value of the 'Forward' containment reference.

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

Returns:
the value of the 'Forward' containment reference.
See Also:
setForward(E2DirectedAssociation), Ecore2Package.getE2Association_Forward()

setForward

void setForward(E2DirectedAssociation value)
Sets the value of the 'Forward' containment reference.

Parameters:
value - the new value of the 'Forward' containment reference.
See Also:
getForward()

getReverse

E2DirectedAssociation getReverse()
Returns the value of the 'Reverse' containment reference.

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

Returns:
the value of the 'Reverse' containment reference.
See Also:
setReverse(E2DirectedAssociation), Ecore2Package.getE2Association_Reverse()

setReverse

void setReverse(E2DirectedAssociation value)
Sets the value of the 'Reverse' containment reference.

Parameters:
value - the new value of the 'Reverse' containment reference.
See Also:
getReverse()

getSource

org.eclipse.emf.ecore.EReference getSource()
Returns the value of the 'Source' reference.

Specified by:
getSource in interface E2Link
Returns:
the value of the 'Source' reference.
See Also:
setSource(EReference), Ecore2Package.getE2Association_Source()

setSource

void setSource(org.eclipse.emf.ecore.EReference value)
Sets the value of the 'Source' reference.

Parameters:
value - the new value of the 'Source' reference.
See Also:
getSource()

getTarget

org.eclipse.emf.ecore.EReference getTarget()
Returns the value of the 'Target' reference.

Specified by:
getTarget in interface E2Link
Returns:
the value of the 'Target' reference.
See Also:
setTarget(EReference), Ecore2Package.getE2Association_Target()

setTarget

void setTarget(org.eclipse.emf.ecore.EReference value)
Sets the value of the 'Target' reference.

Parameters:
value - the new value of the 'Target' reference.
See Also:
getTarget()

initialise

void initialise(org.eclipse.emf.ecore.EReference source,
                org.eclipse.emf.ecore.EReference target)


getSourceClass

org.eclipse.emf.ecore.EClass getSourceClass()


getSourceReference

org.eclipse.emf.ecore.EReference getSourceReference()


getTargetClass

org.eclipse.emf.ecore.EClass getTargetClass()


getTargetReference

org.eclipse.emf.ecore.EReference getTargetReference()


basicGetForward

E2DirectedAssociation basicGetForward()


basicGetReverse

E2DirectedAssociation basicGetReverse()


getFrom

E2DirectedAssociation getFrom(org.eclipse.emf.ecore.EReference source)


isInModel

boolean isInModel()


getThatClass

org.eclipse.emf.ecore.EClass getThatClass(org.eclipse.emf.ecore.EClass thisClass)


getThisClass

org.eclipse.emf.ecore.EClass getThisClass(org.eclipse.emf.ecore.EClass thisClass)


getThatReference

org.eclipse.emf.ecore.EReference getThatReference(org.eclipse.emf.ecore.EReference thisReference)


getThisReference

org.eclipse.emf.ecore.EReference getThisReference(org.eclipse.emf.ecore.EReference thisReference)


getTo

E2DirectedAssociation getTo(org.eclipse.emf.ecore.EReference target)