public interface Metadata extends Session
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
<T> T |
create(java.lang.Class<T> entityClass)
Instantiate an entity, taking into account extended entities.
|
Entity |
create(MetaClass metaClass)
Instantiate an entity, taking into account extended entities.
|
Entity |
create(java.lang.String entityName)
Instantiate an entity, taking into account extended entities.
|
DatatypeRegistry |
getDatatypes()
Convenient access to
DatatypeRegistry bean. |
ExtendedEntities |
getExtendedEntities()
Convenient access to
ExtendedEntities bean. |
java.util.List<java.lang.String> |
getRootPackages() |
Session |
getSession()
Get Metadata session - interface providing access to MetaClasses and MetaProperties.
|
MetadataTools |
getTools()
Convenient access to
MetadataTools bean. |
ViewRepository |
getViewRepository()
Convenient access to
ViewRepository bean. |
getClass, getClass, getClasses, getClassNN, getClassNN, getModel, getModels
static final java.lang.String NAME
Session getSession()
ViewRepository getViewRepository()
ViewRepository
bean.ExtendedEntities getExtendedEntities()
ExtendedEntities
bean.MetadataTools getTools()
MetadataTools
bean.DatatypeRegistry getDatatypes()
DatatypeRegistry
bean.<T> T create(java.lang.Class<T> entityClass)
entityClass
- entity classEntity create(MetaClass metaClass)
metaClass
- entity MetaClassEntity create(java.lang.String entityName)
entityName
- entity namejava.util.List<java.lang.String> getRootPackages()