|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.clazz.common.ClazzElementSupport
org.apache.commons.clazz.common.ClazzFeatureSupport
org.apache.commons.clazz.reflect.common.ReflectedAccessorPairProperty
org.apache.commons.clazz.reflect.extended.ReflectedMappedProperty
| Constructor Summary | |
ReflectedMappedProperty(org.apache.commons.clazz.Clazz declaringClazz,
String name)
Constructor for ReflectedMappedProperty. |
|
| Method Summary | |
Object |
get(Object instance)
|
Class |
getContentType()
Returns the contentType. |
Method |
getGetMethod()
Returns the getMethod. |
Method |
getKeySetMethod()
Returns the keySetMethod. |
Class |
getKeyType()
Returns the keyType. |
Map |
getMap(Object instance)
|
Method |
getPutMethod()
Returns the putMethod. |
Method |
getRemoveMethod()
Returns the removeMethod. |
boolean |
isMap()
Returns true if the property is a map. |
void |
set(Object instance,
Object value)
|
void |
setContentType(Class valueType)
Sets the contentType. |
void |
setGetMethod(Method getMethod)
Sets the getMethod. |
void |
setKeySetMethod(Method keySetMethod)
Sets the keySetMethod. |
void |
setKeyType(Class keyType)
Sets the keyType. |
void |
setPutMethod(Method putMethod)
Sets the putMethod. |
void |
setRemoveMethod(Method removeMethod)
Sets the removeMethod. |
String |
toString()
|
| Methods inherited from class org.apache.commons.clazz.reflect.common.ReflectedAccessorPairProperty |
getAliases, getClazz, getContentClazz, getField, getKeyClazz, getName, getReadMethod, getType, getWriteMethod, isCollection, 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 ReflectedMappedProperty(org.apache.commons.clazz.Clazz declaringClazz,
String name)
declaringClazz - name - | Method Detail |
public boolean isMap()
org.apache.commons.clazz.ClazzProperty
isMap in interface org.apache.commons.clazz.ClazzPropertyisMap in class ReflectedAccessorPairPropertyClazzProperty.isMap()public Class getKeyType()
public void setKeyType(Class keyType)
keyType - The keyType to setpublic Class getContentType()
public void setContentType(Class valueType)
public Method getGetMethod()
public void setGetMethod(Method getMethod)
getMethod - The getMethod to setpublic Method getPutMethod()
public void setPutMethod(Method putMethod)
putMethod - The putMethod to setpublic Method getRemoveMethod()
public void setRemoveMethod(Method removeMethod)
removeMethod - The removeMethod to setpublic Method getKeySetMethod()
public void setKeySetMethod(Method keySetMethod)
keySetMethod - The keySetMethod to setpublic String toString()
public Object get(Object instance)
get in interface org.apache.commons.clazz.ClazzPropertyget in class ReflectedAccessorPairPropertyClazzProperty.get(java.lang.Object)public Map getMap(Object instance)
public void set(Object instance,
Object value)
set in interface org.apache.commons.clazz.ClazzPropertyset in class ReflectedAccessorPairPropertyClazzProperty.set(Object, Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||