Servertec
Persistent Object Store
1.4.1 09/04/2005

stec.xpos
Class IndexDescriptor

java.lang.Object
  extended by stec.xpos.IndexDescriptor

public final class IndexDescriptor
extends java.lang.Object

Reference to existing Index used by IndexedObjectStore when associating one or more existing indexes with an existing persistant object store.

Since:
1.1.0 09/01/2002

Constructor Summary
IndexDescriptor(java.lang.String name, java.lang.String filename, java.lang.String indexer_class_name)
          Constructor used to create an index descriptor used by IndexedObjectStore when associating one or more existing indexes with an existing persistant object store.
 
Method Summary
 java.lang.String getFilename()
          Returns the filename of the index.
 java.lang.String getIndexer()
          Returns the class name of the indexer.
 java.lang.String getName()
          Returns the name of the index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexDescriptor

public IndexDescriptor(java.lang.String name,
                       java.lang.String filename,
                       java.lang.String indexer_class_name)
                throws java.lang.IllegalArgumentException,
                       java.io.FileNotFoundException,
                       java.lang.ClassNotFoundException,
                       java.lang.IllegalAccessException,
                       java.lang.InstantiationException,
                       java.io.IOException
Constructor used to create an index descriptor used by IndexedObjectStore when associating one or more existing indexes with an existing persistant object store.

Parameters:
name - the name of the index.
filename - the path and base file name of the index.
indexer_class_name - the class name of the indexer.
Throws:
java.lang.IllegalArgumentException - if any of the parameters specified were not valid.
java.io.FileNotFoundException - if the index specified is not found.
java.lang.ClassNotFoundException - if the indexer_class_name cannot be found.
java.lang.IllegalAccessException - if the indexer_class_name cannot be loaded because the class is not public or is in another package.
java.lang.InstantiationException - if the indexer_class_name cannot be instantiated because it is an interface or an abstract class.
java.io.IOException - if an I/O exception occurred.
Method Detail

getName

public final java.lang.String getName()
Returns the name of the index.

Returns:
the name of the index.

getFilename

public final java.lang.String getFilename()
Returns the filename of the index.

Returns:
the filename of the index.

getIndexer

public final java.lang.String getIndexer()
Returns the class name of the indexer.

Returns:
the class name of the indexer.

Servertec
Persistent Object Store
1.4.1 09/04/2005

Copyright © 2001-2005 Servertec. All rights reserved.