public class MetaPropertyImpl extends MetadataObjectImpl implements MetaProperty
MetaProperty.Type
name
Constructor and Description |
---|
MetaPropertyImpl(MetaClass domain,
java.lang.String name) |
MetaPropertyImpl(MetaPropertyImpl prototype) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.AnnotatedElement |
getAnnotatedElement() |
java.util.Map<java.lang.String,java.lang.Object> |
getAnnotations()
MetadataObject annotations.
|
java.lang.Class<?> |
getDeclaringClass() |
MetaClass |
getDomain() |
MetaProperty |
getInverse() |
java.lang.Class<?> |
getJavaType() |
Range |
getRange() |
Session |
getSession() |
Store |
getStore() |
MetaProperty.Type |
getType() |
boolean |
isMandatory() |
boolean |
isReadOnly() |
void |
setAnnotatedElement(java.lang.reflect.AnnotatedElement annotatedElement) |
void |
setDeclaringClass(java.lang.Class<?> declaringClass) |
void |
setDomain(MetaClass domain) |
void |
setInverse(MetaProperty inverse) |
void |
setJavaType(java.lang.Class<?> javaType) |
void |
setMandatory(boolean mandatory) |
void |
setRange(Range range) |
void |
setReadOnly(boolean readOnly) |
void |
setStore(Store store) |
void |
setType(MetaProperty.Type type) |
java.lang.String |
toString() |
protected void |
withClones(java.util.function.Consumer<MetaPropertyImpl> consumer) |
getName, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
public MetaPropertyImpl(MetaClass domain, java.lang.String name)
public MetaPropertyImpl(MetaPropertyImpl prototype)
public MetaClass getDomain()
getDomain
in interface MetaProperty
ReplaceEntity
returns extended meta class.public void setDomain(MetaClass domain)
public MetaProperty getInverse()
getInverse
in interface MetaProperty
public void setInverse(MetaProperty inverse)
public Session getSession()
getSession
in interface MetaProperty
public Range getRange()
getRange
in interface MetaProperty
public void setRange(Range range)
public java.lang.reflect.AnnotatedElement getAnnotatedElement()
getAnnotatedElement
in interface MetaProperty
public void setAnnotatedElement(java.lang.reflect.AnnotatedElement annotatedElement)
public java.lang.Class<?> getJavaType()
getJavaType
in interface MetaProperty
public void setJavaType(java.lang.Class<?> javaType)
public java.lang.Class<?> getDeclaringClass()
getDeclaringClass
in interface MetaProperty
public Store getStore()
getStore
in interface MetaProperty
public void setStore(Store store)
public void setDeclaringClass(java.lang.Class<?> declaringClass)
public MetaProperty.Type getType()
getType
in interface MetaProperty
public void setType(MetaProperty.Type type)
public boolean isMandatory()
isMandatory
in interface MetaProperty
public void setMandatory(boolean mandatory)
public boolean isReadOnly()
isReadOnly
in interface MetaProperty
public void setReadOnly(boolean readOnly)
public java.util.Map<java.lang.String,java.lang.Object> getAnnotations()
MetadataObject
getAnnotations
in interface MetadataObject
getAnnotations
in class MetadataObjectImpl
protected void withClones(java.util.function.Consumer<MetaPropertyImpl> consumer)
public java.lang.String toString()
toString
in class java.lang.Object