Package org.eclipse.emf.compare.impl
Class DiffImpl
-
- All Implemented Interfaces:
Notifier,Diff,EObject,EStructuralFeature.Internal.DynamicValueHolder,InternalEObject
- Direct Known Subclasses:
AttributeChangeImpl,DiffSpec,FeatureMapChangeImpl,ReferenceChangeImpl,ResourceAttachmentChangeImpl,ResourceLocationChangeImpl
public class DiffImpl extends MinimalEObjectImpl.Container implements Diff
An implementation of the model object 'Diff'.The following features are implemented:
- Generated:
-
-
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, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected ConflictconflictThe cached value of the 'Conflict' reference.static Stringcopyrightprotected EquivalenceequivalenceThe cached value of the 'Equivalence' reference.protected EList<Diff>impliedByThe cached value of the 'Implied By' reference list.protected EList<Diff>impliesThe cached value of the 'Implies' reference list.protected DifferenceKindkindThe cached value of the 'Kind' attribute.protected static DifferenceKindKIND_EDEFAULTThe default value of the 'Kind' attribute.protected DiffprimeRefiningThe cached value of the 'Prime Refining' reference.protected EList<Diff>refinedByThe cached value of the 'Refined By' reference list.protected EList<Diff>refinesThe cached value of the 'Refines' reference list.protected EList<Diff>requiredByThe cached value of the 'Required By' reference list.protected EList<Diff>requiresThe cached value of the 'Requires' reference list.protected DifferenceSourcesourceThe cached value of the 'Source' attribute.protected static DifferenceSourceSOURCE_EDEFAULTThe default value of the 'Source' attribute.protected DifferenceStatestateThe cached value of the 'State' attribute.protected static DifferenceStateSTATE_EDEFAULTThe default value of the 'State' attribute.-
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
Constructors Modifier Constructor Description protectedDiffImpl()
-
Method Summary
-
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, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, 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, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, 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.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
copyright
public static final String copyright
- See Also:
- Constant Field Values
- Generated:
-
requires
protected EList<Diff> requires
The cached value of the 'Requires' reference list.- See Also:
getRequires()- Generated:
-
requiredBy
protected EList<Diff> requiredBy
The cached value of the 'Required By' reference list.- See Also:
getRequiredBy()- Generated:
-
implies
protected EList<Diff> implies
The cached value of the 'Implies' reference list.- See Also:
getImplies()- Generated:
-
impliedBy
protected EList<Diff> impliedBy
The cached value of the 'Implied By' reference list.- Since:
- 3.1
- See Also:
getImpliedBy()- Generated:
-
refines
protected EList<Diff> refines
The cached value of the 'Refines' reference list.- See Also:
getRefines()- Generated:
-
refinedBy
protected EList<Diff> refinedBy
The cached value of the 'Refined By' reference list.- See Also:
getRefinedBy()- Generated:
-
primeRefining
protected Diff primeRefining
The cached value of the 'Prime Refining' reference.- Since:
- 3.1
- See Also:
getPrimeRefining()- Generated:
-
KIND_EDEFAULT
protected static final DifferenceKind KIND_EDEFAULT
The default value of the 'Kind' attribute.- See Also:
getKind()- Generated:
-
kind
protected DifferenceKind kind
The cached value of the 'Kind' attribute.- See Also:
getKind()- Generated:
-
SOURCE_EDEFAULT
protected static final DifferenceSource SOURCE_EDEFAULT
The default value of the 'Source' attribute.- See Also:
getSource()- Generated:
-
source
protected DifferenceSource source
The cached value of the 'Source' attribute.- See Also:
getSource()- Generated:
-
STATE_EDEFAULT
protected static final DifferenceState STATE_EDEFAULT
The default value of the 'State' attribute.- See Also:
getState()- Generated:
-
state
protected DifferenceState state
The cached value of the 'State' attribute.- See Also:
getState()- Generated:
-
equivalence
protected Equivalence equivalence
The cached value of the 'Equivalence' reference.- See Also:
getEquivalence()- Generated:
-
conflict
protected Conflict conflict
The cached value of the 'Conflict' reference.- See Also:
getConflict()- Generated:
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClassin classBasicEObjectImpl- Generated:
-
getMatch
public Match getMatch()
- Specified by:
getMatchin interfaceDiff- Returns:
- the value of the 'Match' container reference.
- See Also:
Diff.setMatch(Match)- Generated:
-
basicGetMatch
public Match basicGetMatch()
- Since:
- 3.2
- Generated:
-
setMatch
public void setMatch(Match newMatch)
- Specified by:
setMatchin interfaceDiff- Parameters:
newMatch- the new value of the 'Match' reference.- See Also:
Diff.getMatch()- Generated:
-
getRequires
public EList<Diff> getRequires()
- Specified by:
getRequiresin interfaceDiff- Returns:
- the value of the 'Requires' reference list.
- See Also:
ComparePackage.getDiff_Requires(),Diff.getRequiredBy()- Generated:
-
getRequiredBy
public EList<Diff> getRequiredBy()
- Specified by:
getRequiredByin interfaceDiff- Returns:
- the value of the 'Required By' reference list.
- See Also:
ComparePackage.getDiff_RequiredBy(),Diff.getRequires()- Generated:
-
getImplies
public EList<Diff> getImplies()
- Specified by:
getImpliesin interfaceDiff- Returns:
- the value of the 'Implies' reference list.
- See Also:
ComparePackage.getDiff_Implies(),Diff.getImpliedBy()- Generated:
-
getImpliedBy
public EList<Diff> getImpliedBy()
- Specified by:
getImpliedByin interfaceDiff- Returns:
- the value of the 'Implied By' reference list.
- See Also:
ComparePackage.getDiff_ImpliedBy(),Diff.getImplies()- Generated:
-
getRefines
public EList<Diff> getRefines()
- Specified by:
getRefinesin interfaceDiff- Returns:
- the value of the 'Refines' reference list.
- See Also:
ComparePackage.getDiff_Refines(),Diff.getRefinedBy()- Generated:
-
getRefinedBy
public EList<Diff> getRefinedBy()
- Specified by:
getRefinedByin interfaceDiff- Returns:
- the value of the 'Refined By' reference list.
- See Also:
ComparePackage.getDiff_RefinedBy(),Diff.getRefines()- Generated:
-
getPrimeRefining
public Diff getPrimeRefining()
- Specified by:
getPrimeRefiningin interfaceDiff- Returns:
- the value of the 'Prime Refining' reference.
- See Also:
ComparePackage.getDiff_PrimeRefining()- Generated:
-
basicGetPrimeRefining
public Diff basicGetPrimeRefining()
- Generated:
-
getKind
public DifferenceKind getKind()
- Specified by:
getKindin interfaceDiff- Returns:
- the value of the 'Kind' attribute.
- See Also:
DifferenceKind,Diff.setKind(DifferenceKind),ComparePackage.getDiff_Kind()- Generated:
-
setKind
public void setKind(DifferenceKind newKind)
- Specified by:
setKindin interfaceDiff- Parameters:
newKind- the new value of the 'Kind' attribute.- See Also:
DifferenceKind,Diff.getKind()- Generated:
-
getConflict
public Conflict getConflict()
- Specified by:
getConflictin interfaceDiff- Returns:
- the value of the 'Conflict' reference.
- See Also:
Diff.setConflict(Conflict),ComparePackage.getDiff_Conflict(),Conflict.getDifferences()- Generated:
-
basicGetConflict
public Conflict basicGetConflict()
- Generated:
-
basicSetConflict
public NotificationChain basicSetConflict(Conflict newConflict, NotificationChain msgs)
- Generated:
-
setConflict
public void setConflict(Conflict newConflict)
- Specified by:
setConflictin interfaceDiff- Parameters:
newConflict- the new value of the 'Conflict' reference.- See Also:
Diff.getConflict()- Generated:
-
getSource
public DifferenceSource getSource()
- Specified by:
getSourcein interfaceDiff- Returns:
- the value of the 'Source' attribute.
- See Also:
DifferenceSource,Diff.setSource(DifferenceSource),ComparePackage.getDiff_Source()- Generated:
-
setSource
public void setSource(DifferenceSource newSource)
- Specified by:
setSourcein interfaceDiff- Parameters:
newSource- the new value of the 'Source' attribute.- See Also:
DifferenceSource,Diff.getSource()- Generated:
-
getState
public DifferenceState getState()
- Specified by:
getStatein interfaceDiff- Returns:
- the value of the 'State' attribute.
- See Also:
DifferenceState,Diff.setState(DifferenceState),ComparePackage.getDiff_State()- Generated:
-
setState
public void setState(DifferenceState newState)
- Specified by:
setStatein interfaceDiff- Parameters:
newState- the new value of the 'State' attribute.- See Also:
DifferenceState,Diff.getState()- Generated:
-
getEquivalence
public Equivalence getEquivalence()
- Specified by:
getEquivalencein interfaceDiff- Returns:
- the value of the 'Equivalence' reference.
- See Also:
Diff.setEquivalence(Equivalence),ComparePackage.getDiff_Equivalence(),Equivalence.getDifferences()- Generated:
-
basicGetEquivalence
public Equivalence basicGetEquivalence()
- Generated:
-
basicSetEquivalence
public NotificationChain basicSetEquivalence(Equivalence newEquivalence, NotificationChain msgs)
- Generated:
-
setEquivalence
public void setEquivalence(Equivalence newEquivalence)
- Specified by:
setEquivalencein interfaceDiff- Parameters:
newEquivalence- the new value of the 'Equivalence' reference.- See Also:
Diff.getEquivalence()- Generated:
-
copyRightToLeft
public void copyRightToLeft()
- Specified by:
copyRightToLeftin interfaceDiff- Generated:
-
copyLeftToRight
public void copyLeftToRight()
- Specified by:
copyLeftToRightin interfaceDiff- Generated:
-
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseAddin classBasicEObjectImpl- Generated:
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemovein classBasicEObjectImpl- Generated:
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceInternalEObject- Overrides:
eGetin classBasicEObjectImpl- Generated:
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceInternalEObject- Overrides:
eSetin classBasicEObjectImpl- Generated:
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceInternalEObject- Overrides:
eUnsetin classBasicEObjectImpl- Generated:
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceInternalEObject- Overrides:
eIsSetin classBasicEObjectImpl- Generated:
-
toString
public String toString()
- Overrides:
toStringin classBasicEObjectImpl- Generated:
-
-