|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UjoTextable
The interface is reasonable for a text serialization and deserializaton of non UJO properties of a UJO object.
If you can use an UJO persistence (XML, CSV, ResourceBundle) then the all affected UJO classes must have got next features:
See ValueTextable for suppored data types.| Method Summary | |
|---|---|
java.lang.String |
readValueString(UjoProperty property,
UjoAction action)
Get an original value in a String format. |
void |
writeValueString(UjoProperty property,
java.lang.String value,
java.lang.Class type,
UjoAction action)
Set value from a String format. |
| Methods inherited from interface org.ujoframework.Ujo |
|---|
readAuthorization, readProperties, readValue, writeValue |
| Method Detail |
|---|
void writeValueString(UjoProperty property,
java.lang.String value,
java.lang.Class type,
UjoAction action)
property - A direct property only. See a method UjoProperty.isDirect().value - String valuetype - Type can be a subtype of a Property.type. If type is null, then a property.type is used.action - A context of the action.
The action must not be null, however there is allowed to use a dummy constant UjoAction.DUMMY .
java.lang.String readValueString(UjoProperty property,
UjoAction action)
property - A direct property only. See a method UjoProperty.isDirect().action - A context of the action.
The action must not be null, however there is allowed to use a dummy constant UjoAction.DUMMY .
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||