<T extends IBean> T cloneBean()
T- dynamic type of the bean to return
void buildDevString(java.lang.StringBuilder b)
The string representation will contain the short class name, and the string representation of the properties returned by the public
getXXX() methods that take 0 arguments and have a non-void return type will be included.
Object.getClass() will be excluded.
getXXX() methods annotated with the
HiddenProperty annotation are also excluded.
getXXX() method returns an instance of
IBean, then its
buildDevString(StringBuilder) method will be used to get its
Note: This is an effective way to build string representation of
IBeans because the same string builder is shared and passed on to the
child beans to build.
Note #2: If a
getXXX() method returns
this, then the string
"this" is appended. Other than this case,
circular references are not detected and will result in a
StackOverflowError (e.g. if
a2 are equals in the
ABean a; BBean b=a.getB(); ABean a2=b.getA();).
b- string builder to append the string representation of the bean to
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.