net.sf.oness.common.model.bo
Class CollectionIgnoringReflectionToStringBuilder

java.lang.Object
  extended byorg.apache.commons.lang.builder.ToStringBuilder
      extended byorg.apache.commons.lang.builder.ReflectionToStringBuilder
          extended bynet.sf.oness.common.all.ReflectionToStringBuilder
              extended bynet.sf.oness.common.model.bo.CollectionIgnoringReflectionToStringBuilder

public class CollectionIgnoringReflectionToStringBuilder
extends net.sf.oness.common.all.ReflectionToStringBuilder

Customized ReflectionToStringBuilder ignoring Collection fields.

Version:
$Revision: 1.2 $
Author:
Carlos Sanchez
See Also:
ReflectionToStringBuilder

Constructor Summary
CollectionIgnoringReflectionToStringBuilder(java.lang.Object object)
           
 
Method Summary
protected  boolean accept(java.lang.reflect.Field field)
          Check if the field is a collection and return false in that case.
 
Methods inherited from class net.sf.oness.common.all.ReflectionToStringBuilder
getValue
 
Methods inherited from class org.apache.commons.lang.builder.ReflectionToStringBuilder
appendFieldsIn, getUpToClass, isAppendTransients, reflectionAppendArray, setAppendTransients, setUpToClass, toString, toString, toString, toString, toString
 
Methods inherited from class org.apache.commons.lang.builder.ToStringBuilder
append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, appendAsObjectToString, appendSuper, appendToString, getDefaultStyle, getObject, getStringBuffer, getStyle, reflectionToString, reflectionToString, reflectionToString, reflectionToString, setDefaultStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionIgnoringReflectionToStringBuilder

public CollectionIgnoringReflectionToStringBuilder(java.lang.Object object)
Method Detail

accept

protected boolean accept(java.lang.reflect.Field field)
Check if the field is a collection and return false in that case.

See Also:
ReflectionToStringBuilder.accept(java.lang.reflect.Field)


Copyright © 2003-2005 ONess Project. All Rights Reserved.