org.beanfabrics.model
Interface IMapPM<K,V extends PresentationModel>

All Superinterfaces:
Bean, ContextOwner, HasComparable, IListPM<V>, java.lang.Iterable<V>, PresentationModel, Supportable, Validatable
All Known Implementing Classes:
MapPM

public interface IMapPM<K,V extends PresentationModel>
extends IListPM<V>

The IMapPM is the minimal interface for a presentation model that maps key objects to presentation model objects.


Method Summary
 java.util.Map<K,V> toMap()
          Returns a new Map with all elements of this map.
 
Methods inherited from interface org.beanfabrics.model.IListPM
addListListener, contains, getAt, getSelection, getSortKeys, indexOf, isEmpty, listIterator, removeListListener, size, sortBy, sortBy, sortBy, swap, swap, toArray, toCollection
 
Methods inherited from interface org.beanfabrics.Bean
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface org.beanfabrics.validation.Validatable
getValidationState, getValidator, isValid, revalidate
 
Methods inherited from interface org.beanfabrics.support.Supportable
getSupportMap
 
Methods inherited from interface org.beanfabrics.context.ContextOwner
getContext
 
Methods inherited from interface org.beanfabrics.HasComparable
getComparable
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

toMap

java.util.Map<K,V> toMap()
Returns a new Map with all elements of this map.

Returns:
a new Map with all elements of this map.