Class VFeaturePathDomainModelReferenceImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- org.eclipse.emf.ecp.view.spi.model.impl.VDomainModelReferenceImpl
-
- org.eclipse.emf.ecp.view.spi.model.impl.VFeaturePathDomainModelReferenceImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
,ModelChangeListener
,VDomainModelReference
,VFeaturePathDomainModelReference
- Direct Known Subclasses:
VIndexDomainModelReferenceImpl
,VKeyAttributeDomainModelReferenceImpl
,VMappingDomainModelReferenceImpl
,VTableDomainModelReferenceImpl
public class VFeaturePathDomainModelReferenceImpl extends VDomainModelReferenceImpl implements VFeaturePathDomainModelReference
An implementation of the model rootEObject 'VFeature Path Domain Model Reference'.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>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.ecore.EStructuralFeature
domainModelEFeature
The cached value of the 'Domain Model EFeature
' reference.protected org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EReference>
domainModelEReferencePath
The cached value of the 'Domain Model EReference Path
' reference list.protected org.eclipse.emf.ecore.EObject
lastResolvedEObject
protected java.util.List<org.eclipse.emf.ecore.EReference>
leftReferences
protected org.eclipse.emf.ecore.EObject
rootEObject
-
Fields inherited from class org.eclipse.emf.ecp.view.spi.model.impl.VDomainModelReferenceImpl
changeListener, segments
-
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VFeaturePathDomainModelReferenceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.eclipse.emf.ecore.EStructuralFeature
basicGetDomainModelEFeature()
protected void
cleanDiagnostic(boolean baseFeatureChanged, ModelChangeNotification notification)
java.lang.Object
eGet(int featureID, boolean resolve, boolean coreType)
.boolean
eIsSet(int featureID)
void
eSet(int featureID, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
org.eclipse.emf.ecore.EStructuralFeature
getDomainModelEFeature()
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EReference>
getDomainModelEReferencePath()
java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature>
getEStructuralFeatureIterator()
Deprecated.java.util.Iterator<SettingPath>
getFullPathIterator()
Deprecated.java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting>
getIterator()
Deprecated.boolean
init(org.eclipse.emf.ecore.EObject object)
Deprecated.void
notifyChange(ModelChangeNotification notification)
Notify about a change.protected boolean
resolve(org.eclipse.emf.ecore.EObject domainModel, boolean createMissingChildren)
void
setDomainModelEFeature(org.eclipse.emf.ecore.EStructuralFeature newDomainModelEFeature)
-
Methods inherited from class org.eclipse.emf.ecp.view.spi.model.impl.VDomainModelReferenceImpl
eInverseRemove, getChangeListener, getSegments, toString
-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, 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
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 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.ecp.view.spi.model.VDomainModelReference
getChangeListener, getSegments
-
-
-
-
Field Detail
-
domainModelEFeature
protected org.eclipse.emf.ecore.EStructuralFeature domainModelEFeature
The cached value of the 'Domain Model EFeature
' reference.- See Also:
getDomainModelEFeature()
-
domainModelEReferencePath
protected org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EReference> domainModelEReferencePath
The cached value of the 'Domain Model EReference Path
' reference list.- See Also:
getDomainModelEReferencePath()
-
leftReferences
protected java.util.List<org.eclipse.emf.ecore.EReference> leftReferences
-
lastResolvedEObject
protected org.eclipse.emf.ecore.EObject lastResolvedEObject
-
rootEObject
protected org.eclipse.emf.ecore.EObject rootEObject
- Since:
- 1.5
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classVDomainModelReferenceImpl
-
getDomainModelEFeature
public org.eclipse.emf.ecore.EStructuralFeature getDomainModelEFeature()
- Specified by:
getDomainModelEFeature
in interfaceVFeaturePathDomainModelReference
- Returns:
- the value of the 'Domain Model EFeature' reference.
- See Also:
VFeaturePathDomainModelReference.setDomainModelEFeature(EStructuralFeature)
,VViewPackage.getFeaturePathDomainModelReference_DomainModelEFeature()
-
basicGetDomainModelEFeature
public org.eclipse.emf.ecore.EStructuralFeature basicGetDomainModelEFeature()
-
setDomainModelEFeature
public void setDomainModelEFeature(org.eclipse.emf.ecore.EStructuralFeature newDomainModelEFeature)
- Specified by:
setDomainModelEFeature
in interfaceVFeaturePathDomainModelReference
- Parameters:
newDomainModelEFeature
- the new value of the 'Domain Model EFeature' reference.- See Also:
VFeaturePathDomainModelReference.getDomainModelEFeature()
-
getDomainModelEReferencePath
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EReference> getDomainModelEReferencePath()
- Specified by:
getDomainModelEReferencePath
in interfaceVFeaturePathDomainModelReference
- Returns:
- the domain model reference path
- See Also:
VViewPackage.getFeaturePathDomainModelReference_DomainModelEReferencePath()
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
.- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classVDomainModelReferenceImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classVDomainModelReferenceImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classVDomainModelReferenceImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classVDomainModelReferenceImpl
-
resolve
protected boolean resolve(org.eclipse.emf.ecore.EObject domainModel, boolean createMissingChildren)
- Since:
- 1.3
-
getIterator
@Deprecated public java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting> getIterator()
Deprecated.Returns an iterator allowing to iterate over found settings for this domain model reference. Will return an empty Iterator if resolve was not successfully completed.- Specified by:
getIterator
in interfaceVDomainModelReference
- Overrides:
getIterator
in classVDomainModelReferenceImpl
- Returns:
- the
Iterator
for this domain model reference - See Also:
VDomainModelReference.getIterator()
-
getEStructuralFeatureIterator
@Deprecated public java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature> getEStructuralFeatureIterator()
Deprecated.Returns an iterator allowing to iterate overallEStructuralFeatures
of this domain model reference.- Specified by:
getEStructuralFeatureIterator
in interfaceVDomainModelReference
- Overrides:
getEStructuralFeatureIterator
in classVDomainModelReferenceImpl
- Returns:
- the
Iterator
over allEStructuralFeatures
for this domain model reference - See Also:
VDomainModelReference.getEStructuralFeatureIterator()
-
init
@Deprecated public boolean init(org.eclipse.emf.ecore.EObject object)
Deprecated.Resolve attempts to resolve the domain model reference. If it fails existing results will be kept. Thus even after a failed resolution the iterator might not be empty.- Specified by:
init
in interfaceVDomainModelReference
- Overrides:
init
in classVDomainModelReferenceImpl
- Returns:
- true if resolution succeeded and false otherwise
- Since:
- 1.3
- See Also:
VDomainModelReference.init(org.eclipse.emf.ecore.EObject)
-
getFullPathIterator
@Deprecated public java.util.Iterator<SettingPath> getFullPathIterator()
Deprecated.Returns an iterator allowing to iterate over all setting paths for this domain model reference. Will return an empty Iterator if resolve was not successfully completed.- Specified by:
getFullPathIterator
in interfaceVDomainModelReference
- Overrides:
getFullPathIterator
in classVDomainModelReferenceImpl
- Returns:
- the
Iterator
over setting paths for this domain model reference - Since:
- 1.3
- See Also:
VDomainModelReference.getFullPathIterator()
-
notifyChange
public void notifyChange(ModelChangeNotification notification)
Notify about a change.- Specified by:
notifyChange
in interfaceModelChangeListener
- Overrides:
notifyChange
in classVDomainModelReferenceImpl
- Parameters:
notification
- theModelChangeNotification
- Since:
- 1.3
- See Also:
ModelChangeListener.notifyChange(org.eclipse.emf.ecp.view.spi.model.ModelChangeNotification)
-
cleanDiagnostic
protected void cleanDiagnostic(boolean baseFeatureChanged, ModelChangeNotification notification)
- Parameters:
notification
-- Since:
- 1.5
-
-