BusinessDomainDsl.impl
Class AssociationImpl

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 BusinessDomainDsl.impl.ModelElementImpl
                  extended by BusinessDomainDsl.impl.AssociationImpl
All Implemented Interfaces:
Association, ModelElement, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class AssociationImpl
extends ModelElementImpl
implements Association

An implementation of the model object 'Association'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  boolean bidirectional
          The cached value of the 'Bidirectional' attribute.
protected static boolean BIDIRECTIONAL_EDEFAULT
          The default value of the 'Bidirectional' attribute.
protected  boolean composite
          The cached value of the 'Composite' attribute.
protected static boolean COMPOSITE_EDEFAULT
          The default value of the 'Composite' attribute.
protected  boolean ordered
          The cached value of the 'Ordered' attribute.
protected static boolean ORDERED_EDEFAULT
          The default value of the 'Ordered' attribute.
protected  BusinessClass source
          The cached value of the 'Source' reference.
protected static Multiplicity SOURCE_MULTIPLICITY_EDEFAULT
          The default value of the 'Source Multiplicity' attribute.
protected static java.lang.String SOURCE_ROLE_NAME_EDEFAULT
          The default value of the 'Source Role Name' attribute.
protected  Multiplicity sourceMultiplicity
          The cached value of the 'Source Multiplicity' attribute.
protected  java.lang.String sourceRoleName
          The cached value of the 'Source Role Name' attribute.
protected  AbstractBusinessClass target
          The cached value of the 'Target' reference.
protected static Multiplicity TARGET_MULTIPLICITY_EDEFAULT
          The default value of the 'Target Multiplicity' attribute.
protected static java.lang.String TARGET_ROLE_NAME_EDEFAULT
          The default value of the 'Target Role Name' attribute.
protected  Multiplicity targetMultiplicity
          The cached value of the 'Target Multiplicity' attribute.
protected  java.lang.String targetRoleName
          The cached value of the 'Target Role Name' attribute.
 
