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, setName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotations, getName
public void addProperty(MetaProperty property, CategoryAttribute attribute)
@Nullable public MetaClass getAncestor()
MetaClass
getAncestor
in interface MetaClass
public java.util.List<MetaClass> getAncestors()
MetaClass
getAncestors
in interface MetaClass
public java.util.Collection<MetaClass> getDescendants()
MetaClass
getDescendants
in interface MetaClass
public MetaModel getModel()
public java.lang.Class getJavaClass()
getJavaClass
in interface MetaClass
public MetaProperty getProperty(java.lang.String name)
MetaClass
getProperty
in interface MetaClass
public MetaProperty getPropertyNN(java.lang.String name)
MetaClass
getPropertyNN
in interface MetaClass
public MetaPropertyPath getPropertyPath(java.lang.String propertyPath)
MetaClass
getPropertyPath
in interface MetaClass
propertyPath
- dot-separated stringpublic java.util.Collection<MetaProperty> getOwnProperties()
getOwnProperties
in interface MetaClass
public java.util.Collection<MetaProperty> getProperties()
getProperties
in interface MetaClass
public java.util.Collection<MetaProperty> getPropertiesFilteredByCategory(Category category)