01: /* $Id $ */
02: package org.conform;
03:
04: import java.beans.PropertyChangeListener;
05:
06: /**
07: * Data binding interface for a bean.
08: */
09: public interface BeanData extends Data {
10: BeanMeta getBeanMeta();
11:
12: PropertyData getPropertyData(PropertyMeta propertyMeta);
13:
14: Object createInstance();
15:
16: void addPropertyChangeListener(PropertyChangeListener listener);
17:
18: void removePropertyChangeListener(PropertyChangeListener listener);
19:
20: PropertyChangeListener[] getPropertyChangeListeners();
21:
22: void addPropertyChangeListener(String propertyName,
23: PropertyChangeListener listener);
24:
25: void removePropertyChangeListener(String propertyName,
26: PropertyChangeListener listener);
27:
28: PropertyChangeListener[] getPropertyChangeListeners(
29: String propertyName);
30:
31: void revalidateAll();
32: }
|