|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.clazz.reflect.common.ReflectedPropertyParseResults
org.apache.commons.clazz.reflect.common.ReflectedListPropertyParseResults
Holds parse results for individual accessor methods for a list property.
| Field Summary |
| Fields inherited from class org.apache.commons.clazz.reflect.common.ReflectedPropertyParseResults |
extraneousAccessors, readMethodParseResults, writeMethodParseResults |
| Constructor Summary | |
ReflectedListPropertyParseResults(ReflectedClazz clazz,
String propertyName)
Constructor for ReflectedMappedPropertyParseResults. |
|
| Method Summary | |
protected void |
appendDescription(StringBuffer buffer)
|
protected boolean |
appendInconsistencyDescriptions(StringBuffer buffer)
|
protected void |
appendMethodDescriptions(StringBuffer buffer)
|
boolean |
checkConsistency()
|
Method |
getAddIndexedMethod()
|
Method |
getAddMethod()
|
Class |
getContentType()
Returns the type of the list/array element, if known. |
Method |
getGetMethod()
|
protected String |
getPropertyCategory()
|
Method |
getRemoveIndexedMethod()
|
Method |
getRemoveMethod()
|
Method |
getSetMethod()
|
Method |
getSizeMethod()
|
boolean |
isList()
Returns true if the property is an array or
implements java.util.List. |
protected boolean |
isList(Class javaClass)
Returns true if javaClass is an array or
implements java.util.List. |
void |
merge(ReflectedListPropertyParseResults other)
Combines parse results from another instance of ReflectedMappedPropertyParseResults with
results contained by this object. |
void |
setAddIndexedMethodParseResults(AccessorMethodParseResults addIndexedMethodParseResults)
|
void |
setAddMethodParseResults(AccessorMethodParseResults addMethodParseResults)
|
void |
setGetMethodParseResults(AccessorMethodParseResults getMethodParseResults)
|
void |
setRemoveIndexedMethodParseResults(AccessorMethodParseResults removeIndexedMethodParseResults)
|
void |
setRemoveMethodParseResults(AccessorMethodParseResults removeMethodParseResults)
|
void |
setSetMethodParseResults(AccessorMethodParseResults setMethodParseResults)
|
void |
setSizeMethodParseResults(AccessorMethodParseResults sizeMethodParseResults)
|
| Methods inherited from class org.apache.commons.clazz.reflect.common.ReflectedPropertyParseResults |
addAlias, checkForExtraneousAccessor, compareTo, getAliases, getClazz, getPropertyName, getPropertyType, getReadMethod, getWriteMethod, merge, setReadMethodParseResults, setWriteMethodParseResults, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ReflectedListPropertyParseResults(ReflectedClazz clazz,
String propertyName)
| Method Detail |
protected String getPropertyCategory()
getPropertyCategory in class ReflectedPropertyParseResultspublic boolean isList()
true if the property is an array or
implements java.util.List.
protected boolean isList(Class javaClass)
true if javaClass is an array or
implements java.util.List.
public Class getContentType()
null otherwise.
public void setGetMethodParseResults(AccessorMethodParseResults getMethodParseResults)
public Method getGetMethod()
public void setSetMethodParseResults(AccessorMethodParseResults setMethodParseResults)
public Method getSetMethod()
public void setAddMethodParseResults(AccessorMethodParseResults addMethodParseResults)
public Method getAddMethod()
public void setAddIndexedMethodParseResults(AccessorMethodParseResults addIndexedMethodParseResults)
public Method getAddIndexedMethod()
public void setRemoveMethodParseResults(AccessorMethodParseResults removeMethodParseResults)
public Method getRemoveMethod()
public void setRemoveIndexedMethodParseResults(AccessorMethodParseResults removeIndexedMethodParseResults)
public Method getRemoveIndexedMethod()
public void setSizeMethodParseResults(AccessorMethodParseResults sizeMethodParseResults)
public Method getSizeMethod()
public void merge(ReflectedListPropertyParseResults other)
ReflectedMappedPropertyParseResults with
results contained by this object.
Node that the property name is not copied from the
other object.
protected void appendDescription(StringBuffer buffer)
appendDescription in class ReflectedPropertyParseResultsprotected void appendMethodDescriptions(StringBuffer buffer)
appendMethodDescriptions in class ReflectedPropertyParseResultspublic boolean checkConsistency()
checkConsistency in class ReflectedPropertyParseResultsprotected boolean appendInconsistencyDescriptions(StringBuffer buffer)
appendInconsistencyDescriptions in class ReflectedPropertyParseResults
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||