Fields inherited from class BusinessDomainDsl.impl.ModelElementImpl
description, DESCRIPTION_EDEFAULT, name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected AssociationImpl()
           
 
Method Summary
 BusinessClass basicGetSource()
           
 AbstractBusinessClass basicGetTarget()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetModel(BusinessDomainModel newModel, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetSource(BusinessClass newSource, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetTarget(AbstractBusinessClass newTarget, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(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)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 BusinessDomainModel getModel()
           
 BusinessClass getSource()
           
 Multiplicity getSourceMultiplicity()
           
 java.lang.String getSourceRoleName()
           
 AbstractBusinessClass getTarget()
           
 Multiplicity getTargetMultiplicity()
           
 java.lang.String getTargetRoleName()
           
 boolean isBidirectional()
           
 boolean isComposite()
           
 boolean isOrdered()
           
 void setBidirectional(boolean newBidirectional)
           
 void setComposite(boolean newComposite)
           
 void setModel(BusinessDomainModel newModel)
           
 void setOrdered(boolean newOrdered)
           
 void setSource(BusinessClass newSource)
           
 void setSourceMultiplicity(Multiplicity newSourceMultiplicity)
           
 void setSourceRoleName(java.lang.String newSourceRoleName)
           
 void setTarget(AbstractBusinessClass newTarget)
           
 void setTargetMultiplicity(Multiplicity newTargetMultiplicity)
           
 void setTargetRoleName(java.lang.String newTargetRoleName)
           
 java.lang.String toString()
           
 
Methods inherited from class BusinessDomainDsl.impl.ModelElementImpl
getDescription, getName, setDescription, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface BusinessDomainDsl.ModelElement
getDescription, getName, setDescription, setName
 
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
 

Field Detail

source

protected BusinessClass source
The cached value of the 'Source' reference.

See Also:
getSource()

target

protected AbstractBusinessClass target
The cached value of the 'Target' reference.

See Also:
getTarget()

SOURCE_ROLE_NAME_EDEFAULT

protected static final java.lang.String SOURCE_ROLE_NAME_EDEFAULT
The default value of the 'Source Role Name' attribute.

See Also:
getSourceRoleName(), Constant Field Values

sourceRoleName

protected java.lang.String sourceRoleName
The cached value of the 'Source Role Name' attribute.

See Also:
getSourceRoleName()

SOURCE_MULTIPLICITY_EDEFAULT

protected static final Multiplicity SOURCE_MULTIPLICITY_EDEFAULT
The default value of the 'Source Multiplicity' attribute.

See Also:
getSourceMultiplicity()

sourceMultiplicity

protected Multiplicity sourceMultiplicity
The cached value of the 'Source Multiplicity' attribute.

See Also:
getSourceMultiplicity()

TARGET_ROLE_NAME_EDEFAULT

protected static final java.lang.String TARGET_ROLE_NAME_EDEFAULT
The default value of the 'Target Role Name' attribute.

See Also:
getTargetRoleName(), Constant Field Values

targetRoleName

protected java.lang.String targetRoleName
The cached value of the 'Target Role Name' attribute.

See Also:
getTargetRoleName()

TARGET_MULTIPLICITY_EDEFAULT

protected static final Multiplicity TARGET_MULTIPLICITY_EDEFAULT
The default value of the 'Target Multiplicity' attribute.

See Also:
getTargetMultiplicity()

targetMultiplicity

protected Multiplicity targetMultiplicity
The cached value of the 'Target Multiplicity' attribute.

See Also:
getTargetMultiplicity()

COMPOSITE_EDEFAULT

protected static final boolean COMPOSITE_EDEFAULT
The default value of the 'Composite' attribute.

See Also:
isComposite(), Constant Field Values

composite

protected boolean composite
The cached value of the 'Composite' attribute.

See Also:
isComposite()

BIDIRECTIONAL_EDEFAULT

protected static final boolean BIDIRECTIONAL_EDEFAULT
The default value of the 'Bidirectional' attribute.

See Also:
isBidirectional(), Constant Field Values

bidirectional

protected boolean bidirectional
The cached value of the 'Bidirectional' attribute.

See Also:
isBidirectional()

ORDERED_EDEFAULT

protected static final boolean ORDERED_EDEFAULT
The default value of the 'Ordered' attribute.

See Also:
isOrdered(), Constant Field Values

ordered

protected boolean ordered
The cached value of the 'Ordered' attribute.

See Also:
isOrdered()
Constructor Detail

AssociationImpl

protected AssociationImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class ModelElementImpl

getSource

public BusinessClass getSource()

Specified by:
getSource in interface Association
Returns:
the value of the 'Source' reference.
See Also:
Association.setSource(BusinessClass), BusinessDomainDslPackage.getAssociation_Source(), BusinessClass.getAssociationsTo()

basicGetSource

public BusinessClass basicGetSource()


basicSetSource

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


setSource

public void setSource(BusinessClass newSource)

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

getTarget

public AbstractBusinessClass getTarget()

Specified by:
getTarget in interface Association
Returns:
the value of the 'Target' reference.
See Also:
Association.setTarget(AbstractBusinessClass), BusinessDomainDslPackage.getAssociation_Target(), AbstractBusinessClass.getAssociationsFrom()

basicGetTarget

public AbstractBusinessClass basicGetTarget()


basicSetTarget

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


setTarget

public void setTarget(AbstractBusinessClass newTarget)

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

getSourceRoleName

public java.lang.String getSourceRoleName()

Specified by:
getSourceRoleName in interface Association
Returns:
the value of the 'Source Role Name' attribute.
See Also:
Association.setSourceRoleName(String), BusinessDomainDslPackage.getAssociation_SourceRoleName()

setSourceRoleName

public void setSourceRoleName(java.lang.String newSourceRoleName)

Specified by:
setSourceRoleName in interface Association
Parameters:
newSourceRoleName - the new value of the 'Source Role Name' attribute.
See Also:
Association.getSourceRoleName()

getSourceMultiplicity

public Multiplicity getSourceMultiplicity()

Specified by:
getSourceMultiplicity in interface Association
Returns:
the value of the 'Source Multiplicity' attribute.
See Also:
Multiplicity, Association.setSourceMultiplicity(Multiplicity), BusinessDomainDslPackage.getAssociation_SourceMultiplicity()

setSourceMultiplicity

public void setSourceMultiplicity(Multiplicity newSourceMultiplicity)

Specified by:
setSourceMultiplicity in interface Association
Parameters:
newSourceMultiplicity - the new value of the 'Source Multiplicity' attribute.
See Also:
Multiplicity, Association.getSourceMultiplicity()

getTargetRoleName

public java.lang.String getTargetRoleName()

Specified by:
getTargetRoleName in interface Association
Returns:
the value of the 'Target Role Name' attribute.
See Also:
Association.setTargetRoleName(String), BusinessDomainDslPackage.getAssociation_TargetRoleName()

setTargetRoleName

public void setTargetRoleName(java.lang.String newTargetRoleName)

Specified by:
setTargetRoleName in interface Association
Parameters:
newTargetRoleName - the new value of the 'Target Role Name' attribute.
See Also:
Association.getTargetRoleName()

getTargetMultiplicity

public Multiplicity getTargetMultiplicity()

Specified by:
getTargetMultiplicity in interface Association
Returns:
the value of the 'Target Multiplicity' attribute.
See Also:
Multiplicity, Association.setTargetMultiplicity(Multiplicity), BusinessDomainDslPackage.getAssociation_TargetMultiplicity()

setTargetMultiplicity

public void setTargetMultiplicity(Multiplicity newTargetMultiplicity)

Specified by:
setTargetMultiplicity in interface Association
Parameters:
newTargetMultiplicity - the new value of the 'Target Multiplicity' attribute.
See Also:
Multiplicity, Association.getTargetMultiplicity()

isComposite

public boolean isComposite()

Specified by:
isComposite in interface Association
Returns:
the value of the 'Composite' attribute.
See Also:
Association.setComposite(boolean), BusinessDomainDslPackage.getAssociation_Composite()

setComposite

public void setComposite(boolean newComposite)

Specified by:
setComposite in interface Association
Parameters:
newComposite - the new value of the 'Composite' attribute.
See Also:
Association.isComposite()

isBidirectional

public boolean isBidirectional()

Specified by:
isBidirectional in interface Association
Returns:
the value of the 'Bidirectional' attribute.
See Also:
Association.setBidirectional(boolean), BusinessDomainDslPackage.getAssociation_Bidirectional()

setBidirectional

public void setBidirectional(boolean newBidirectional)

Specified by:
setBidirectional in interface Association
Parameters:
newBidirectional - the new value of the 'Bidirectional' attribute.
See Also:
Association.isBidirectional()

isOrdered

public boolean isOrdered()

Specified by:
isOrdered in interface Association
Returns:
the value of the 'Ordered' attribute.
See Also:
Association.setOrdered(boolean), BusinessDomainDslPackage.getAssociation_Ordered()

setOrdered

public void setOrdered(boolean newOrdered)

Specified by:
setOrdered in interface Association
Parameters:
newOrdered - the new value of the 'Ordered' attribute.
See Also:
Association.isOrdered()

getModel

public BusinessDomainModel getModel()

Specified by:
getModel in interface Association
Returns:
the value of the 'Model' container reference.
See Also:
Association.setModel(BusinessDomainModel), BusinessDomainDslPackage.getAssociation_Model(), BusinessDomainModel.getAssociations()

basicSetModel

public org.eclipse.emf.common.notify.NotificationChain basicSetModel(BusinessDomainModel newModel,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setModel

public void setModel(BusinessDomainModel newModel)

Specified by:
setModel in interface Association
Parameters:
newModel - the new value of the 'Model' container reference.
See Also:
Association.getModel()

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 org.eclipse.emf.ecore.impl.BasicEObjectImpl

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 org.eclipse.emf.ecore.impl.BasicEObjectImpl

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

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 ModelElementImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class ModelElementImpl


Copyright © 2010 Mod4j. All Rights Reserved.