public interface IIndexEntry
IIndexProvider
creates these entries while parsing/loading the
resource. The index provider is invoked for the associated content type to
create a collection of these entries corresponding to the
EObject
s within that resource. Every resource
has a ResourceEntry
and a collection of
EObjectEntry
s that correspond to each EObject
within the resource. The field names should correspond to the set of fields
defined in the IIndexProvider
interface. Clients should not
implement this interface. Clients should use the ResourceEntry
and EObjectEntry
classes. Clients should not invoke any method
on this interface.Modifier and Type | Field and Description |
---|---|
static int |
EOBJECT_KIND
Deprecated.
Entry kind constant indicating associated with eObject infromation
|
static int |
RESOURCE_KIND
Deprecated.
Entry kind constant indicating associated with resource infromation
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getFields()
Deprecated.
Return the collections of fields.
|
int |
getKind()
Deprecated.
Returns the kind of entry
|
java.lang.Object |
getValue(java.lang.String field)
Deprecated.
Return the value the specified field.
|
boolean |
isMultiValued(java.lang.String field)
Deprecated.
Returns whether the specified field has multiple values or a single value
|
boolean |
isStored(java.lang.String field)
Deprecated.
Returns whether the value of the specified field is to be stored in the
index for return with search results.
|
static final int RESOURCE_KIND
getKind()
,
Constant Field Valuesstatic final int EOBJECT_KIND
getKind()
,
Constant Field Valuesjava.util.Collection<java.lang.String> getFields()
java.lang.String
java.lang.Object getValue(java.lang.String field)
java.util.Collection
of java.lang.String
s
if the field is a multi valued field, otherwise it is a
java.lang.String
field
- The specified fieldboolean isStored(java.lang.String field)
field
- The specified fieldtrue
if value of the field is storedboolean isMultiValued(java.lang.String field)
field
- The specified fieldtrue
if value of the field is multi-valuedint getKind()
RESOURCE_KIND
or EOBJECT_KIND