|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neodatis.odb.impl.main.DefaultClassRepresentation
public class DefaultClassRepresentation
Constructor Summary | |
---|---|
DefaultClassRepresentation(IStorageEngine storageEngine,
ClassInfo classInfo)
|
Method Summary | |
---|---|
void |
addFullInstantiationHelper(FullInstantiationHelper instantiationHelper)
Adds an helper to tell ODB what class to call to create an instance |
void |
addIndexOn(java.lang.String name,
java.lang.String[] indexFields,
boolean verbose)
|
void |
addInstantiationHelper(InstantiationHelper instantiationHelper)
Adds an helper to tell ODB what class to call to create an instance |
void |
addParameterHelper(ParameterHelper parameterHelper)
Adds an helper to tell ODB how to create an instance when no default constructor is available |
void |
addUniqueIndexOn(java.lang.String name,
java.lang.String[] indexFields,
boolean verbose)
|
void |
deleteIndex(java.lang.String indexName,
boolean verbose)
|
void |
doNotPersistAttribute(java.lang.String attributeName)
|
boolean |
existIndex(java.lang.String indexName)
To check if an index exist |
java.util.List<java.lang.String> |
getIndexDescriptions()
|
void |
persistAttribute(java.lang.String attributeName)
|
void |
rebuildIndex(java.lang.String indexName,
boolean verbose)
Used to rebuild an index |
void |
removeFullInstantiationHelper()
Remove the instantiation helper of this class, if exists |
void |
removeInstantiationHelper()
Remove the instantiation helper of this class, if exists |
void |
removeParameterHelper()
Remove the parameter helper for this class, if exists |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultClassRepresentation(IStorageEngine storageEngine, ClassInfo classInfo)
Method Detail |
---|
public void addUniqueIndexOn(java.lang.String name, java.lang.String[] indexFields, boolean verbose)
addUniqueIndexOn
in interface ClassRepresentation
name
- The name of the indexindexFields
- The list of fields of the indexverbose
- A boolean value to indicate of ODB must describe what it is
doingpublic void addIndexOn(java.lang.String name, java.lang.String[] indexFields, boolean verbose)
addIndexOn
in interface ClassRepresentation
name
- The name of the indexindexFields
- The list of fields of the indexverbose
- A boolean value to indicate of ODB must describe what it is
doingpublic void addInstantiationHelper(InstantiationHelper instantiationHelper)
ClassRepresentation
addInstantiationHelper
in interface ClassRepresentation
public void addFullInstantiationHelper(FullInstantiationHelper instantiationHelper)
ClassRepresentation
addFullInstantiationHelper
in interface ClassRepresentation
public void addParameterHelper(ParameterHelper parameterHelper)
ClassRepresentation
addParameterHelper
in interface ClassRepresentation
public void removeInstantiationHelper()
ClassRepresentation
removeInstantiationHelper
in interface ClassRepresentation
public void removeFullInstantiationHelper()
ClassRepresentation
removeFullInstantiationHelper
in interface ClassRepresentation
public void removeParameterHelper()
ClassRepresentation
removeParameterHelper
in interface ClassRepresentation
public boolean existIndex(java.lang.String indexName)
ClassRepresentation
existIndex
in interface ClassRepresentation
public void rebuildIndex(java.lang.String indexName, boolean verbose)
rebuildIndex
in interface ClassRepresentation
public void deleteIndex(java.lang.String indexName, boolean verbose)
deleteIndex
in interface ClassRepresentation
public java.util.List<java.lang.String> getIndexDescriptions()
getIndexDescriptions
in interface ClassRepresentation
public void doNotPersistAttribute(java.lang.String attributeName)
doNotPersistAttribute
in interface ClassRepresentation
public void persistAttribute(java.lang.String attributeName)
persistAttribute
in interface ClassRepresentation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |