org.eclipse.emf.ecp.view.spi.custom.model.impl
Class VCustomDomainModelReferenceImpl

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.EObjectImpl
              extended by org.eclipse.emf.ecp.view.spi.custom.model.impl.VCustomDomainModelReferenceImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, VCustomDomainModelReference, ModelChangeListener, VDomainModelReference

public class VCustomDomainModelReferenceImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements VCustomDomainModelReference

An implementation of the model object 'Domain Model Reference'.

Since:
1.3

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 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, Object newValue)
           
 void eUnset(int featureID)
           
 String getBundleName()
           
 org.eclipse.emf.common.util.EList<DomainModelReferenceChangeListener> getChangeListener()
           
 String getClassName()
           
 org.eclipse.emf.common.util.EList<VDomainModelReference> getDomainModelReferences()
           
 Iterator<org.eclipse.emf.ecore.EStructuralFeature> getEStructuralFeatureIterator()
          Returns an iterator allowing to iterate overall EStructuralFeatures of this domain model reference.
 Iterator<SettingPath> getFullPathIterator()
          Returns an iterator allowing to iterate over all setting paths for this domain model reference.
 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.
 boolean isControlChecked()
           
 void notifyChange(ModelChangeNotification notification)
          Notify about a change.
 void setBundleName(String newBundleName)
           
 void setClassName(String newClassName)
           
 void setControlChecked(boolean newControlChecked)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, 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
 

Method Detail

getChangeListener

public org.eclipse.emf.common.util.EList<DomainModelReferenceChangeListener> getChangeListener()

Specified by:
getChangeListener in interface VDomainModelReference
Returns:
the value of the 'Change Listener' attribute list.
See Also:
VViewPackage.getDomainModelReference_ChangeListener()

getDomainModelReferences

public org.eclipse.emf.common.util.EList<VDomainModelReference> getDomainModelReferences()

Specified by:
getDomainModelReferences in interface VCustomDomainModelReference
Returns:
the value of the 'Domain Model References' containment reference list.
See Also:
VCustomPackage.getCustomDomainModelReference_DomainModelReferences()

getBundleName

public String getBundleName()

Specified by:
getBundleName in interface VCustomDomainModelReference
Returns:
the value of the 'Bundle Name' attribute.
See Also:
VCustomDomainModelReference.setBundleName(String), VCustomPackage.getCustomDomainModelReference_BundleName()

setBundleName

public void setBundleName(String newBundleName)

Specified by:
setBundleName in interface VCustomDomainModelReference
Parameters:
newBundleName - the new value of the 'Bundle Name' attribute.
See Also:
VCustomDomainModelReference.getBundleName()

getClassName

public String getClassName()

Specified by:
getClassName in interface VCustomDomainModelReference
Returns:
the value of the 'Class Name' attribute.
See Also:
VCustomDomainModelReference.setClassName(String), VCustomPackage.getCustomDomainModelReference_ClassName()

setClassName

public void setClassName(String newClassName)

Specified by:
setClassName in interface VCustomDomainModelReference
Parameters:
newClassName - the new value of the 'Class Name' attribute.
See Also:
VCustomDomainModelReference.getClassName()

isControlChecked

public boolean isControlChecked()

Specified by:
isControlChecked in interface VCustomDomainModelReference
Returns:
the value of the 'Control Checked' attribute.
See Also:
VCustomDomainModelReference.setControlChecked(boolean), VCustomPackage.getCustomDomainModelReference_ControlChecked()

setControlChecked

public void setControlChecked(boolean newControlChecked)

Specified by:
setControlChecked in interface VCustomDomainModelReference
Parameters:
newControlChecked - the new value of the 'Control Checked' attribute.
See Also:
VCustomDomainModelReference.isControlChecked()

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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

init

public boolean init(org.eclipse.emf.ecore.EObject object)
Description copied from interface: VDomainModelReference
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 interface VDomainModelReference
Returns:
true if resolution succeeded and false otherwise

getIterator

public Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting> getIterator()
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 interface VDomainModelReference
Returns:
the Iterator for this domain model reference
See Also:
VDomainModelReference.getIterator()

getEStructuralFeatureIterator

public Iterator<org.eclipse.emf.ecore.EStructuralFeature> getEStructuralFeatureIterator()
Returns an iterator allowing to iterate overall EStructuralFeatures of this domain model reference.

Specified by:
getEStructuralFeatureIterator in interface VDomainModelReference
Returns:
the Iterator over all EStructuralFeatures for this domain model reference
See Also:
VDomainModelReference.getEStructuralFeatureIterator()

getFullPathIterator

public Iterator<SettingPath> getFullPathIterator()
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 interface VDomainModelReference
Returns:
the Iterator over setting paths for this domain model reference
See Also:
VDomainModelReference.getFullPathIterator()

notifyChange

public void notifyChange(ModelChangeNotification notification)
Notify about a change.

Specified by:
notifyChange in interface ModelChangeListener
Parameters:
notification - the ModelChangeNotification
See Also:
ModelChangeListener.notifyChange(org.eclipse.emf.ecp.view.spi.model.ModelChangeNotification)


Copyright © 2014. All Rights Reserved.