org.compass.gps.device.hibernate.dep
Class HibernateEntityInfo

java.lang.Object
  extended by org.compass.gps.device.hibernate.dep.HibernateEntityInfo
All Implemented Interfaces:
IndexEntity

public class HibernateEntityInfo
extends Object
implements IndexEntity

A data holder used to index a specific Hibernate entity.


Constructor Summary
HibernateEntityInfo(String entityname, String selectQuery, String[] subIndexes)
           
 
Method Summary
 String getName()
          Returns the name of the index entity.
 String getSelectQuery()
           
 String[] getSubIndexes()
          Returns a list of the sub indexes this indexable content the index entity represents is going to be indexed into.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateEntityInfo

public HibernateEntityInfo(String entityname,
                           String selectQuery,
                           String[] subIndexes)
Method Detail

getName

public String getName()
Description copied from interface: IndexEntity
Returns the name of the index entity.

Specified by:
getName in interface IndexEntity

getSelectQuery

public String getSelectQuery()

getSubIndexes

public String[] getSubIndexes()
Description copied from interface: IndexEntity
Returns a list of the sub indexes this indexable content the index entity represents is going to be indexed into. Used for parallel indexing.

Specified by:
getSubIndexes in interface IndexEntity


Copyright (c) 2004-2009 The Compass Project.