org.eclipse.gmt.umlx.ucore
Interface URelationship

All Superinterfaces:
org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, UConstraint
All Known Subinterfaces:
UAttributeVariable2UExpressionVariable, UClassVariable2UAttributeVariable, UClassVariable2UClassVariable
All Known Implementing Classes:
UAttributeVariable2UExpressionVariableImpl, UClassVariable2UAttributeVariableImpl, UClassVariable2UClassVariableImpl, URelationshipImpl

public interface URelationship
extends UConstraint

A representation of the model object 'U2 Relationship'.

The following features are supported:

See Also:
UcorePackage.getURelationship()

Method Summary
 int getLowerSourceBound()
          Returns the value of the 'Lower Source Bound' attribute.
 UVariable getSource()
           
 UVariable getTarget()
           
 int getUpperSourceBound()
          Returns the value of the 'Upper Source Bound' attribute.
 E2Link getUsedElement()
           
 void setLowerSourceBound(int value)
          Sets the value of the 'Lower Source Bound' attribute.
 void setUpperSourceBound(int value)
          Sets the value of the 'Upper Source Bound' attribute.
 
Methods inherited from interface org.eclipse.gmt.umlx.ucore.UConstraint
getURelation, setURelation
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
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

getLowerSourceBound

int getLowerSourceBound()
Returns the value of the 'Lower Source Bound' attribute. The default value is "1".

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

Returns:
the value of the 'Lower Source Bound' attribute.
See Also:
setLowerSourceBound(int), UcorePackage.getURelationship_LowerSourceBound()

setLowerSourceBound

void setLowerSourceBound(int value)
Sets the value of the 'Lower Source Bound' attribute.

Parameters:
value - the new value of the 'Lower Source Bound' attribute.
See Also:
getLowerSourceBound()

getUpperSourceBound

int getUpperSourceBound()
Returns the value of the 'Upper Source Bound' attribute. The default value is "1".

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

Returns:
the value of the 'Upper Source Bound' attribute.
See Also:
setUpperSourceBound(int), UcorePackage.getURelationship_UpperSourceBound()

setUpperSourceBound

void setUpperSourceBound(int value)
Sets the value of the 'Upper Source Bound' attribute.

Parameters:
value - the new value of the 'Upper Source Bound' attribute.
See Also:
getUpperSourceBound()

getSource

UVariable getSource()


getTarget

UVariable getTarget()


getUsedElement

E2Link getUsedElement()