org.eclipse.gmt.umlx.ucore.impl
Class UClassVariable2UClassVariableImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                  extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                      extended by org.eclipse.gmt.umlx.ucore.impl.UConstraintImpl
                          extended by org.eclipse.gmt.umlx.ucore.impl.URelationshipImpl
                              extended by org.eclipse.gmt.umlx.ucore.impl.UClassVariable2UClassVariableImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, UClassVariable2UClassVariable, UConstraint, URelationship

public class UClassVariable2UClassVariableImpl
extends URelationshipImpl
implements UClassVariable2UClassVariable

An implementation of the model object 'U2 Association'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 UClassVariable basicGetSource()
           
 org.eclipse.emf.ecore.EReference basicGetSourceReference()
           
 UClassVariable basicGetTarget()
           
 org.eclipse.emf.ecore.EReference basicGetTargetReference()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetSource(UClassVariable newSource, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetTarget(UClassVariable newTarget, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 int getLowerTargetBound()
           
 UClassVariable getSource()
           
 org.eclipse.emf.ecore.EReference getSourceReference()
           
 UClassVariable getTarget()
           
 org.eclipse.emf.ecore.EReference getTargetReference()
           
 int getUpperTargetBound()
           
 E2DirectedAssociation getUsedElement()
           
 boolean isOrderedSource()
           
 boolean isOrderedTarget()
           
 boolean isSetSourceReference()
           
 boolean isSetTargetReference()
           
 boolean isUniqueSource()
           
 boolean isUniqueTarget()
           
 void setLowerTargetBound(int newLowerTargetBound)
           
 void setOrderedSource(boolean newOrderedSource)
           
 void setOrderedTarget(boolean newOrderedTarget)
           
 void setSource(UClassVariable newSource)
           
 void setSourceReference(org.eclipse.emf.ecore.EReference newSourceReference)
           
 void setTarget(UClassVariable newTarget)
           
 void setTargetReference(org.eclipse.emf.ecore.EReference newTargetReference)
           
 void setUniqueSource(boolean newUniqueSource)
           
 void setUniqueTarget(boolean newUniqueTarget)
           
 void setUpperTargetBound(int newUpperTargetBound)
           
 void setUsedElement(E2DirectedAssociation newUsedElement)
           
 java.lang.String toString()
           
 void unsetSourceReference()
           
 void unsetTargetReference()
           
 
Methods inherited from class org.eclipse.gmt.umlx.ucore.impl.URelationshipImpl
getLowerSourceBound, getUpperSourceBound, setLowerSourceBound, setUpperSourceBound
 
Methods inherited from class org.eclipse.gmt.umlx.ucore.impl.UConstraintImpl
eBasicRemoveFromContainerFeature, getURelation, setURelation
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.gmt.umlx.ucore.URelationship
getLowerSourceBound, getUpperSourceBound, setLowerSourceBound, setUpperSourceBound
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getLowerTargetBound

public int getLowerTargetBound()

Specified by:
getLowerTargetBound in interface UClassVariable2UClassVariable
Returns:
the value of the 'Lower Target Bound' attribute.
See Also:
UClassVariable2UClassVariable.setLowerTargetBound(int), UcorePackage.getUClassVariable2UClassVariable_LowerTargetBound()

setLowerTargetBound

public void setLowerTargetBound(int newLowerTargetBound)

Specified by:
setLowerTargetBound in interface UClassVariable2UClassVariable
Parameters:
newLowerTargetBound - the new value of the 'Lower Target Bound' attribute.
See Also:
UClassVariable2UClassVariable.getLowerTargetBound()

isOrderedSource

public boolean isOrderedSource()

Specified by:
isOrderedSource in interface UClassVariable2UClassVariable
Returns:
the value of the 'Ordered Source' attribute.
See Also:
UClassVariable2UClassVariable.setOrderedSource(boolean), UcorePackage.getUClassVariable2UClassVariable_OrderedSource()

setOrderedSource

public void setOrderedSource(boolean newOrderedSource)

Specified by:
setOrderedSource in interface UClassVariable2UClassVariable
Parameters:
newOrderedSource - the new value of the 'Ordered Source' attribute.
See Also:
UClassVariable2UClassVariable.isOrderedSource()

isOrderedTarget

public boolean isOrderedTarget()

Specified by:
isOrderedTarget in interface UClassVariable2UClassVariable
Returns:
the value of the 'Ordered Target' attribute.
See Also:
UClassVariable2UClassVariable.setOrderedTarget(boolean), UcorePackage.getUClassVariable2UClassVariable_OrderedTarget()

setOrderedTarget

public void setOrderedTarget(boolean newOrderedTarget)

Specified by:
setOrderedTarget in interface UClassVariable2UClassVariable
Parameters:
newOrderedTarget - the new value of the 'Ordered Target' attribute.
See Also:
UClassVariable2UClassVariable.isOrderedTarget()

getSource

public UClassVariable getSource()

Specified by:
getSource in interface UClassVariable2UClassVariable
Specified by:
getSource in interface URelationship
Specified by:
getSource in class URelationshipImpl
Returns:
the value of the 'Source' reference.
See Also:
UClassVariable2UClassVariable.setSource(UClassVariable), UcorePackage.getUClassVariable2UClassVariable_Source(), UClassVariable.getOutgoingAssociations()

basicGetSource

public UClassVariable basicGetSource()


basicSetSource

public org.eclipse.emf.common.notify.NotificationChain basicSetSource(UClassVariable newSource,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setSource

public void setSource(UClassVariable newSource)

Specified by:
setSource in interface UClassVariable2UClassVariable
Parameters:
newSource - the new value of the 'Source' reference.
See Also:
UClassVariable2UClassVariable.getSource()

getSourceReference

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

Specified by:
getSourceReference in interface UClassVariable2UClassVariable
Returns:
the value of the 'Source Reference' reference.
See Also:
UClassVariable2UClassVariable.isSetSourceReference(), UClassVariable2UClassVariable.unsetSourceReference(), UClassVariable2UClassVariable.setSourceReference(EReference), UcorePackage.getUClassVariable2UClassVariable_SourceReference()

basicGetSourceReference

public org.eclipse.emf.ecore.EReference basicGetSourceReference()


setSourceReference

public void setSourceReference(org.eclipse.emf.ecore.EReference newSourceReference)

Specified by:
setSourceReference in interface UClassVariable2UClassVariable
Parameters:
newSourceReference - the new value of the 'Source Reference' reference.
See Also:
UClassVariable2UClassVariable.isSetSourceReference(), UClassVariable2UClassVariable.unsetSourceReference(), UClassVariable2UClassVariable.getSourceReference()

unsetSourceReference

public void unsetSourceReference()

Specified by:
unsetSourceReference in interface UClassVariable2UClassVariable
See Also:
UClassVariable2UClassVariable.isSetSourceReference(), UClassVariable2UClassVariable.getSourceReference(), UClassVariable2UClassVariable.setSourceReference(EReference)

isSetSourceReference

public boolean isSetSourceReference()

Specified by:
isSetSourceReference in interface UClassVariable2UClassVariable
Returns:
whether the value of the 'Source Reference' reference is set.
See Also:
UClassVariable2UClassVariable.unsetSourceReference(), UClassVariable2UClassVariable.getSourceReference(), UClassVariable2UClassVariable.setSourceReference(EReference)

getTarget

public UClassVariable getTarget()

Specified by:
getTarget in interface UClassVariable2UClassVariable
Specified by:
getTarget in interface URelationship
Specified by:
getTarget in class URelationshipImpl
Returns:
the value of the 'Target' reference.
See Also:
UClassVariable2UClassVariable.setTarget(UClassVariable), UcorePackage.getUClassVariable2UClassVariable_Target(), UClassVariable.getIncomingAssociations()

basicGetTarget

public UClassVariable basicGetTarget()


basicSetTarget

public org.eclipse.emf.common.notify.NotificationChain basicSetTarget(UClassVariable newTarget,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setTarget

public void setTarget(UClassVariable newTarget)

Specified by:
setTarget in interface UClassVariable2UClassVariable
Parameters:
newTarget - the new value of the 'Target' reference.
See Also:
UClassVariable2UClassVariable.getTarget()

getTargetReference

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

Specified by:
getTargetReference in interface UClassVariable2UClassVariable
Returns:
the value of the 'Target Reference' reference.
See Also:
UClassVariable2UClassVariable.isSetTargetReference(), UClassVariable2UClassVariable.unsetTargetReference(), UClassVariable2UClassVariable.setTargetReference(EReference), UcorePackage.getUClassVariable2UClassVariable_TargetReference()

basicGetTargetReference

public org.eclipse.emf.ecore.EReference basicGetTargetReference()


setTargetReference

public void setTargetReference(org.eclipse.emf.ecore.EReference newTargetReference)

Specified by:
setTargetReference in interface UClassVariable2UClassVariable
Parameters:
newTargetReference - the new value of the 'Target Reference' reference.
See Also:
UClassVariable2UClassVariable.isSetTargetReference(), UClassVariable2UClassVariable.unsetTargetReference(), UClassVariable2UClassVariable.getTargetReference()

unsetTargetReference

public void unsetTargetReference()

Specified by:
unsetTargetReference in interface UClassVariable2UClassVariable
See Also:
UClassVariable2UClassVariable.isSetTargetReference(), UClassVariable2UClassVariable.getTargetReference(), UClassVariable2UClassVariable.setTargetReference(EReference)

isSetTargetReference

public boolean isSetTargetReference()

Specified by:
isSetTargetReference in interface UClassVariable2UClassVariable
Returns:
whether the value of the 'Target Reference' reference is set.
See Also:
UClassVariable2UClassVariable.unsetTargetReference(), UClassVariable2UClassVariable.getTargetReference(), UClassVariable2UClassVariable.setTargetReference(EReference)

isUniqueSource

public boolean isUniqueSource()

Specified by:
isUniqueSource in interface UClassVariable2UClassVariable
Returns:
the value of the 'Unique Source' attribute.
See Also:
UClassVariable2UClassVariable.setUniqueSource(boolean), UcorePackage.getUClassVariable2UClassVariable_UniqueSource()

setUniqueSource

public void setUniqueSource(boolean newUniqueSource)

Specified by:
setUniqueSource in interface UClassVariable2UClassVariable
Parameters:
newUniqueSource - the new value of the 'Unique Source' attribute.
See Also:
UClassVariable2UClassVariable.isUniqueSource()

isUniqueTarget

public boolean isUniqueTarget()

Specified by:
isUniqueTarget in interface UClassVariable2UClassVariable
Returns:
the value of the 'Unique Target' attribute.
See Also:
UClassVariable2UClassVariable.setUniqueTarget(boolean), UcorePackage.getUClassVariable2UClassVariable_UniqueTarget()

setUniqueTarget

public void setUniqueTarget(boolean newUniqueTarget)

Specified by:
setUniqueTarget in interface UClassVariable2UClassVariable
Parameters:
newUniqueTarget - the new value of the 'Unique Target' attribute.
See Also:
UClassVariable2UClassVariable.isUniqueTarget()

getUpperTargetBound

public int getUpperTargetBound()

Specified by:
getUpperTargetBound in interface UClassVariable2UClassVariable
Returns:
the value of the 'Upper Target Bound' attribute.
See Also:
UClassVariable2UClassVariable.setUpperTargetBound(int), UcorePackage.getUClassVariable2UClassVariable_UpperTargetBound()

setUpperTargetBound

public void setUpperTargetBound(int newUpperTargetBound)

Specified by:
setUpperTargetBound in interface UClassVariable2UClassVariable
Parameters:
newUpperTargetBound - the new value of the 'Upper Target Bound' attribute.
See Also:
UClassVariable2UClassVariable.getUpperTargetBound()

getUsedElement

public E2DirectedAssociation getUsedElement()

Specified by:
getUsedElement in interface UClassVariable2UClassVariable
Specified by:
getUsedElement in interface URelationship
Specified by:
getUsedElement in class URelationshipImpl
Returns:
the value of the 'Used Element' reference.
See Also:
UClassVariable2UClassVariable.setUsedElement(E2DirectedAssociation), UcorePackage.getUClassVariable2UClassVariable_UsedElement()

setUsedElement

public void setUsedElement(E2DirectedAssociation newUsedElement)

Specified by:
setUsedElement in interface UClassVariable2UClassVariable
Parameters:
newUsedElement - the new value of the 'Used Element' reference.
See Also:
UClassVariable2UClassVariable.getUsedElement()

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class UConstraintImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class UConstraintImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class URelationshipImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class URelationshipImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class URelationshipImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class URelationshipImpl

toString

public java.lang.String toString()

Overrides:
toString in class URelationshipImpl