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