org.eclipse.emf.henshin.statespace
Interface EqualityHelper

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
EqualityHelperImpl

public interface EqualityHelper
extends EObject

Helper for deciding equality of Models and computing their hash codes.


Method Summary
 boolean equals(Model model1, Model model2)
          Check whether two state models are equal.
 EList<EClass> getIdentityTypes()
          Returns the value of the 'Identity Types' reference list.
 EList<EAttribute> getIgnoredAttributes()
          Returns the value of the 'Ignored Attributes' reference list.
 int hashCode(Model model)
          Generate a hash code of a state model.
 boolean isCheckLinkOrder()
          Returns the value of the 'Check Link Order' attribute.
 void setStateSpace(StateSpace stateSpace)
           
 
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
 

Method Detail

isCheckLinkOrder

boolean isCheckLinkOrder()
Returns the value of the 'Check Link Order' attribute.

Returns:
the value of the 'Check Link Order' attribute.
See Also:
#setCheckLinkOrder(boolean), StateSpacePackage.getEqualityHelper_CheckLinkOrder()

getIgnoredAttributes

EList<EAttribute> getIgnoredAttributes()
Returns the value of the 'Ignored Attributes' reference list. The list contents are of type EAttribute.

Returns:
the value of the 'Ignored Attributes' reference list.
See Also:
StateSpacePackage.getEqualityHelper_IgnoredAttributes()

getIdentityTypes

EList<EClass> getIdentityTypes()
Returns the value of the 'Identity Types' reference list. The list contents are of type EClass.

Returns:
the value of the 'Identity Types' reference list.
See Also:
StateSpacePackage.getEqualityHelper_IdentityTypes()

setStateSpace

void setStateSpace(StateSpace stateSpace)

hashCode

int hashCode(Model model)
Generate a hash code of a state model.


equals

boolean equals(Model model1,
               Model model2)
Check whether two state models are equal.