public class DynamicAttributesMetaProperty extends MetadataObjectImpl implements MetaProperty
Modifier and Type | Class and Description |
---|---|
protected static class |
DynamicAttributesMetaProperty.FakeAnnotatedElement |
MetaProperty.Type
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 MetaClass |
metaClass |
protected Range |
range |
protected MetaProperty.Type |
type |
name
Constructor and Description |
---|
DynamicAttributesMetaProperty(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() |
MetaClass |
getDomain() |
MetaProperty |
getInverse() |
java.lang.Class<?> |
getJavaType() |
MetaModel |
getModel() |
Range |
getRange() |
MetaProperty.Type |
getType() |
int |
hashCode() |
boolean |
isMandatory() |
boolean |
isReadOnly() |
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 CategoryAttribute attribute
protected final MetaProperty.Type type
public DynamicAttributesMetaProperty(MetaClass metaClass, CategoryAttribute attribute)
public MetaModel getModel()
getModel
in interface MetaProperty
public MetaClass getDomain()
getDomain
in interface MetaProperty
Extends
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 boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CategoryAttribute getAttribute()