Package io.jmix.core.impl.keyvalue
Class KeyValueMetaClass
java.lang.Object
io.jmix.core.metamodel.model.impl.MetadataObjectImpl
io.jmix.core.impl.keyvalue.KeyValueMetaClass
- All Implemented Interfaces:
- MetaClass,- MetadataObject,- Externalizable,- Serializable
MetaClass for 
KeyValueEntity.- See Also:
- 
Field SummaryFields inherited from class io.jmix.core.metamodel.model.impl.MetadataObjectImplannotations, name
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddProperty(MetaProperty property) findProperty(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 class Note that this method don't take into account extensions(e.g.getStore()voidvoidremoveProperty(String propertyName) voidtoString()voidMethods inherited from class io.jmix.core.metamodel.model.impl.MetadataObjectImplgetAnnotations, getNameMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.jmix.core.metamodel.model.MetadataObjectgetAnnotations, getName
- 
Constructor Details- 
KeyValueMetaClasspublic KeyValueMetaClass()
 
- 
- 
Method Details- 
addProperty
- 
removeProperty
- 
getAncestorDescription copied from interface:MetaClassImmediate ancestor of the object, or null if there is no one.- Specified by:
- getAncestorin interface- MetaClass
 
- 
getAncestorsDescription copied from interface:MetaClassAll ancestors of the metaclass, in order going up from the immediate ancestor.- Specified by:
- getAncestorsin interface- MetaClass
 
- 
getDescendantsDescription copied from interface:MetaClassAll descendants of the metaclass, recursively. Order is undefined.- Specified by:
- getDescendantsin interface- MetaClass
 
- 
getSession- Specified by:
- getSessionin interface- MetaClass
- Returns:
- containing MetaModel instance. Null signifies a temporary metaclass, not associated with an entity class.
 
- 
getJavaClass- Specified by:
- getJavaClassin interface- MetaClass
- Returns:
- corresponding Java class
 
- 
findPropertyDescription copied from interface:MetaClassGet MetaProperty by its name.- Specified by:
- findPropertyin interface- MetaClass
- Returns:
- MetaProperty instance, or null if no such property found
 
- 
getPropertyDescription copied from interface:MetaClassGet MetaProperty by its name.- Specified by:
- getPropertyin interface- MetaClass
- Returns:
- MetaProperty instance. Throws exception if not found.
 
- 
getPropertyPathDescription copied from interface:MetaClassReturns MetaPropertyPath object, representing path to the property from the current class Note that this method don't take into account extensions(e.g. Dynamic Attributes add-on) and it returns null in case of not static attributes(attributes from extension). For getting all attributes (including attributes from extensions) useMetadataTools.resolveMetaPropertyPath(MetaClass, String)orMetadataTools.resolveMetaPropertyPathOrNull(MetaClass, String)methods.- Specified by:
- getPropertyPathin interface- MetaClass
- Parameters:
- propertyPath- dot-separated string
- Returns:
- MetaPropertyPath instance, or null if the input parameter doesn't represent a valid path.
 
- 
getOwnProperties- Specified by:
- getOwnPropertiesin interface- MetaClass
- Returns:
- collection of meta properties directly owned by this metaclass.
 
- 
getProperties- Specified by:
- getPropertiesin interface- MetaClass
- Returns:
- collection of meta properties owned by this metaclass and all its ancestors.
 
- 
getStore
- 
setStore
- 
toString
- 
writeExternal- Specified by:
- writeExternalin interface- Externalizable
- Throws:
- IOException
 
- 
readExternal- Specified by:
- readExternalin interface- Externalizable
- Throws:
- IOException
- ClassNotFoundException
 
 
-