|
SRJRCFrames v0.1.296 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.schwarzrot.bean.BeanUtils
public class BeanUtils
helper class to handle JavaBeans. As standard java classes don't handle interfaces and generics right away, I had to implement my own variant.
| Constructor Summary | |
|---|---|
BeanUtils()
|
|
| Method Summary | |
|---|---|
Method |
determineGetter(Class<?> beanType,
String propertyName)
determines the getter matching the given property name |
Map<String,PropertyInfo> |
determineProperties(Class entityType)
scans the properties of a bean in a slightly different way, that the java standard introspection. |
protected void |
dumpClass(Class<?> c)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanUtils()
| Method Detail |
|---|
public Method determineGetter(Class<?> beanType,
String propertyName)
beanType - - the class of the beanpropertyName - - the name of the property
public Map<String,PropertyInfo> determineProperties(Class entityType)
Generics are welcome, but not always that usable, especially if you try to implement type overloading at persistence level.
entityType - - the type that should get investigated
protected void dumpClass(Class<?> c)
|
SRJRCFrames v0.1.296 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||