public class MetaPropertyImpl extends MetadataObjectImpl implements MetaProperty
MetaProperty.Type
name
Constructor and Description |
---|
MetaPropertyImpl(MetaClass domain,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.AnnotatedElement |
getAnnotatedElement() |
java.lang.Class<?> |
getDeclaringClass() |
MetaClass |
getDomain() |
MetaProperty |
getInverse() |
java.lang.Class<?> |
getJavaType() |
MetaModel |
getModel() |
Range |
getRange() |
MetaProperty.Type |
getType() |
boolean |
isMandatory() |
boolean |
isReadOnly() |
protected java.lang.Object |
readResolve() |
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 |
setType(MetaProperty.Type type) |
java.lang.String |
toString() |
getAnnotations, getName, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotations, getName
public MetaPropertyImpl(MetaClass domain, java.lang.String name)
protected java.lang.Object readResolve() throws java.io.InvalidObjectException
java.io.InvalidObjectException
public MetaClass getDomain()
getDomain
in interface MetaProperty
Extends
returns extended meta class.public void setDomain(MetaClass domain)
public MetaProperty getInverse()
getInverse
in interface MetaProperty
public void setInverse(MetaProperty inverse)
public MetaModel getModel()
getModel
in interface MetaProperty
public Range getRange()
getRange
in interface MetaProperty
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 void setDeclaringClass(java.lang.Class<?> declaringClass)
public void setRange(Range range)
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.lang.String toString()
toString
in class java.lang.Object