Package io.jmix.core.metamodel.model
Interface MetaClass
- All Superinterfaces:
- MetadataObject
- All Known Implementing Classes:
- KeyValueMetaClass,- MetaClassImpl
Metadata object representing an entity.
- 
Method SummaryModifier and TypeMethodDescriptionfindProperty(String name) Get MetaProperty by its name.Immediate ancestor of the object, or null if there is no one.All ancestors of the metaclass, in order going up from the immediate ancestor.All descendants of the metaclass, recursively.<T> Class<T>getProperty(String name) Get MetaProperty by its name.getPropertyPath(String propertyPath) Returns MetaPropertyPath object, representing path to the property from the current classgetStore()Methods inherited from interface io.jmix.core.metamodel.model.MetadataObjectgetAnnotations, getName
- 
Method Details- 
getSession- Returns:
- containing MetaModel instance. Null signifies a temporary metaclass, not associated with an entity class.
 
- 
getJavaClass- Returns:
- corresponding Java class
 
- 
getAncestorImmediate ancestor of the object, or null if there is no one.
- 
getAncestorsAll ancestors of the metaclass, in order going up from the immediate ancestor.
- 
getDescendantsCollection<MetaClass> getDescendants()All descendants of the metaclass, recursively. Order is undefined.
- 
findPropertyGet MetaProperty by its name.- Returns:
- MetaProperty instance, or null if no such property found
 
- 
getPropertyGet MetaProperty by its name.- Returns:
- MetaProperty instance. Throws exception if not found.
 
- 
getPropertyPathReturns MetaPropertyPath object, representing path to the property from the current class- Parameters:
- propertyPath- dot-separated string
- Returns:
- MetaPropertyPath instance, or null if the input parameter doesn't represent a valid path.
 
- 
getOwnPropertiesCollection<MetaProperty> getOwnProperties()- Returns:
- collection of meta properties directly owned by this metaclass.
 
- 
getPropertiesCollection<MetaProperty> getProperties()- Returns:
- collection of meta properties owned by this metaclass and all its ancestors.
 
- 
getStoreStore getStore()- Returns:
- store of this entity
 
 
-