| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDescription()
get the description
|
Field |
getField()
get the field
|
FieldType |
getFieldType()
get the fieldType
|
Class<?> |
getGenericeValueType()
get the genericeValueType
|
Class<?> |
getGenericKeyType()
get the genericKeyType
|
int |
getOrder()
get the order
|
boolean |
hasDescription() |
boolean |
isList()
get the isList
|
boolean |
isMap()
get the isMap
|
boolean |
isRequired()
get the required
|
void |
setDescription(String description)
set description value to description
|
void |
setFieldType(FieldType fieldType)
set fieldType value to fieldType
|
void |
setGenericeValueType(Class<?> genericeValueType)
set genericeValueType value to genericeValueType
|
void |
setGenericKeyType(Class<?> genericKeyType)
set genericKeyType value to genericKeyType
|
void |
setList(boolean isList)
set isList value to isList
|
void |
setMap(boolean isMap)
set isMap value to isMap
|
void |
setOrder(int order)
set order value to order
|
void |
setRequired(boolean required)
set required value to required
|
public FieldInfo(Field field)
field - public boolean isList()
public void setList(boolean isList)
isList - the isList to setpublic boolean isMap()
public void setMap(boolean isMap)
isMap - the isMap to setpublic Field getField()
public boolean isRequired()
public void setRequired(boolean required)
required - the required to setpublic int getOrder()
public void setOrder(int order)
order - the order to setpublic FieldType getFieldType()
public void setFieldType(FieldType fieldType)
fieldType - the fieldType to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic boolean hasDescription()
public Class<?> getGenericKeyType()
public void setGenericKeyType(Class<?> genericKeyType)
genericKeyType - the genericKeyType to setpublic Class<?> getGenericeValueType()
public void setGenericeValueType(Class<?> genericeValueType)
genericeValueType - the genericeValueType to setCopyright © 2016 Baidu, Inc.. All rights reserved.