Package io.jmix.core
Class ExtendedEntities
java.lang.Object
io.jmix.core.ExtendedEntities
Encapsulates functionality for working with extended entities.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetEffectiveClass(MetaClass originalMetaClass) Searches for an extended entity and returns it if found, otherwise returns the original entity.getEffectiveClass(Class originalClass) Searches for an extended entity and returns it if found, otherwise returns the original entity.getEffectiveClass(String entityName) Searches for an extended entity and returns it if found, otherwise returns the original entity.getEffectiveMetaClass(MetaClass originalMetaClass) Searches for an extended entity and returns it if found, otherwise returns the original entity.getEffectiveMetaClass(Class originalClass) Searches for an extended entity and returns it if found, otherwise returns the original entity.getEffectiveMetaClass(String entityName) Searches for an extended entity and returns it if found, otherwise returns the original entity.getExtendedClass(MetaClass originalMetaClass) Searches for an extended entity and returns it if found.getOriginalClass(MetaClass extendedMetaClass) Searches for an original entity for the provided extended entity.getOriginalMetaClass(MetaClass extendedMetaClass) Searches for an original entity for the provided extended entity.getOriginalMetaClass(String extendedEntityName) Searches for an original entity for the provided extended entity.getOriginalOrThisMetaClass(MetaClass metaClass) voidregisterReplacedMetaClass(MetaClass metaClass) INTERNAL.protected void
- 
Field Details- 
metadata
- 
replacedMetaClasses
 
- 
- 
Constructor Details- 
ExtendedEntities
 
- 
- 
Method Details- 
replaceExtendedMetaClassesprotected void replaceExtendedMetaClasses()
- 
getEffectiveClassSearches for an extended entity and returns it if found, otherwise returns the original entity.- Parameters:
- originalMetaClass- original entity
- Returns:
- extended or original entity
 
- 
getEffectiveClassSearches for an extended entity and returns it if found, otherwise returns the original entity.- Parameters:
- originalClass- original entity
- Returns:
- extended or original entity
 
- 
getEffectiveClassSearches for an extended entity and returns it if found, otherwise returns the original entity.- Parameters:
- entityName- original entity
- Returns:
- extended or original entity
 
- 
getEffectiveMetaClassSearches for an extended entity and returns it if found, otherwise returns the original entity.- Parameters:
- originalMetaClass- original entity
- Returns:
- extended or original entity
 
- 
getEffectiveMetaClassSearches for an extended entity and returns it if found, otherwise returns the original entity.- Parameters:
- originalClass- original entity
- Returns:
- extended or original entity
 
- 
getEffectiveMetaClassSearches for an extended entity and returns it if found, otherwise returns the original entity.- Parameters:
- entityName- original entity
- Returns:
- extended or original entity
 
- 
getExtendedClassSearches for an extended entity and returns it if found.- Parameters:
- originalMetaClass- original entity
- Returns:
- extended entity or null if the provided entity has no extension
 
- 
getOriginalClassSearches for an original entity for the provided extended entity.- Parameters:
- extendedMetaClass- extended entity
- Returns:
- original entity or null if the provided entity is not an extension
 
- 
getOriginalMetaClassSearches for an original entity for the provided extended entity.- Parameters:
- extendedMetaClass- extended entity
- Returns:
- original entity or null if the provided entity is not an extension
 
- 
getOriginalMetaClassSearches for an original entity for the provided extended entity.- Parameters:
- extendedEntityName- extended entity
- Returns:
- original entity or null if the provided entity is not an extension
 
- 
getOriginalOrThisMetaClass- Returns:
- original meta class or received meta class if it's not extended
 
- 
registerReplacedMetaClassINTERNAL. Import replaced meta class from metadata.
 
-