|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UjoMiddle<UJO_IMPL extends UjoMiddle>
This is an middle extended Ujo interface designed for a more conventional property access evaluated by developers.
Sample of usage:
public class Person extends MapUjoExt { public static final UjoProperty<Person, String > NAME = newProperty("Name", String.class); public static final UjoProperty<Person, Double > CASH = newProperty("Cash", Double.class); public static final UjoProperty<Person, Person> CHILD = newProperty("Child", Person.class); public void init() { set(NAME, "George"); String name = get(NAME); double cash = get(CHILD, CASH); } }
| Method Summary | ||
|---|---|---|
|
get(UjoProperty<UJO,VALUE> property)
Getter based on one UjoProperty |
|
java.lang.String |
getText(UjoProperty property)
Returns a String value by a NULL context. |
|
|
set(UjoProperty<UJO,VALUE> property,
VALUE value)
Setter based on UjoProperty. |
|
void |
setText(UjoProperty property,
java.lang.String value)
Set value from a String format by a NULL context. |
|
| Methods inherited from interface org.ujoframework.Ujo |
|---|
readAuthorization, readProperties, readValue, writeValue |
| Method Detail |
|---|
<UJO extends UJO_IMPL,VALUE> VALUE get(UjoProperty<UJO,VALUE> property)
<UJO extends UJO_IMPL,VALUE> Ujo set(UjoProperty<UJO,VALUE> property,
VALUE value)
java.lang.String getText(UjoProperty property)
property - A Property
void setText(UjoProperty property,
java.lang.String value)
property - Propertyvalue - String value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||