org.eclipse.jpt.core.resource.xml
Class AbstractJpaEObject

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.jpt.core.resource.xml.AbstractJpaEObject
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, JpaEObject
Direct Known Subclasses:
AbstractJpaRootEObject, AbstractXmlAttributeMapping, AbstractXmlNamedColumn, AbstractXmlTable, AbstractXmlTypeMapping, Attributes, CascadeType, ColumnResult, EntityListener, EntityListeners, EntityResult, EventMethod, FieldResult, Inheritance, Lob, MapKey, SqlResultSetMapping, XmlAccessMethods, XmlAssociationOverride, XmlAttributeOverride, XmlBatchFetch, XmlCache, XmlChangeTracking, XmlClassReference, XmlCloneCopyPolicy, XmlConversionValue, XmlCopyPolicy, XmlCustomizer, XmlFetchAttribute, XmlFetchGroup, XmlGeneratedValue, XmlInstantiationCopyPolicy, XmlJarFileRef, XmlJavaClassRef, XmlMappingFileRef, XmlNamedConverter, XmlNamedNativeQuery, XmlNamedQuery, XmlNamedStoredProcedureQuery, XmlOptimisticLocking, XmlPersistenceUnit, XmlPersistenceUnitDefaults, XmlPersistenceUnitMetadata, XmlPrimaryKey, XmlProperties, XmlProperty, XmlProperty, XmlQueryHint, XmlQueryRedirectors, XmlReturnInsert, XmlSequenceGenerator, XmlStoredProcedureParameter, XmlTableGenerator, XmlTimeOfDay, XmlUniqueConstraint

public abstract class AbstractJpaEObject
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements JpaEObject

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
2.2
Version:
2.3

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 java.lang.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
 boolean containsOffset(int textOffset)
          Return true if this object's text representation contains the text offset
 org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> eAdapters()
          override to build a custom list for the adapters
 void eNotify(org.eclipse.emf.common.notify.Notification notification)
          override to prevent notification when the object's state is unchanged
 TextRange getSelectionTextRange()
          Return the text range to be used for selection.
 TextRange getValidationTextRange()
          Return the text range to be used for validation.
 boolean isUnset()
          Return whether all the object's EMF features are "unset".
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
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, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired
 
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
eDeliver, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

isUnset

public boolean isUnset()
Description copied from interface: JpaEObject
Return whether all the object's EMF features are "unset".

Specified by:
isUnset in interface JpaEObject

eAdapters

public org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> eAdapters()
override to build a custom list for the adapters

Specified by:
eAdapters in interface org.eclipse.emf.common.notify.Notifier
Overrides:
eAdapters in class org.eclipse.emf.ecore.impl.EObjectImpl

eNotify

public void eNotify(org.eclipse.emf.common.notify.Notification notification)
override to prevent notification when the object's state is unchanged

Specified by:
eNotify in interface org.eclipse.emf.common.notify.Notifier
Overrides:
eNotify in class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

getValidationTextRange

public TextRange getValidationTextRange()
Description copied from interface: JpaEObject
Return the text range to be used for validation. This is the source range that will be highlighted for a validation error.

Specified by:
getValidationTextRange in interface JpaEObject

getSelectionTextRange

public TextRange getSelectionTextRange()
Description copied from interface: JpaEObject
Return the text range to be used for selection. This is the source range that will be highlighted when selecting in the structure view.

Specified by:
getSelectionTextRange in interface JpaEObject

containsOffset

public boolean containsOffset(int textOffset)
Description copied from interface: JpaEObject
Return true if this object's text representation contains the text offset

Specified by:
containsOffset in interface JpaEObject