|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FieldProperty<T>
Extends the PropertyI to include a mandatory reference to
a bean and through FieldPropertyInfo a Field.
| Method Summary | |
|---|---|
java.lang.Object |
getBean()
Returns the bean that this property has at "parent". |
FieldPropertyInfo<T> |
getInfo()
Overrides only to make the return type more specific to match the fact that all classes that implments this interfact must be an object residing in a public final field or some bean. |
void |
init(java.lang.Object bean)
Sets the bean that this property is a field in. |
| Methods inherited from interface net.java.properties.PropertyI |
|---|
get, set |
| Method Detail |
|---|
void init(java.lang.Object bean)
null or change an already set bean should result in an exception.
Any use of the property before the bean is set is illegal and will result in an exception.
bean - The bean. Never null.java.lang.Object getBean()
Any use of this property's value before the bean is set is illegal and will result in an exception.
null if the bean
has not been set yet (i.e. it is not initialized).FieldPropertyInfo<T> getInfo()
public final field or some bean.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||