IIndexWriter.createResourceEntry(IndexContext, URI)
instead.public final class ResourceEntry extends java.lang.Object implements IIndexEntry
IIndexEntry
for capturing the resource
level information. This class should be used by the
IIndexProvider
to create a entry for capturing resource level
information.EOBJECT_KIND, RESOURCE_KIND
Constructor and Description |
---|
ResourceEntry(IndexContext context,
org.eclipse.emf.common.util.URI resourceURI)
Deprecated.
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addImport(org.eclipse.emf.common.util.URI uri)
Deprecated.
This method adds the specified resource uri to the imports list
|
IResourceEntry |
getDelegate()
Deprecated.
Note: This method is internal and not intended to be invoked by clients.
|
java.util.Collection<java.lang.String> |
getFields()
Deprecated.
Note: this method is not intended to be called by clients.
|
int |
getKind()
Deprecated.
Note: this method is not intended to be called by clients.
|
long |
getModifiedTime()
Deprecated.
Return the last modified time stamp
Note this method is not intended to be called by clients.
|
org.eclipse.emf.common.util.URI |
getResourceURI()
Deprecated.
Return the corresponding resource uri
Note this method is not intended to be called by clients.
|
java.lang.Object |
getValue(java.lang.String field)
Deprecated.
Note: this method is not intended to be called by clients.
|
boolean |
isMultiValued(java.lang.String field)
Deprecated.
Note: this method is not intended to be called by clients.
|
boolean |
isStored(java.lang.String field)
Deprecated.
Note: this method is not intended to be called by clients.
|
public ResourceEntry(IndexContext context, org.eclipse.emf.common.util.URI resourceURI)
context
- the index contextresourceURI
- the resource URI (URI
)public final java.util.Collection<java.lang.String> getFields()
getFields
in interface IIndexEntry
public final java.lang.Object getValue(java.lang.String field)
getValue
in interface IIndexEntry
field
- The specified fieldpublic final boolean isMultiValued(java.lang.String field)
isMultiValued
in interface IIndexEntry
field
- The specified fieldtrue
if value of the field is multi-valuedpublic final boolean isStored(java.lang.String field)
isStored
in interface IIndexEntry
field
- The specified fieldtrue
if value of the field is storedpublic final void addImport(org.eclipse.emf.common.util.URI uri)
uri
- The resource uripublic final long getModifiedTime()
public final org.eclipse.emf.common.util.URI getResourceURI()
public int getKind()
getKind
in interface IIndexEntry
RESOURCE_KIND
or EOBJECT_KIND
public IResourceEntry getDelegate()