public interface IEObjectEntry extends IEntry
AbstractIndexProvider
to create index entries for each eObject
within the resource. This interface should not be implemented by clients.Modifier and Type | Method and Description |
---|---|
void |
addEAttributeValue(org.eclipse.emf.ecore.EAttribute attribute,
java.lang.Object value)
Adds a new value for an EObject for this EObject entry.
|
void |
addEReferenceValue(org.eclipse.emf.ecore.EReference reference,
org.eclipse.emf.common.util.URI refURI)
Adds a new EReference value for this EObject entry.
|
org.eclipse.emf.ecore.EClass |
getEClass()
Retrieve the EClass for this EObject.
|
org.eclipse.emf.common.util.URI |
getEObjectContainerURI()
Retrieve the URI of the container of this EObject.
|
org.eclipse.emf.common.util.URI |
getEObjectURI()
Retrieve the EObject URI for the entry.
|
void |
setContainerURI(org.eclipse.emf.common.util.URI containerURI)
Sets the EObject's container URI.
|
void |
setEObjectURI(org.eclipse.emf.common.util.URI objectURI)
Sets the EObject URI.
|
getContext
org.eclipse.emf.ecore.EClass getEClass()
IIndexWriter.createEObjectEntry(com.ibm.xtools.emf.index.search.IndexContext, URI, EClass)
.org.eclipse.emf.common.util.URI getEObjectURI()
setEObjectURI(URI)
or is null if the EObject URI
is not set.org.eclipse.emf.common.util.URI getEObjectContainerURI()
IIndexWriter.createEObjectEntry(com.ibm.xtools.emf.index.search.IndexContext, URI, EClass)
.void addEAttributeValue(org.eclipse.emf.ecore.EAttribute attribute, java.lang.Object value)
IIndexConfigurationManager.isFeatureIndexed(EAttribute)
.attribute
- A valid EAttribute on this EObject.value
- A non-null string value for the attribute.void addEReferenceValue(org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.common.util.URI refURI)
IndexContext.normalize(URI, org.eclipse.emf.ecore.resource.ResourceSet)
.
This method can (and should) be called multiple times for the same EReference
if there is more than one reference.reference
- A valid EReference on this EObject.refURI
- A non-null URI value for this EReference.void setEObjectURI(org.eclipse.emf.common.util.URI objectURI)
IndexContext.normalize(URI, org.eclipse.emf.ecore.resource.ResourceSet)
.objectURI
- A non-null URI value for this EObject.void setContainerURI(org.eclipse.emf.common.util.URI containerURI)
IIndexWriter.createEObjectEntry(IndexContext, URI, EClass)
.
This URI should not be null and should be fully normalized using
IndexContext.normalize(URI, org.eclipse.emf.ecore.resource.ResourceSet)
.containerURI
- A non-null URI value for the container of this EObject.