Interface ObjectWrapper
-
- All Known Implementing Classes:
BaseWrapper
,BeanWrapper
,CollectionWrapper
,MapWrapper
public interface ObjectWrapper
- Author:
- Clinton Begin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(Object element)
<E> void
addAll(List<E> element)
String
findProperty(String name, boolean useCamelCaseMapping)
Object
get(PropertyTokenizer prop)
String[]
getGetterNames()
Class<?>
getGetterType(String name)
String[]
getSetterNames()
Class<?>
getSetterType(String name)
boolean
hasGetter(String name)
boolean
hasSetter(String name)
MetaObject
instantiatePropertyValue(String name, PropertyTokenizer prop, ObjectFactory objectFactory)
boolean
isCollection()
void
set(PropertyTokenizer prop, Object value)
-
-
-
Method Detail
-
get
Object get(PropertyTokenizer prop)
-
set
void set(PropertyTokenizer prop, Object value)
-
getGetterNames
String[] getGetterNames()
-
getSetterNames
String[] getSetterNames()
-
hasSetter
boolean hasSetter(String name)
-
hasGetter
boolean hasGetter(String name)
-
instantiatePropertyValue
MetaObject instantiatePropertyValue(String name, PropertyTokenizer prop, ObjectFactory objectFactory)
-
isCollection
boolean isCollection()
-
add
void add(Object element)
-
addAll
<E> void addAll(List<E> element)
-
-