|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Property<ObjectType,PropertyType>
Small interface to define a property with both read and write access.
| Method Summary | |
|---|---|
PropertyType |
get(ObjectType obj)
Get the value of the property. |
void |
set(ObjectType obj,
PropertyType value)
Set the value of the property for the object. |
| Method Detail |
|---|
PropertyType get(ObjectType obj)
obj - the object, from that the property is derived
void set(ObjectType obj,
PropertyType value)
obj - the object for that the property should be setvalue - the value the property is set to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||