|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.gps.device.jpa.entities.EntityInformation
public class EntityInformation
A general Entity information to be used by the JpaGpsDevice
during the indexing process.
JpaEntitiesLocator| Constructor Summary | |
|---|---|
EntityInformation(Class<?> clazz,
String name,
JpaQueryProvider queryProvider,
String[] subIndexes)
|
|
EntityInformation(Class<?> clazz,
String name,
String[] subIndexes)
|
|
EntityInformation(Class<?> clazz,
String name,
String selectQuery,
String[] subIndexes)
|
|
| Method Summary | |
|---|---|
Class<?> |
getEntityClass()
Returns the entity class associated with the entity |
String |
getName()
Returns the entity name |
JpaQueryProvider |
getQueryProvider()
Gets a query provider. |
String[] |
getSubIndexes()
Returns a list of the sub indexes this indexable content the index entity represents is going to be indexed into. |
void |
setQueryProvider(JpaQueryProvider queryProvider)
Sets a query provider. |
void |
setSelectQuery(String selectQuery)
Sets a string based select query. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityInformation(Class<?> clazz,
String name,
String[] subIndexes)
public EntityInformation(Class<?> clazz,
String name,
String selectQuery,
String[] subIndexes)
public EntityInformation(Class<?> clazz,
String name,
JpaQueryProvider queryProvider,
String[] subIndexes)
| Method Detail |
|---|
public Class<?> getEntityClass()
public String getName()
getName in interface IndexEntitypublic void setSelectQuery(String selectQuery)
DefaultJpaQueryProvider
based on the string query.
public void setQueryProvider(JpaQueryProvider queryProvider)
public JpaQueryProvider getQueryProvider()
public String[] getSubIndexes()
getSubIndexes in interface IndexEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||