org.eclipse.jpt.core.resource.common
Interface JpaEObject

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
BaseXmlEmbedded, CascadeType, ColumnMapping, MapKey, XmlAbstractColumn, XmlAssociationOverride, XmlAttributeMapping, XmlAttributeOverride, XmlBaseTable, XmlBasic, XmlColumn, XmlEmbedded, XmlEmbeddedId, XmlGeneratedValue, XmlGenerator, XmlId, XmlJoinColumn, XmlJoinTable, XmlManyToMany, XmlManyToOne, XmlMultiRelationshipMapping, XmlNamedColumn, XmlNullAttributeMapping, XmlOneToMany, XmlOneToOne, XmlPrimaryKeyJoinColumn, XmlQuery, XmlRelationshipMapping, XmlSecondaryTable, XmlSequenceGenerator, XmlSingleRelationshipMapping, XmlTableGenerator, XmlTransient, XmlUniqueConstraint, XmlVersion
All Known Implementing Classes:
AbstractJpaEObject, AbstractXmlAbstractColumn, AbstractXmlAttributeMapping, AbstractXmlBaseTable, AbstractXmlNamedColumn, AbstractXmlTypeMapping, Attributes, CascadeTypeImpl, ColumnResult, EntityListener, EntityListeners, EntityResult, EventMethod, FieldResult, Inheritance, Lob, MapKeyImpl, PostLoad, PostPersist, PostRemove, PostUpdate, PrePersist, PreRemove, PreUpdate, SqlResultSetMapping, XmlAssociationOverrideImpl, XmlAttributeOverrideImpl, XmlBasicImpl, XmlColumnImpl, XmlDiscriminatorColumn, XmlEmbeddable, XmlEmbeddedIdImpl, XmlEmbeddedImpl, XmlEntity, XmlEntityMappings, XmlGeneratedValueImpl, XmlIdClass, XmlIdImpl, XmlJavaClassRef, XmlJoinColumnImpl, XmlJoinTableImpl, XmlManyToManyImpl, XmlManyToOneImpl, XmlMappedSuperclass, XmlMappingFileRef, XmlNamedNativeQuery, XmlNamedQuery, XmlOneToManyImpl, XmlOneToOneImpl, XmlPersistence, XmlPersistenceUnit, XmlPersistenceUnitDefaults, XmlPersistenceUnitMetadata, XmlPrimaryKeyJoinColumnImpl, XmlProperties, XmlProperty, XmlQueryHint, XmlSecondaryTableImpl, XmlSequenceGeneratorImpl, XmlTable, XmlTableGeneratorImpl, XmlTransientImpl, XmlUniqueConstraintImpl, XmlVersionImpl

public interface JpaEObject
extends org.eclipse.emf.ecore.EObject

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.


Method Summary
 boolean containsOffset(int textOffset)
          Return true if this object's text representation contains the text offset
 org.eclipse.core.resources.IResource getPlatformResource()
          Return the resource that most directly contains this object
 JpaXmlResource getResource()
          Return the JpaXmlResource containing this object.
 JpaEObject getRoot()
          Return the root object of the model
 TextRange getSelectionTextRange()
          Return the text range to be used for selection.
 TextRange getValidationTextRange()
          Return the text range to be used for validation.
 boolean isAllFeaturesUnset()
           
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getPlatformResource

org.eclipse.core.resources.IResource getPlatformResource()
Return the resource that most directly contains this object


getResource

JpaXmlResource getResource()
Return the JpaXmlResource containing this object.


getRoot

JpaEObject getRoot()
Return the root object of the model


containsOffset

boolean containsOffset(int textOffset)
Return true if this object's text representation contains the text offset


getValidationTextRange

TextRange getValidationTextRange()
Return the text range to be used for validation. This is the source range that will be highlighted for a validation error.


getSelectionTextRange

TextRange getSelectionTextRange()
Return the text range to be used for selection. This is the source range that will be highlighted when selecting in the structure view.


isAllFeaturesUnset

boolean isAllFeaturesUnset()