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

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
ColumnMapping, JpaRootEObject, XmlAccessHolder, XmlAccessMethodsHolder, XmlAssociationOverride_2_0, XmlAssociationOverrideContainer, XmlAttributeMapping, XmlAttributeMapping, XmlAttributeMapping_2_0, XmlAttributeOverride_2_0, XmlAttributeOverrideContainer, XmlAttributes_2_0, XmlBasic_1_1, XmlBasic_2_1, XmlBatchFetch_2_1, XmlBatchFetchHolder, XmlCacheable_2_0, XmlCacheHolder, XmlCacheInterceptor_2_0, XmlCascadeType_2_0, XmlChangeTrackingHolder, XmlCollectionMapping_2_0, XmlCollectionTable_2_0, XmlConverterHolder, XmlConvertersHolder, XmlConvertibleMapping, XmlConvertibleMapping, XmlCustomizerHolder, XmlDerivedId_2_0, XmlElementCollection_2_0, XmlElementCollection_2_0, XmlElementCollection_2_1, XmlEmbeddable_2_1, XmlEmbedded_2_0, XmlEmbedded_2_1, XmlEmbeddedId_2_1, XmlEntity_1_1, XmlEntity_2_0, XmlEntity_2_0, XmlEntity_2_1, XmlEntityListener_2_0, XmlEntityMappings_2_1, XmlEventMethod_2_0, XmlEventMethodContainer, XmlFetchAttribute_2_1, XmlFetchGroup_2_1, XmlFetchGroupContainer_2_1, XmlGenerator, XmlGenerator_2_0, XmlGeneratorContainer, XmlId_2_1, XmlIdClassContainer, XmlJoinColumnsMapping, XmlJoinFetch, XmlJoinTableMapping, XmlManyToMany_2_0, XmlManyToMany_2_0, XmlManyToMany_2_1, XmlManyToOne_2_1, XmlMapKeyAssociationOverrideContainer_2_0, XmlMapKeyAttributeOverrideContainer_2_0, XmlMapKeyClass_2_0, XmlMappedByMapping, XmlMappedSuperclass_1_1, XmlMappedSuperclass_2_0, XmlMappedSuperclass_2_1, XmlMapsId_2_0, XmlMultiRelationshipMapping_2_0, XmlMutable, XmlNamedQuery_2_0, XmlOneToMany_2_0, XmlOneToMany_2_0, XmlOneToMany_2_1, XmlOneToOne_2_0, XmlOneToOne_2_1, XmlOrderable, XmlOrderable_2_0, XmlOrderColumn_2_0, XmlOrderColumn_2_0, XmlOrphanRemovable_2_0, XmlOverride, XmlPersistenceUnit_2_0, XmlPersistenceUnitDefaults_2_0, XmlPersistenceUnitDefaults_2_1, XmlPersistenceUnitMetadata_2_0, XmlPrimaryKey_1_1, XmlPrimaryKey_2_1, XmlPrivateOwned, XmlPropertyContainer, XmlQuery, XmlQuery_2_0, XmlQueryContainer, XmlQueryContainer, XmlQueryHint_2_0, XmlQueryRedirectors_2_0, XmlReadOnly, XmlReferenceTable, XmlReturnInsert_2_1, XmlSequenceGenerator_2_0, XmlSingleRelationshipMapping_2_0, XmlSqlResultSetMapping_2_0, XmlTransformation_2_1, XmlTypeMapping, XmlUniqueConstraint_2_0, XmlVersion_2_1
All Known Implementing Classes:
AbstractJpaEObject, AbstractJpaRootEObject, AbstractXmlAttributeMapping, AbstractXmlColumn, AbstractXmlEmbedded, AbstractXmlMultiRelationshipMapping, AbstractXmlNamedColumn, AbstractXmlReferenceTable, AbstractXmlRelationshipMapping, AbstractXmlSingleRelationshipMapping, AbstractXmlTable, AbstractXmlTypeMapping, Attributes, Attributes, CascadeType, ColumnResult, EntityListener, EntityListeners, EntityResult, EventMethod, FieldResult, Inheritance, Lob, MapKey, PostLoad, PostPersist, PostRemove, PostUpdate, PrePersist, PreRemove, PreUpdate, SqlResultSetMapping, XmlAccessMethods, XmlAssociationOverride, XmlAttributeOverride, XmlBasic, XmlBasic, XmlBasicCollection, XmlBasicMap, XmlBatchFetch, XmlCache, XmlChangeTracking, XmlClassReference, XmlCloneCopyPolicy, XmlCollectionTable, XmlColumn, XmlConversionValue, XmlConverter, XmlCopyPolicy, XmlCustomizer, XmlDiscriminatorColumn, XmlElementCollection, XmlElementCollection, XmlEmbeddable, XmlEmbeddable, XmlEmbedded, XmlEmbedded, XmlEmbeddedId, XmlEmbeddedId, XmlEntity, XmlEntity, XmlEntityMappings, XmlEntityMappings, XmlFetchAttribute, XmlFetchGroup, XmlGeneratedValue, XmlId, XmlId, XmlInstantiationCopyPolicy, XmlJarFileRef, XmlJavaClassRef, XmlJoinColumn, XmlJoinTable, XmlManyToMany, XmlManyToMany, XmlManyToOne, XmlManyToOne, XmlMappedSuperclass, XmlMappedSuperclass, XmlMappingFileRef, XmlNamedConverter, XmlNamedNativeQuery, XmlNamedQuery, XmlNamedStoredProcedureQuery, XmlNullAttributeMapping, XmlObjectTypeConverter, XmlOneToMany, XmlOneToMany, XmlOneToOne, XmlOneToOne, XmlOptimisticLocking, XmlOrderColumn, XmlOrderColumn, XmlPersistence, XmlPersistenceUnit, XmlPersistenceUnitDefaults, XmlPersistenceUnitDefaults, XmlPersistenceUnitMetadata, XmlPersistenceUnitMetadata, XmlPrimaryKey, XmlPrimaryKeyJoinColumn, XmlProperties, XmlProperty, XmlProperty, XmlQueryHint, XmlQueryRedirectors, XmlReturnInsert, XmlSecondaryTable, XmlSequenceGenerator, XmlStoredProcedureParameter, XmlStructConverter, XmlTable, XmlTableGenerator, XmlTimeOfDay, XmlTransformation, XmlTransient, XmlTransient, XmlTypeConverter, XmlUniqueConstraint, XmlVariableOneToOne, XmlVersion, XmlVersion

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

Common Dali behavior for EMF objects. 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

Method Summary
 boolean containsOffset(int textOffset)
          Return true if this object's text representation contains the text offset
 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 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
 

Method Detail

isUnset

boolean isUnset()
Return whether all the object's EMF features are "unset".


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.