public class KeyValueMetaProperty extends MetadataObjectImpl implements MetaProperty
KeyValueEntity
.Modifier and Type | Class and Description |
---|---|
protected static class |
KeyValueMetaProperty.FakeAnnotatedElement |
MetaProperty.Type
Modifier and Type | Field and Description |
---|---|
protected java.lang.reflect.AnnotatedElement |
annotatedElement |
protected java.lang.Class |
javaClass |
protected java.lang.Boolean |
mandatory |
protected MetaClass |
metaClass |
protected Range |
range |
protected Store |
store |
protected MetaProperty.Type |
type |
name
Constructor and Description |
---|
KeyValueMetaProperty(MetaClass metaClass,
java.lang.String name,
java.lang.Class javaClass,
Range range,
MetaProperty.Type type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.reflect.AnnotatedElement |
getAnnotatedElement() |
java.lang.Class<?> |
getDeclaringClass() |
MetaClass |
getDomain() |
MetaProperty |
getInverse() |
java.lang.Class<?> |
getJavaType() |
Range |
getRange() |
Session |
getSession() |
Store |
getStore() |
MetaProperty.Type |
getType() |
int |
hashCode() |
boolean |
isMandatory() |
boolean |
isReadOnly() |
void |
setStore(Store store) |
getAnnotations, getName, setName
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAnnotations, getName
protected final MetaClass metaClass
protected final transient Range range
protected final java.lang.Class javaClass
protected final java.lang.Boolean mandatory
protected final java.lang.reflect.AnnotatedElement annotatedElement
protected final MetaProperty.Type type
protected Store store
public KeyValueMetaProperty(MetaClass metaClass, java.lang.String name, java.lang.Class javaClass, Range range, MetaProperty.Type type)
public Session getSession()
getSession
in interface MetaProperty
public MetaClass getDomain()
getDomain
in interface MetaProperty
ReplaceEntity
returns extended meta class.public Range getRange()
getRange
in interface MetaProperty
public MetaProperty.Type getType()
getType
in interface MetaProperty
public boolean isMandatory()
isMandatory
in interface MetaProperty
public boolean isReadOnly()
isReadOnly
in interface MetaProperty
public MetaProperty getInverse()
getInverse
in interface MetaProperty
public java.lang.reflect.AnnotatedElement getAnnotatedElement()
getAnnotatedElement
in interface MetaProperty
public java.lang.Class<?> getJavaType()
getJavaType
in interface MetaProperty
public java.lang.Class<?> getDeclaringClass()
getDeclaringClass
in interface MetaProperty
public Store getStore()
getStore
in interface MetaProperty
public void setStore(Store store)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object