|
UJO Framework release 0.93 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.ujoframework.extensions.AbstractUjo
org.ujoframework.implementation.factory.FactoryUjo
public abstract class FactoryUjo
The Ujo Factory. A method called readValue() create new instance of the property always by a property type.
Each the property type class (see getType() method) must have got at least one of constructor:
Ujo and UjoProperty or
| Constructor Summary | |
|---|---|
FactoryUjo()
|
|
| Method Summary | ||
|---|---|---|
protected static
|
newProperty(java.lang.String name,
java.lang.Class<VALUE> type)
Returns a new instance of property where the default value is null. |
|
java.lang.Object |
readValue(UjoProperty property)
Method readValue() creates a new instance of the property always. |
|
void |
writeValue(UjoProperty property,
java.lang.Object value)
It is an unsupported function in this implementation. |
|
| Methods inherited from class org.ujoframework.extensions.AbstractUjo |
|---|
clone, equals, init, init, readAuthorization, readProperties, readUjoManager, readValueString, toString, writeValueString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FactoryUjo()
| Method Detail |
|---|
public void writeValue(UjoProperty property,
java.lang.Object value)
property - Property must be a direct type only!UjoProperty.setValue(Ujo,Object),
UjoProperty.isDirect()public java.lang.Object readValue(UjoProperty property)
property - Property must be a direct type only!
FactoryProperty.getValue(Ujo)
protected static <UJO extends Ujo,VALUE> FactoryProperty<UJO,VALUE> newProperty(java.lang.String name,
java.lang.Class<VALUE> type)
|
UJO Framework release 0.93 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||