|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.clazz.common.ClazzElementSupport org.apache.commons.clazz.common.ClazzFeatureSupport org.apache.commons.clazz.reflect.common.ReflectedAccessorPairProperty org.apache.commons.clazz.reflect.common.ReflectedListProperty
public class ReflectedListProperty
Constructor Summary | |
---|---|
ReflectedListProperty(Clazz declaringClazz,
String name)
Constructor for ReflectedListProperty. |
Method Summary | |
---|---|
Object |
get(Object instance)
|
Method |
getAddIndexedMethod()
Returns the addIndexedMethod. |
Method |
getAddMethod()
Returns the addMethod. |
Class |
getContentType()
Returns the contentType. |
Method |
getGetMethod()
Returns the getMethod. |
Object |
getList(Object instance)
|
Method |
getRemoveIndexedMethod()
Returns the removeIndexedMethod. |
Method |
getRemoveMethod()
Returns the removeMethod. |
Method |
getSetMethod()
Returns the setMethod. |
Method |
getSizeMethod()
Returns the sizeMethod. |
boolean |
isCollection()
Returns true if the property is a collection. |
void |
set(Object instance,
Object value)
|
void |
setAddIndexedMethod(Method addIndexedMethod)
Sets the addIndexedMethod. |
void |
setAddMethod(Method addMethod)
Sets the addMethod. |
void |
setContentType(Class valueType)
Sets the contentType. |
void |
setGetMethod(Method getMethod)
Sets the getMethod. |
void |
setRemoveIndexedMethod(Method removeIndexedMethod)
Sets the removeIndexedMethod. |
void |
setRemoveMethod(Method removeMethod)
Sets the removeMethod. |
void |
setSetMethod(Method setMethod)
Sets the setMethod. |
void |
setSizeMethod(Method sizeMethod)
Sets the sizeMethod. |
String |
toString()
|
Methods inherited from class org.apache.commons.clazz.reflect.common.ReflectedAccessorPairProperty |
---|
getAliases, getClazz, getContentClazz, getField, getKeyClazz, getName, getReadMethod, getType, getWriteMethod, isMap, isReadOnly, setAliases, setField, setReadMethod, setType, setWriteMethod |
Methods inherited from class org.apache.commons.clazz.common.ClazzFeatureSupport |
---|
getDeclaringClazz |
Methods inherited from class org.apache.commons.clazz.common.ClazzElementSupport |
---|
getAttribute, getAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.commons.clazz.ClazzFeature |
---|
getDeclaringClazz |
Methods inherited from interface org.apache.commons.clazz.ClazzElement |
---|
getAttribute, getAttributes |
Constructor Detail |
---|
public ReflectedListProperty(Clazz declaringClazz, String name)
declaringClazz
- name
- Method Detail |
---|
public boolean isCollection()
ClazzProperty
isCollection
in interface ClazzProperty
isCollection
in class ReflectedAccessorPairProperty
ClazzProperty.isCollection()
public Class getContentType()
public void setContentType(Class valueType)
contentType
- The contentType to setpublic Method getGetMethod()
public void setGetMethod(Method getMethod)
getMethod
- The getMethod to setpublic Method getSetMethod()
public void setSetMethod(Method setMethod)
setMethod
- The setMethod to setpublic Method getAddMethod()
public void setAddMethod(Method addMethod)
addMethod
- The addMethod to setpublic Method getAddIndexedMethod()
public void setAddIndexedMethod(Method addIndexedMethod)
addIndexedMethod
- The addIndexedMethod to setpublic Method getRemoveMethod()
public void setRemoveMethod(Method removeMethod)
removeMethod
- The removeMethod to setpublic Method getRemoveIndexedMethod()
public void setRemoveIndexedMethod(Method removeIndexedMethod)
removeIndexedMethod
- The removeIndexedMethod to setpublic Method getSizeMethod()
public void setSizeMethod(Method sizeMethod)
sizeMethod
- The sizeMethod to setpublic String toString()
toString
in class Object
public Object get(Object instance)
get
in interface ClazzProperty
get
in class ReflectedAccessorPairProperty
ClazzProperty.get(java.lang.Object)
public Object getList(Object instance)
public void set(Object instance, Object value)
set
in interface ClazzProperty
set
in class ReflectedAccessorPairProperty
ClazzProperty.set(Object, Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |