Package io.jmix.core.impl
Class MetadataImpl
java.lang.Object
io.jmix.core.impl.MetadataImpl
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<EntityInitializer>
protected Resources
protected Session
protected MetadataTools
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionInstantiate an entity, taking into account extended entities.Instantiate an entity with provided id, taking into account extended entities.<T> T
Instantiate an entity, taking into account extended entities.<T> T
Instantiate 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.Search MetaClass by the corresponding Java class in the whole metamodel.Search MetaClass by its name in the whole metamodel.Search MetaClass by the corresponding Java class in the whole metamodel.Returns MetaClass of the given entity.Search MetaClass by its name in the whole metamodel.Get Metadata session - interface providing access to MetaClasses and MetaProperties.protected <T> T
internalCreate
(Class<T> entityClass) protected <T> T
internalCreate
(Class<T> entityClass, Object id)
-
Field Details
-
session
-
tools
-
resources
-
entityInitializers
-
-
Constructor Details
-
MetadataImpl
-
-
Method Details
-
getSession
Description copied from interface:Metadata
Get Metadata session - interface providing access to MetaClasses and MetaProperties.- Specified by:
getSession
in interfaceMetadata
- Returns:
- current metadata session
-
getClass
Description copied from interface:Metadata
Returns MetaClass of the given entity. -
internalCreate
-
internalCreate
-
create
Description copied from interface:Metadata
Instantiate an entity, taking into account extended entities. -
create
Description copied from interface:Metadata
Instantiate an entity with provided id, taking into account extended entities. -
create
Description copied from interface:Metadata
Instantiate an entity, taking into account extended entities. -
create
Description copied from interface:Metadata
Instantiate an entity with provided id, taking into account extended entities. -
create
Description copied from interface:Metadata
Instantiate an entity, taking into account extended entities. -
create
Description copied from interface:Metadata
Instantiate an entity with provided id, taking into account extended entities. -
findClass
Description copied from interface:Session
Search MetaClass by its name in the whole metamodel. -
getClass
Description copied from interface:Session
Search MetaClass by its name in the whole metamodel. -
findClass
Description copied from interface:Session
Search MetaClass by the corresponding Java class in the whole metamodel. -
getClass
Description copied from interface:Session
Search MetaClass by the corresponding Java class in the whole metamodel. -
getClasses
- Specified by:
getClasses
in interfaceSession
- Returns:
- collection of all MetaClasses in the whole metamodel
-