# :: Guide :: Domain Adapters :: ## PresentationModel The `PresentationModel` uses a BeanAdapter to convert multiple Bean properties into ValueModels. It provides two sets of methods to vend such models: `#getModel` for unbuffered models and `#getBufferedModel` for buffered models. See the JavaDoc class comment for details. PresentationModel is the most frequently used means to adapt Java Bean properties. ## BeanAdapter The `BeanAdapter` converts multiple Java Bean's properties into ValueModels. Optionally the adapter can observe changes in bound properties to forward the bean's PropertyChangeEvents. Basically the BeanAdapter does for multiple properties what the PropertyAdapter does for a single bean property. Typically you should use a PresentationModel, not a BeanAdapter. ## PropertyAdapter The `PropertyAdapter` converts a single Java Bean property into a ValueModel. The bean property must be a single value as described by the Java Bean Secification. Optionally the adapter can observe changes in bound properties as described in section 7.4 of the Bean specification. Typically you should use a PresentationModel, not a PropertyAdapter. Only if you have internal adapters that you don't expose and if you adapt a single property, the PropertyAdapter is useful.
(c) 2006 JGoodies |  |