public class ClassDescriptorImpl extends TypeDescriptorImpl implements ClassDescriptor, BeanClassDescriptor, EntityDescriptor, EnumDescriptor
Constructor and Description |
---|
ClassDescriptorImpl(Context context,
Class<?> cls) |
Modifier and Type | Method and Description |
---|---|
Map<String,AnnotationDescriptor> |
getAnnotation() |
AnnotationDescriptor[] |
getAnnotations() |
Object[] |
getEnums()
Enum constraints
|
Map<String,FieldDescriptor> |
getField() |
FieldDescriptor[] |
getFields() |
Map<String,FieldDescriptor[]> |
getFieldsByAnnotation() |
Map<String,BeanMethodDescriptor> |
getGetter() |
Map<String,BeanMethodDescriptor> |
getGetterByField() |
BeanMethodDescriptor[] |
getGetters() |
Map<String,MethodDescriptor> |
getMethod() |
MethodDescriptor[] |
getMethods() |
Map<String,MethodDescriptor[]> |
getMethodsByAnnotation() |
String |
getName() |
Map<String,BeanMethodDescriptor> |
getSetter() |
Map<String,BeanMethodDescriptor> |
getSetterByField() |
BeanMethodDescriptor[] |
getSetters() |
String |
getShortName() |
TableDescriptor |
getTable() |
Boolean |
isEntity() |
Boolean |
isEnum()
true if class is enum |
getPackage, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPackage
public String getName()
getName
in interface TypeDescriptor
getName
in class TypeDescriptorImpl
public String getShortName()
getShortName
in interface TypeDescriptor
getShortName
in class TypeDescriptorImpl
public MethodDescriptor[] getMethods()
getMethods
in interface HasMethods
public Map<String,MethodDescriptor> getMethod()
getMethod
in interface HasMethods
public FieldDescriptor[] getFields()
public Map<String,FieldDescriptor> getField()
public BeanMethodDescriptor[] getGetters()
getGetters
in interface BeanClassDescriptor
public Map<String,BeanMethodDescriptor> getGetter()
getGetter
in interface BeanClassDescriptor
public BeanMethodDescriptor[] getSetters()
getSetters
in interface BeanClassDescriptor
public Map<String,BeanMethodDescriptor> getSetter()
getSetter
in interface BeanClassDescriptor
public Map<String,BeanMethodDescriptor> getGetterByField()
getGetterByField
in interface BeanClassDescriptor
public Map<String,BeanMethodDescriptor> getSetterByField()
getSetterByField
in interface BeanClassDescriptor
public TableDescriptor getTable()
getTable
in interface EntityDescriptor
public AnnotationDescriptor[] getAnnotations()
getAnnotations
in interface HasAnnotations
public Map<String,AnnotationDescriptor> getAnnotation()
getAnnotation
in interface HasAnnotations
public Map<String,FieldDescriptor[]> getFieldsByAnnotation()
getFieldsByAnnotation
in interface ClassDescriptor
public Map<String,MethodDescriptor[]> getMethodsByAnnotation()
getMethodsByAnnotation
in interface ClassDescriptor
public Boolean isEntity()
isEntity
in interface EntityDescriptor
public Boolean isEnum()
EnumDescriptor
true
if class is enumisEnum
in interface EnumDescriptor
public Object[] getEnums()
EnumDescriptor
getEnums
in interface EnumDescriptor
Copyright © 2014. All Rights Reserved.