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