|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujoframework.core.BeanManager<UJO,VALUE>
public class BeanManager<UJO,VALUE>
Manager of BeanUjo
| Constructor Summary | |
|---|---|
BeanManager(UjoProperty property)
|
|
| Method Summary | ||
|---|---|---|
static
|
getInstance(UjoProperty property)
Create new instance of BeanManager |
|
java.lang.reflect.Method |
getMethod(UJO ujo,
boolean set)
Get or create a setter or getter. |
|
protected java.lang.String |
getMethodName(boolean set)
Returns a method name by a name |
|
protected java.lang.Class |
getPrimitive(java.lang.Class objClass)
Returns a primitive type if can or a null value. |
|
java.lang.Object |
readValue(UJO bean)
WARNING: There is recommended to call the method from the method Ujo.readProperty(...) |
|
java.lang.String |
toString()
|
|
void |
writeValue(UJO bean,
VALUE value)
WARNING: There is recommended to call the method from the method Ujo.writeProperty(...) only. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BeanManager(UjoProperty property)
| Method Detail |
|---|
public void writeValue(UJO bean,
VALUE value)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.Object readValue(UJO bean)
throws java.lang.IllegalArgumentException
Ujo.readProperty(...) only.
readProperty(method).
java.lang.IllegalArgumentException
public java.lang.reflect.Method getMethod(UJO ujo,
boolean set)
throws java.lang.IllegalArgumentException
ujo - UJO object.set - The result method can be a setter (TRUE) or a getter (FALSE).
java.lang.IllegalArgumentException - Method can't find usable method.protected java.lang.Class getPrimitive(java.lang.Class objClass)
protected java.lang.String getMethodName(boolean set)
public static <UJO,VALUE> BeanManager<UJO,VALUE> getInstance(UjoProperty property)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||