public interface MetaClass extends MetadataObject
Modifier and Type | Method and Description |
---|---|
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
|
getAnnotations, getName
@Nullable MetaModel getModel()
java.lang.Class getJavaClass()
@Nullable MetaClass getAncestor()
java.util.List<MetaClass> getAncestors()
java.util.Collection<MetaClass> getDescendants()
@Nullable MetaProperty getProperty(java.lang.String name)
MetaProperty getPropertyNN(java.lang.String name)
@Nullable MetaPropertyPath getPropertyPath(java.lang.String propertyPath)
propertyPath
- dot-separated stringjava.util.Collection<MetaProperty> getOwnProperties()
java.util.Collection<MetaProperty> getProperties()