Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.index
Annotation Type Version


Deprecated. Use the version attribute on indexing-hook when declaring your Indexer in the extension manifest file.

@Deprecated
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Version

Specifies the version of an Indexer implementation. Index data will be invalidated if the version changes. The version can be any string. It is not required to be numerical or match any specific pattern. Version strings are only tested for string equality. Unequal strings cause invalidation of index data.

The version should change whenever the data stored by the Indexer implementation changes in any significant way, such that the index data must be rebuilt. It should also change if the Indexer implementation is registered for a different set of Node types.

If an Indexer implementation does not have this annotation, it can later be added. The absense of a version annotation is considered unequal to any version string. So addition of the annotation will invalidate the index data. It is recommended that for any implementation which does not already have this annotation, the owner wait until there is a change which requires invalidation of the index data before adding the annotation. That will avoid unnecessarily invalidating existing index data.

Since:
11.1.1.2

Required Element Summary
 java.lang.String value
          Deprecated.  
 

Element Detail

value

public abstract java.lang.String value
Deprecated. 

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.