public class DynamicAttributesMetaProperty
extends com.haulmont.chile.core.model.impl.MetadataObjectImpl
implements com.haulmont.chile.core.model.MetaProperty
Modifier and Type | Class and Description |
---|---|
protected static class |
DynamicAttributesMetaProperty.FakeAnnotatedElement |
Modifier and Type | Field and Description |
---|---|
protected java.lang.reflect.AnnotatedElement |
annotatedElement |
protected CategoryAttribute |
attribute |
protected java.lang.Class |
javaClass |
protected java.lang.Boolean |
mandatory |
protected com.haulmont.chile.core.model.MetaClass |
metaClass |
protected com.haulmont.chile.core.model.Range |
range |
protected com.haulmont.chile.core.model.MetaProperty.Type |
type |
Constructor and Description |
---|
DynamicAttributesMetaProperty(com.haulmont.chile.core.model.MetaClass metaClass,
CategoryAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.reflect.AnnotatedElement |
getAnnotatedElement() |
CategoryAttribute |
getAttribute() |
java.lang.Class<?> |
getDeclaringClass() |
com.haulmont.chile.core.model.MetaClass |
getDomain() |
com.haulmont.chile.core.model.MetaProperty |
getInverse() |
java.lang.Class<?> |
getJavaType() |
com.haulmont.chile.core.model.MetaModel |
getModel() |
com.haulmont.chile.core.model.Range |
getRange() |
com.haulmont.chile.core.model.MetaProperty.Type |
getType() |
int |
hashCode() |
boolean |
isMandatory() |
boolean |
isReadOnly() |
getAnnotations, getName, setName
protected final com.haulmont.chile.core.model.MetaClass metaClass
protected final transient com.haulmont.chile.core.model.Range range
protected final java.lang.Class javaClass
protected final java.lang.Boolean mandatory
protected final java.lang.reflect.AnnotatedElement annotatedElement
protected final CategoryAttribute attribute
protected final com.haulmont.chile.core.model.MetaProperty.Type type
public DynamicAttributesMetaProperty(com.haulmont.chile.core.model.MetaClass metaClass, CategoryAttribute attribute)
public com.haulmont.chile.core.model.MetaModel getModel()
getModel
in interface com.haulmont.chile.core.model.MetaProperty
public com.haulmont.chile.core.model.MetaClass getDomain()
getDomain
in interface com.haulmont.chile.core.model.MetaProperty
public com.haulmont.chile.core.model.Range getRange()
getRange
in interface com.haulmont.chile.core.model.MetaProperty
public com.haulmont.chile.core.model.MetaProperty.Type getType()
getType
in interface com.haulmont.chile.core.model.MetaProperty
public boolean isMandatory()
isMandatory
in interface com.haulmont.chile.core.model.MetaProperty
public boolean isReadOnly()
isReadOnly
in interface com.haulmont.chile.core.model.MetaProperty
public com.haulmont.chile.core.model.MetaProperty getInverse()
getInverse
in interface com.haulmont.chile.core.model.MetaProperty
public java.lang.reflect.AnnotatedElement getAnnotatedElement()
getAnnotatedElement
in interface com.haulmont.chile.core.model.MetaProperty
public java.lang.Class<?> getJavaType()
getJavaType
in interface com.haulmont.chile.core.model.MetaProperty
public java.lang.Class<?> getDeclaringClass()
getDeclaringClass
in interface com.haulmont.chile.core.model.MetaProperty
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CategoryAttribute getAttribute()