org.eclipse.emf.henshin.statespace.impl
Class EqualityHelperImpl

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.emf.henshin.statespace.impl.EqualityHelperImpl
All Implemented Interfaces:
Notifier, EObject, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject, EqualityHelper

public class EqualityHelperImpl
extends MinimalEObjectImpl.Container
implements EqualityHelper

Default implementation of EqualityHelper.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected static boolean CHECK_LINK_ORDER_EDEFAULT
          The default value of the 'Check Link Order' attribute.
protected  boolean checkLinkOrder
          The cached value of the 'Check Link Order' attribute.
protected  EList<EClass> identityTypes
          The cached value of the 'Identity Types' reference list.
protected  EList<EAttribute> ignoredAttributes
          The cached value of the 'Ignored Attributes' reference list.
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
EqualityHelperImpl()
          Default constructor.
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 boolean equals(Model model1, Model model2)
          Check whether two state models are equal.
protected  EClass eStaticClass()
           
 EList<EClass> getIdentityTypes()
           
 EList<EAttribute> getIgnoredAttributes()
           
 int hashCode(Model model)
          Generate a hash code of a state model.
 boolean isCheckLinkOrder()
           
 void setStateSpace(StateSpace stateSpace)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, 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

CHECK_LINK_ORDER_EDEFAULT

protected static final boolean CHECK_LINK_ORDER_EDEFAULT
The default value of the 'Check Link Order' attribute.

See Also:
isCheckLinkOrder(), Constant Field Values

checkLinkOrder

protected boolean checkLinkOrder
The cached value of the 'Check Link Order' attribute.

See Also:
isCheckLinkOrder()

ignoredAttributes

protected EList<EAttribute> ignoredAttributes
The cached value of the 'Ignored Attributes' reference list.

See Also:
getIgnoredAttributes()

identityTypes

protected EList<EClass> identityTypes
The cached value of the 'Identity Types' reference list.

See Also:
getIdentityTypes()
Constructor Detail

EqualityHelperImpl

public EqualityHelperImpl()
Default constructor.

Method Detail

hashCode

public int hashCode(Model model)
Description copied from interface: EqualityHelper
Generate a hash code of a state model.

Specified by:
hashCode in interface EqualityHelper

setStateSpace

public void setStateSpace(StateSpace stateSpace)
Specified by:
setStateSpace in interface EqualityHelper

equals

public boolean equals(Model model1,
                      Model model2)
Description copied from interface: EqualityHelper
Check whether two state models are equal.

Specified by:
equals in interface EqualityHelper

eStaticClass

protected EClass eStaticClass()
Overrides:
eStaticClass in class BasicEObjectImpl

isCheckLinkOrder

public boolean isCheckLinkOrder()

Specified by:
isCheckLinkOrder in interface EqualityHelper
Returns:
the value of the 'Check Link Order' attribute.
See Also:
#setCheckLinkOrder(boolean), StateSpacePackage.getEqualityHelper_CheckLinkOrder()

getIgnoredAttributes

public EList<EAttribute> getIgnoredAttributes()

Specified by:
getIgnoredAttributes in interface EqualityHelper
Returns:
the value of the 'Ignored Attributes' reference list.
See Also:
StateSpacePackage.getEqualityHelper_IgnoredAttributes()

getIdentityTypes

public EList<EClass> getIdentityTypes()

Specified by:
getIdentityTypes in interface EqualityHelper
Returns:
the value of the 'Identity Types' reference list.
See Also:
StateSpacePackage.getEqualityHelper_IdentityTypes()

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)
Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)
Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl

toString

public String toString()
Overrides:
toString in class BasicEObjectImpl