public class DynamicAttributesMetaClass
extends com.haulmont.chile.core.model.impl.MetadataObjectImpl
implements com.haulmont.chile.core.model.MetaClass
Constructor and Description |
---|
DynamicAttributesMetaClass() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(com.haulmont.chile.core.model.MetaProperty property,
CategoryAttribute attribute) |
com.haulmont.chile.core.model.MetaClass |
getAncestor() |
java.util.List<com.haulmont.chile.core.model.MetaClass> |
getAncestors() |
java.util.Collection<com.haulmont.chile.core.model.MetaClass> |
getDescendants() |
java.lang.Class |
getJavaClass() |
com.haulmont.chile.core.model.MetaModel |
getModel() |
java.util.Collection<com.haulmont.chile.core.model.MetaProperty> |
getOwnProperties() |
java.util.Collection<com.haulmont.chile.core.model.MetaProperty> |
getProperties() |
java.util.Collection<com.haulmont.chile.core.model.MetaProperty> |
getPropertiesFilteredByCategory(Category category) |
com.haulmont.chile.core.model.MetaProperty |
getProperty(java.lang.String name) |
com.haulmont.chile.core.model.MetaProperty |
getPropertyNN(java.lang.String name) |
com.haulmont.chile.core.model.MetaPropertyPath |
getPropertyPath(java.lang.String propertyPath) |
getAnnotations, getName, setName
public void addProperty(com.haulmont.chile.core.model.MetaProperty property, CategoryAttribute attribute)
@Nullable public com.haulmont.chile.core.model.MetaClass getAncestor()
getAncestor
in interface com.haulmont.chile.core.model.MetaClass
public java.util.List<com.haulmont.chile.core.model.MetaClass> getAncestors()
getAncestors
in interface com.haulmont.chile.core.model.MetaClass
public java.util.Collection<com.haulmont.chile.core.model.MetaClass> getDescendants()
getDescendants
in interface com.haulmont.chile.core.model.MetaClass
public com.haulmont.chile.core.model.MetaModel getModel()
getModel
in interface com.haulmont.chile.core.model.MetaClass
public java.lang.Class getJavaClass()
getJavaClass
in interface com.haulmont.chile.core.model.MetaClass
public com.haulmont.chile.core.model.MetaProperty getProperty(java.lang.String name)
getProperty
in interface com.haulmont.chile.core.model.MetaClass
public com.haulmont.chile.core.model.MetaProperty getPropertyNN(java.lang.String name)
getPropertyNN
in interface com.haulmont.chile.core.model.MetaClass
public com.haulmont.chile.core.model.MetaPropertyPath getPropertyPath(java.lang.String propertyPath)
getPropertyPath
in interface com.haulmont.chile.core.model.MetaClass
public java.util.Collection<com.haulmont.chile.core.model.MetaProperty> getOwnProperties()
getOwnProperties
in interface com.haulmont.chile.core.model.MetaClass
public java.util.Collection<com.haulmont.chile.core.model.MetaProperty> getProperties()
getProperties
in interface com.haulmont.chile.core.model.MetaClass
public java.util.Collection<com.haulmont.chile.core.model.MetaProperty> getPropertiesFilteredByCategory(Category category)