|
UJO Framework release 0.94 |
|||||||||
| 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.mapImpl.MapImplUjo
org.ujoframework.implementation.mapImpl.MapImplUjoMiddle<UJO_IMPL>
public abstract class MapImplUjoMiddle<UJO_IMPL extends MapImplUjoMiddle>
This is an middle extended implementation of a setter and getter methods for an easier access for developpers.
Notes:
public class Person extends MapImplUjoMiddle<Person> { 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); } }
Property,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
MapImplUjoMiddle()
No parameters constuctor |
|
MapImplUjoMiddle(java.util.HashMap<java.lang.String,java.lang.Object> aData)
|
|
| 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 class org.ujoframework.implementation.mapImpl.MapImplUjo |
|---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, newListProperty, newProperty, newProperty, put, putAll, readValue, remove, size, values, writeValue |
| 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 |
| Methods inherited from interface org.ujoframework.Ujo |
|---|
readAuthorization, readProperties, readValue, writeValue |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public MapImplUjoMiddle(java.util.HashMap<java.lang.String,java.lang.Object> aData)
public MapImplUjoMiddle()
| Method Detail |
|---|
public <UJO extends UJO_IMPL,VALUE> VALUE get(UjoProperty<UJO,VALUE> property)
get in interface UjoMiddle<UJO_IMPL extends MapImplUjoMiddle>
public <UJO extends UJO_IMPL,VALUE> Ujo set(UjoProperty<UJO,VALUE> property,
VALUE value)
set in interface UjoMiddle<UJO_IMPL extends MapImplUjoMiddle>public java.lang.String getText(UjoProperty property)
getText in interface UjoMiddle<UJO_IMPL extends MapImplUjoMiddle>property - A Property
public void setText(UjoProperty property,
java.lang.String value)
setText in interface UjoMiddle<UJO_IMPL extends MapImplUjoMiddle>property - Propertyvalue - String value
|
UJO Framework release 0.94 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||