Package io.jmix.core.metamodel.model
Interface Session
- All Known Subinterfaces:
- Metadata,- SessionImplementation
- All Known Implementing Classes:
- MetadataImpl,- SessionImpl
public interface Session
Meta-model entry point.
- 
Method SummaryModifier and TypeMethodDescriptionSearch 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.Search MetaClass by its name in the whole metamodel.
- 
Method Details- 
findClassSearch MetaClass by its name in the whole metamodel.- Parameters:
- name- entity name
- Returns:
- MetaClass instance or null if not found
 
- 
getClassSearch MetaClass by its name in the whole metamodel.- Parameters:
- name- entity name
- Returns:
- MetaClass instance. Throws exception if not found.
 
- 
findClassSearch MetaClass by the corresponding Java class in the whole metamodel.- Parameters:
- javaClass- Java class defining the entity
- Returns:
- MetaClass instance or null if not found
 
- 
getClassSearch MetaClass by the corresponding Java class in the whole metamodel.- Parameters:
- javaClass- Java class defining the entity
- Returns:
- MetaClass instance. Throws exception if not found.
 
- 
getClassesCollection<MetaClass> getClasses()- Returns:
- collection of all MetaClasses in the whole metamodel
 
 
-