public class KeyValueMetaProperty
extends com.haulmont.chile.core.model.impl.MetadataObjectImpl
implements com.haulmont.chile.core.model.MetaProperty
KeyValueEntity
.Modifier and Type | Class and Description |
---|---|
protected static class |
KeyValueMetaProperty.FakeAnnotatedElement |
Modifier and Type | Field and Description |
---|---|
protected java.lang.reflect.AnnotatedElement |
annotatedElement |
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 |
---|
KeyValueMetaProperty(com.haulmont.chile.core.model.MetaClass metaClass,
java.lang.String name,
java.lang.Class javaClass) |
KeyValueMetaProperty(com.haulmont.chile.core.model.MetaClass metaClass,
java.lang.String name,
com.haulmont.chile.core.datatypes.Datatype datatype) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.reflect.AnnotatedElement |
getAnnotatedElement() |
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 com.haulmont.chile.core.model.MetaProperty.Type type
public KeyValueMetaProperty(com.haulmont.chile.core.model.MetaClass metaClass, java.lang.String name, java.lang.Class javaClass)
public KeyValueMetaProperty(com.haulmont.chile.core.model.MetaClass metaClass, java.lang.String name, com.haulmont.chile.core.datatypes.Datatype datatype)
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