Package io.jmix.core
Interface Metadata
- All Superinterfaces:
Session
- All Known Implementing Classes:
MetadataImpl
Central interface to provide metadata-related functionality.
-
Method Summary
Modifier and TypeMethodDescriptionInstantiate an entity, taking into account extended entities.<T> T
Instantiate an entity, taking into account extended entities.Instantiate an entity, taking into account extended entities.Returns MetaClass of the given entity.Get Metadata session - interface providing access to MetaClasses and MetaProperties.
-
Method Details
-
getSession
Session getSession()Get Metadata session - interface providing access to MetaClasses and MetaProperties.- Returns:
- current metadata session
-
getClass
Returns MetaClass of the given entity.- Parameters:
entity
- entity instance- Returns:
- MetaClass instance
-
create
Instantiate an entity, taking into account extended entities.- Parameters:
entityClass
- entity class- Returns:
- entity instance
-
create
Instantiate an entity, taking into account extended entities.- Parameters:
metaClass
- entity MetaClass- Returns:
- entity instance
-
create
Instantiate an entity, taking into account extended entities.- Parameters:
entityName
- entity name- Returns:
- entity instance
-