public class DynamicAttributesMetaClass extends MetadataObjectImpl implements MetaClass
| Constructor and Description |
|---|
DynamicAttributesMetaClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(MetaProperty property,
CategoryAttribute attribute) |
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() |
java.util.Collection<MetaProperty> |
getPropertiesFilteredByCategory(Category category) |
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, setNameequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotations, getNamepublic void addProperty(MetaProperty property, CategoryAttribute attribute)
@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.util.Collection<MetaProperty> getPropertiesFilteredByCategory(Category category)