public class DisconfCenterItem extends DisconfCenterBaseModel
| Constructor and Description |
|---|
DisconfCenterItem() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getDeclareClass() |
Object |
getFieldDefaultValue(Object object) |
Object |
getFieldValueByType(Object fieldValue)
返回值
|
String |
getKey() |
Object |
getValue() |
String |
infoString() |
boolean |
isStatic()
是否是静态域
|
void |
setField(Field field) |
void |
setKey(String key) |
void |
setSetMethod(Method setMethod) |
void |
setValue(Object value) |
Object |
setValue4FileItem(Object object,
Object value) |
Object |
setValue4StaticFileItem(Object value)
设置value, 优先使用 setter method, 然后其次是反射
|
String |
toString() |
getDisconfCommonCallbackModel, getDisConfCommonModel, getObject, getRemoteServerUrl, setDisconfCommonCallbackModel, setDisConfCommonModel, setObject, setRemoteServerUrlpublic String getKey()
public void setKey(String key)
public Object getValue()
public void setValue(Object value)
public void setField(Field field)
public boolean isStatic()
public Class<?> getDeclareClass()
public void setSetMethod(Method setMethod)
public Object getFieldValueByType(Object fieldValue) throws Exception
fieldValue - Exceptionpublic Object getFieldDefaultValue(Object object) throws Exception
Exceptionpublic Object setValue4StaticFileItem(Object value) throws Exception
value - Exceptionpublic Object setValue4FileItem(Object object, Object value) throws Exception
Exceptionpublic String toString()
toString in class DisconfCenterBaseModelpublic String infoString()
infoString in class DisconfCenterBaseModelCopyright © 2015–2016 Baidu. All rights reserved.