@ProviderType
public interface BeanProperties
Modifier and Type | Method and Description |
---|---|
void |
copyProperties(Object source,
Object target) |
void |
copyProperties(Object source,
Object target,
Class<?> editable) |
void |
copyProperties(Object source,
Object target,
String[] ignoreProperties) |
<T> T |
deepCopyProperties(Object source) |
boolean |
getBoolean(Object bean,
String param) |
boolean |
getBoolean(Object bean,
String param,
boolean defaultValue) |
boolean |
getBooleanSilent(Object bean,
String param) |
boolean |
getBooleanSilent(Object bean,
String param,
boolean defaultValue) |
byte |
getByte(Object bean,
String param) |
byte |
getByte(Object bean,
String param,
byte defaultValue) |
byte |
getByteSilent(Object bean,
String param) |
byte |
getByteSilent(Object bean,
String param,
byte defaultValue) |
double |
getDouble(Object bean,
String param) |
double |
getDouble(Object bean,
String param,
double defaultValue) |
double |
getDoubleSilent(Object bean,
String param) |
double |
getDoubleSilent(Object bean,
String param,
double defaultValue) |
float |
getFloat(Object bean,
String param) |
float |
getFloat(Object bean,
String param,
float defaultValue) |
float |
getFloatSilent(Object bean,
String param) |
float |
getFloatSilent(Object bean,
String param,
float defaultValue) |
int |
getInteger(Object bean,
String param) |
int |
getInteger(Object bean,
String param,
int defaultValue) |
int |
getIntegerSilent(Object bean,
String param) |
int |
getIntegerSilent(Object bean,
String param,
int defaultValue) |
long |
getLong(Object bean,
String param) |
long |
getLong(Object bean,
String param,
long defaultValue) |
long |
getLongSilent(Object bean,
String param) |
long |
getLongSilent(Object bean,
String param,
long defaultValue) |
Object |
getObject(Object bean,
String param) |
Object |
getObject(Object bean,
String param,
Object defaultValue) |
Object |
getObjectSilent(Object bean,
String param) |
Object |
getObjectSilent(Object bean,
String param,
Object defaultValue) |
Class<?> |
getObjectType(Object bean,
String param) |
Class<?> |
getObjectType(Object bean,
String param,
Class<?> defaultValue) |
Class<?> |
getObjectTypeSilent(Object bean,
String param) |
Class<?> |
getObjectTypeSilent(Object bean,
String param,
Class<?> defaultValue) |
short |
getShort(Object bean,
String param) |
short |
getShort(Object bean,
String param,
short defaultValue) |
short |
getShortSilent(Object bean,
String param) |
short |
getShortSilent(Object bean,
String param,
short defaultValue) |
String |
getString(Object bean,
String param) |
String |
getString(Object bean,
String param,
String defaultValue) |
String |
getStringSilent(Object bean,
String param) |
String |
getStringSilent(Object bean,
String param,
String defaultValue) |
void |
setProperties(Object bean,
javax.servlet.http.HttpServletRequest request) |
void |
setProperties(Object bean,
javax.servlet.http.HttpServletRequest request,
String[] ignoreProperties) |
void |
setProperty(Object bean,
String param,
Object value) |
void |
setPropertySilent(Object bean,
String param,
Object value) |
void copyProperties(Object source, Object target)
void copyProperties(Object source, Object target, Class<?> editable)
void copyProperties(Object source, Object target, String[] ignoreProperties)
<T> T deepCopyProperties(Object source) throws Exception
Exception
boolean getBoolean(Object bean, String param)
boolean getBoolean(Object bean, String param, boolean defaultValue)
boolean getBooleanSilent(Object bean, String param)
boolean getBooleanSilent(Object bean, String param, boolean defaultValue)
byte getByte(Object bean, String param)
byte getByte(Object bean, String param, byte defaultValue)
byte getByteSilent(Object bean, String param)
byte getByteSilent(Object bean, String param, byte defaultValue)
double getDouble(Object bean, String param)
double getDouble(Object bean, String param, double defaultValue)
double getDoubleSilent(Object bean, String param)
double getDoubleSilent(Object bean, String param, double defaultValue)
float getFloat(Object bean, String param)
float getFloat(Object bean, String param, float defaultValue)
float getFloatSilent(Object bean, String param)
float getFloatSilent(Object bean, String param, float defaultValue)
int getInteger(Object bean, String param)
int getInteger(Object bean, String param, int defaultValue)
int getIntegerSilent(Object bean, String param)
int getIntegerSilent(Object bean, String param, int defaultValue)
long getLong(Object bean, String param)
long getLong(Object bean, String param, long defaultValue)
long getLongSilent(Object bean, String param)
long getLongSilent(Object bean, String param, long defaultValue)
Object getObject(Object bean, String param)
Object getObject(Object bean, String param, Object defaultValue)
Object getObjectSilent(Object bean, String param)
Object getObjectSilent(Object bean, String param, Object defaultValue)
Class<?> getObjectType(Object bean, String param)
Class<?> getObjectType(Object bean, String param, Class<?> defaultValue)
Class<?> getObjectTypeSilent(Object bean, String param)
Class<?> getObjectTypeSilent(Object bean, String param, Class<?> defaultValue)
short getShort(Object bean, String param)
short getShort(Object bean, String param, short defaultValue)
short getShortSilent(Object bean, String param)
short getShortSilent(Object bean, String param, short defaultValue)
String getString(Object bean, String param)
String getString(Object bean, String param, String defaultValue)
String getStringSilent(Object bean, String param)
String getStringSilent(Object bean, String param, String defaultValue)
void setProperties(Object bean, javax.servlet.http.HttpServletRequest request)
void setProperties(Object bean, javax.servlet.http.HttpServletRequest request, String[] ignoreProperties)
void setProperty(Object bean, String param, Object value)
void setPropertySilent(Object bean, String param, Object value)