public static class ClassUtil.PropertieDescription
extends java.lang.Object
| Constructor and Description |
|---|
PropertieDescription(ClassUtil.ClassInfo classInfo,
java.lang.Class propertyType,
java.lang.reflect.Field field,
java.lang.reflect.Method writeMethod,
java.lang.reflect.Method readMethod,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canread() |
boolean |
canseriable() |
boolean |
canwrite() |
<T extends java.lang.annotation.Annotation> |
findAnnotation(java.lang.Class<T> type) |
java.lang.annotation.Annotation[] |
getAnnotations() |
AttributeWraper |
getAttribute() |
ColumnWraper |
getColumn() |
CookieValueWraper |
getCookie() |
DataBind |
getDataBind() |
java.lang.reflect.Field |
getField() |
RequestHeaderWraper |
getHeader() |
IgnoreBind |
getIgnoreBind() |
IgnoreORMapping |
getIgnoreORMapping() |
MapKey |
getMapkey() |
java.lang.String |
getName() |
java.lang.String |
getOrigineRequestParamName() |
PathVariableWraper |
getPathVariable() |
PrimaryKey |
getPk() |
java.lang.Class |
getPropertyGenericType() |
java.lang.Class[] |
getPropertyGenericTypes() |
java.lang.Class |
getPropertyType() |
java.lang.reflect.Method |
getReadMethod() |
RequestBodyWraper |
getRequestBody() |
RequestParamWraper |
getRequestParam()
if (field.isAnnotationPresent(RequestBody.class)
|| field.isAnnotationPresent(DataBind.class)
|| field.isAnnotationPresent(PathVariable.class)
|| field.isAnnotationPresent(RequestParam.class)
|| field.isAnnotationPresent(Attribute.class)
|| field.isAnnotationPresent(CookieValue.class)
|| field.isAnnotationPresent(RequestHeader.class))
|
java.lang.String |
getRequestParamName() |
java.util.List<ClassUtil.Var> |
getRequestParamNameToken() |
java.lang.String |
getUperName() |
java.lang.Object |
getValue(java.lang.Object po) |
java.lang.reflect.Method |
getWriteMethod() |
EditorInf |
getWriteMethodEditor() |
RequestParamWraper |
getWriteMethodRequestParam() |
boolean |
isEsIdReadSet() |
boolean |
isEsParentIdReadSet() |
boolean |
isNamevariabled() |
boolean |
isNumeric() |
boolean |
isPersistentESDocAsUpsert() |
boolean |
isPersistentESId() |
boolean |
isPersistentESParentId() |
boolean |
isPersistentESRetryOnConflict() |
boolean |
isPersistentESRouting() |
boolean |
isPersistentESSource() |
boolean |
isPersistentESVersion() |
boolean |
isPersistentESVersionType() |
void |
setReadMethod(java.lang.reflect.Method readMethod) |
void |
setValue(java.lang.Object po,
java.lang.Object value) |
void |
setWriteMethod(java.lang.reflect.Method writeMethod) |
java.lang.String |
toString() |
public PropertieDescription(ClassUtil.ClassInfo classInfo, java.lang.Class propertyType, java.lang.reflect.Field field, java.lang.reflect.Method writeMethod, java.lang.reflect.Method readMethod, java.lang.String name)
public IgnoreBind getIgnoreBind()
public RequestParamWraper getRequestParam()
public boolean isNamevariabled()
public java.lang.String getOrigineRequestParamName()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Class[] getPropertyGenericTypes()
public java.lang.Class getPropertyGenericType()
public <T extends java.lang.annotation.Annotation> T findAnnotation(java.lang.Class<T> type)
public boolean canread()
public boolean canwrite()
public boolean canseriable()
public java.lang.Object getValue(java.lang.Object po)
throws java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
java.lang.IllegalArgumentExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionpublic void setValue(java.lang.Object po,
java.lang.Object value)
throws java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
java.lang.IllegalArgumentExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionpublic java.lang.Class getPropertyType()
public java.lang.reflect.Method getWriteMethod()
public java.lang.String getName()
public java.lang.reflect.Method getReadMethod()
public java.lang.reflect.Field getField()
public void setWriteMethod(java.lang.reflect.Method writeMethod)
public void setReadMethod(java.lang.reflect.Method readMethod)
public java.lang.String getRequestParamName()
public java.util.List<ClassUtil.Var> getRequestParamNameToken()
public PrimaryKey getPk()
public ColumnWraper getColumn()
public java.lang.String getUperName()
public java.lang.annotation.Annotation[] getAnnotations()
public CookieValueWraper getCookie()
public RequestHeaderWraper getHeader()
public AttributeWraper getAttribute()
public RequestParamWraper getWriteMethodRequestParam()
public EditorInf getWriteMethodEditor()
public PathVariableWraper getPathVariable()
public DataBind getDataBind()
public RequestBodyWraper getRequestBody()
public MapKey getMapkey()
public IgnoreORMapping getIgnoreORMapping()
public boolean isPersistentESId()
public boolean isPersistentESParentId()
public boolean isPersistentESVersion()
public boolean isPersistentESVersionType()
public boolean isPersistentESRetryOnConflict()
public boolean isPersistentESRouting()
public boolean isPersistentESDocAsUpsert()
public boolean isPersistentESSource()
public boolean isEsParentIdReadSet()
public boolean isEsIdReadSet()
public boolean isNumeric()