public interface Session
Modifier and Type | Method and Description |
---|---|
MetaClass |
getClass(java.lang.Class<?> clazz)
Search MetaClass by the corresponding Java class in the whole metamodel.
|
MetaClass |
getClass(java.lang.String name)
Search MetaClass by its name in the whole metamodel.
|
java.util.Collection<MetaClass> |
getClasses() |
MetaClass |
getClassNN(java.lang.Class<?> clazz)
Search MetaClass by the corresponding Java class in the whole metamodel.
|
MetaClass |
getClassNN(java.lang.String name)
Search MetaClass by its name in the whole metamodel.
|
MetaModel |
getModel(java.lang.String name) |
java.util.Collection<MetaModel> |
getModels() |
MetaModel getModel(java.lang.String name)
java.util.Collection<MetaModel> getModels()
@Nullable MetaClass getClass(java.lang.String name)
name
- entity nameMetaClass getClassNN(java.lang.String name)
name
- entity name@Nullable MetaClass getClass(java.lang.Class<?> clazz)
clazz
- Java class defining the entityMetaClass getClassNN(java.lang.Class<?> clazz)
clazz
- Java class defining the entityjava.util.Collection<MetaClass> getClasses()