Class VTableDomainModelReferenceImpl
- 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
-
- org.eclipse.emf.ecp.view.spi.table.model.impl.VTableDomainModelReferenceImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
,ModelChangeListener
,VDomainModelReference
,VFeaturePathDomainModelReference
,VTableDomainModelReference
public class VTableDomainModelReferenceImpl extends VFeaturePathDomainModelReferenceImpl implements VTableDomainModelReference
An implementation of the model object '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.common.util.EList<VDomainModelReference>
columnDomainModelReferences
The cached value of the 'Column Domain Model References
' containment reference list.protected VDomainModelReference
domainModelReference
The cached value of the 'Domain Model Reference
' containment reference.-
Fields inherited from class org.eclipse.emf.ecp.view.spi.model.impl.VFeaturePathDomainModelReferenceImpl
domainModelEFeature, domainModelEReferencePath, lastResolvedEObject, leftReferences, 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
VTableDomainModelReferenceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
basicSetDomainModelReference(VDomainModelReference newDomainModelReference, org.eclipse.emf.common.notify.NotificationChain msgs)
java.lang.Object
eGet(int featureID, boolean resolve, boolean coreType)
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)
org.eclipse.emf.common.util.EList<VDomainModelReference>
getColumnDomainModelReferences()
VDomainModelReference
getDomainModelReference()
java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature>
getEStructuralFeatureIterator()
Returns an iterator allowing to iterate overallEStructuralFeatures
of this domain model reference.java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting>
getIterator()
Returns an iterator allowing to iterate over found settings for this domain model reference.boolean
init(org.eclipse.emf.ecore.EObject object)
Resolve attempts to resolve the domain model reference.void
notifyChange(ModelChangeNotification notification)
Notify about a change.protected boolean
resolve(org.eclipse.emf.ecore.EObject domainModel, boolean createMissingChildren)
void
setDomainModelReference(VDomainModelReference newDomainModelReference)
-
Methods inherited from class org.eclipse.emf.ecp.view.spi.model.impl.VFeaturePathDomainModelReferenceImpl
basicGetDomainModelEFeature, cleanDiagnostic, getDomainModelEFeature, getDomainModelEReferencePath, getFullPathIterator, setDomainModelEFeature
-
Methods inherited from class org.eclipse.emf.ecp.view.spi.model.impl.VDomainModelReferenceImpl
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, getFullPathIterator, getSegments
-
Methods inherited from interface org.eclipse.emf.ecp.view.spi.model.VFeaturePathDomainModelReference
getDomainModelEFeature, getDomainModelEReferencePath, setDomainModelEFeature
-
-
-
-
Field Detail
-
columnDomainModelReferences
protected org.eclipse.emf.common.util.EList<VDomainModelReference> columnDomainModelReferences
The cached value of the 'Column Domain Model References
' containment reference list.- See Also:
getColumnDomainModelReferences()
-
domainModelReference
protected VDomainModelReference domainModelReference
The cached value of the 'Domain Model Reference
' containment reference.- Since:
- 1.5
- See Also:
getDomainModelReference()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classVFeaturePathDomainModelReferenceImpl
-
getColumnDomainModelReferences
public org.eclipse.emf.common.util.EList<VDomainModelReference> getColumnDomainModelReferences()
- Specified by:
getColumnDomainModelReferences
in interfaceVTableDomainModelReference
- Returns:
- the value of the 'Column Domain Model References' containment reference list.
- See Also:
VTablePackage.getTableDomainModelReference_ColumnDomainModelReferences()
-
getDomainModelReference
public VDomainModelReference getDomainModelReference()
- Specified by:
getDomainModelReference
in interfaceVTableDomainModelReference
- Returns:
- the value of the 'Domain Model Reference' containment reference.
- Since:
- 1.5
- See Also:
VTableDomainModelReference.setDomainModelReference(VDomainModelReference)
,VTablePackage.getTableDomainModelReference_DomainModelReference()
-
basicSetDomainModelReference
public org.eclipse.emf.common.notify.NotificationChain basicSetDomainModelReference(VDomainModelReference newDomainModelReference, org.eclipse.emf.common.notify.NotificationChain msgs)
- Since:
- 1.5
-
setDomainModelReference
public void setDomainModelReference(VDomainModelReference newDomainModelReference)
- Specified by:
setDomainModelReference
in interfaceVTableDomainModelReference
- Parameters:
newDomainModelReference
- the new value of the 'Domain Model Reference' containment reference.- Since:
- 1.5
- See Also:
VTableDomainModelReference.getDomainModelReference()
-
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 classVDomainModelReferenceImpl
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classVFeaturePathDomainModelReferenceImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classVFeaturePathDomainModelReferenceImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classVFeaturePathDomainModelReferenceImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classVFeaturePathDomainModelReferenceImpl
-
init
public boolean init(org.eclipse.emf.ecore.EObject object)
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 classVFeaturePathDomainModelReferenceImpl
- Returns:
- true if resolution succeeded and false otherwise
- See Also:
VFeaturePathDomainModelReferenceImpl.init(org.eclipse.emf.ecore.EObject)
-
getIterator
public java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting> getIterator()
Description copied from class:VFeaturePathDomainModelReferenceImpl
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 classVFeaturePathDomainModelReferenceImpl
- Returns:
- the
Iterator
for this domain model reference - See Also:
VDomainModelReference.getIterator()
-
getEStructuralFeatureIterator
public java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature> getEStructuralFeatureIterator()
Returns an iterator allowing to iterate overallEStructuralFeatures
of this domain model reference.- Specified by:
getEStructuralFeatureIterator
in interfaceVDomainModelReference
- Overrides:
getEStructuralFeatureIterator
in classVFeaturePathDomainModelReferenceImpl
- Returns:
- the
Iterator
over allEStructuralFeatures
for this domain model reference - See Also:
VFeaturePathDomainModelReferenceImpl.getEStructuralFeatureIterator()
-
resolve
protected boolean resolve(org.eclipse.emf.ecore.EObject domainModel, boolean createMissingChildren)
- Overrides:
resolve
in classVFeaturePathDomainModelReferenceImpl
-
notifyChange
public void notifyChange(ModelChangeNotification notification)
Description copied from class:VFeaturePathDomainModelReferenceImpl
Notify about a change.- Specified by:
notifyChange
in interfaceModelChangeListener
- Overrides:
notifyChange
in classVFeaturePathDomainModelReferenceImpl
- Parameters:
notification
- theModelChangeNotification
- See Also:
ModelChangeListener.notifyChange(org.eclipse.emf.ecp.view.spi.model.ModelChangeNotification)
-
-