@Deprecated public class EntityManagerClassHandler extends com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
OEntityManagerClassHandler
uses Class.getSimpleName()
, which causes issues when we have to use
classes in hierarchy with the same name.https://groups.google.com/forum/#!topic/orient-database/5k_tJnxIknk
,
https://stackoverflow.com/questions/50157575/cannot-add-base-class-xyz-because-of-recursion-oentitymanagerclasshandler
Modifier and Type | Field and Description |
---|---|
protected Map<String,Class<?>> |
entityClasses
Deprecated.
|
Constructor and Description |
---|
EntityManagerClassHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsEntityClass(Class<?> iClass)
Deprecated.
|
boolean |
containsEntityClass(String iClassName)
Deprecated.
|
Object |
createInstance(Class<?> iClass)
Deprecated.
|
void |
deregisterEntityClass(Class<?> iClass)
Deprecated.
|
void |
deregisterEntityClass(String iClassName)
Deprecated.
|
Set<Map.Entry<String,Class<?>>> |
getClassesEntrySet()
Deprecated.
|
Collection<Class<?>> |
getRegisteredEntities()
Deprecated.
|
void |
registerEntityClass(Class<?> iClass)
Deprecated.
|
void |
registerEntityClass(Class<?> iClass,
boolean forceSchemaReload)
Deprecated.
|
void |
registerEntityClass(String iClassName,
Class<?> iClass)
Deprecated.
|
void |
registerEntityClass(String iClassName,
Class<?> iClass,
boolean forceSchemaReload)
Deprecated.
|
public void registerEntityClass(Class<?> iClass)
registerEntityClass
in class com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
public void registerEntityClass(Class<?> iClass, boolean forceSchemaReload)
registerEntityClass
in class com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
public void registerEntityClass(String iClassName, Class<?> iClass)
registerEntityClass
in class com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
public void registerEntityClass(String iClassName, Class<?> iClass, boolean forceSchemaReload)
registerEntityClass
in class com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
public void deregisterEntityClass(String iClassName)
deregisterEntityClass
in class com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
public void deregisterEntityClass(Class<?> iClass)
deregisterEntityClass
in class com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
public Set<Map.Entry<String,Class<?>>> getClassesEntrySet()
getClassesEntrySet
in class com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
public boolean containsEntityClass(String iClassName)
containsEntityClass
in class com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
public boolean containsEntityClass(Class<?> iClass)
containsEntityClass
in class com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
public Object createInstance(Class<?> iClass) throws InstantiationException, IllegalAccessException, InvocationTargetException
createInstance
in class com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
InstantiationException
IllegalAccessException
InvocationTargetException
public Collection<Class<?>> getRegisteredEntities()
getRegisteredEntities
in class com.orientechnologies.orient.core.entity.OEntityManagerClassHandler
Copyright © 2018. All rights reserved.