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