public class OEntityManagerClassHandler extends Object
Constructor and Description |
---|
OEntityManagerClassHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsEntityClass(Class<?> iClass) |
boolean |
containsEntityClass(String iClassName) |
Object |
createInstance(Class<?> iClass) |
void |
deregisterEntityClass(Class<?> iClass) |
void |
deregisterEntityClass(String iClassName) |
Set<Map.Entry<String,Class<?>>> |
getClassesEntrySet() |
Class<?> |
getEntityClass(String iClassName)
Returns the Java class by its name
|
Collection<Class<?>> |
getRegisteredEntities() |
void |
registerEntityClass(Class<?> iClass) |
void |
registerEntityClass(Class<?> iClass,
boolean forceSchemaReload) |
void |
registerEntityClass(String iClassName,
Class<?> iClass) |
void |
registerEntityClass(String iClassName,
Class<?> iClass,
boolean forceSchemaReload) |
public Class<?> getEntityClass(String iClassName)
iClassName
- Simple class name without the packagepublic void registerEntityClass(Class<?> iClass)
public void registerEntityClass(Class<?> iClass, boolean forceSchemaReload)
public void registerEntityClass(String iClassName, Class<?> iClass, boolean forceSchemaReload)
public void deregisterEntityClass(String iClassName)
public void deregisterEntityClass(Class<?> iClass)
public boolean containsEntityClass(String iClassName)
public boolean containsEntityClass(Class<?> iClass)
public Object createInstance(Class<?> iClass) throws InstantiationException, IllegalAccessException, InvocationTargetException
public Collection<Class<?>> getRegisteredEntities()
Copyright © 2009–2020 OrientDB. All rights reserved.