public class KeyValueMetaClass extends MetadataObjectImpl implements MetaClass
KeyValueEntity.| Constructor and Description |
|---|
KeyValueMetaClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(MetaProperty property) |
MetaClass |
getAncestor()
Immediate ancestor of the object, or null if there is no one.
|
java.util.List<MetaClass> |
getAncestors()
All ancestors of the metaclass, in order going up from the immediate ancestor.
|
java.util.Collection<MetaClass> |
getDescendants()
All descendants of the metaclass, recursively.
|
java.lang.Class |
getJavaClass() |
MetaModel |
getModel() |
java.util.Collection<MetaProperty> |
getOwnProperties() |
java.util.Collection<MetaProperty> |
getProperties() |
MetaProperty |
getProperty(java.lang.String name)
Get MetaProperty by its name.
|
MetaProperty |
getPropertyNN(java.lang.String name)
Get MetaProperty by its name.
|
MetaPropertyPath |
getPropertyPath(java.lang.String propertyPath)
Returns MetaPropertyPath object, representing path to the property from the current class
|
void |
removeProperty(java.lang.String propertyName) |
java.lang.String |
toString() |
getAnnotations, getName, setNameequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotations, getNamepublic void addProperty(MetaProperty property)
public void removeProperty(java.lang.String propertyName)
@Nullable public MetaClass getAncestor()
MetaClassgetAncestor in interface MetaClasspublic java.util.List<MetaClass> getAncestors()
MetaClassgetAncestors in interface MetaClasspublic java.util.Collection<MetaClass> getDescendants()
MetaClassgetDescendants in interface MetaClasspublic MetaModel getModel()
public java.lang.Class getJavaClass()
getJavaClass in interface MetaClasspublic MetaProperty getProperty(java.lang.String name)
MetaClassgetProperty in interface MetaClasspublic MetaProperty getPropertyNN(java.lang.String name)
MetaClassgetPropertyNN in interface MetaClasspublic MetaPropertyPath getPropertyPath(java.lang.String propertyPath)
MetaClassgetPropertyPath in interface MetaClasspropertyPath - dot-separated stringpublic java.util.Collection<MetaProperty> getOwnProperties()
getOwnProperties in interface MetaClasspublic java.util.Collection<MetaProperty> getProperties()
getProperties in interface MetaClasspublic java.lang.String toString()
toString in class java.lang.Object