org.enhydra.barracuda.core.comp
Interface ItemMap

All Known Implementing Classes:
DefaultItemMap

public interface ItemMap

This interface defines the methods needed to implement an ItemMap object. An ItemMap can be returned by the getItem() methods within any of the model implementations. It is used to associate a key with a particular value. It is primarily used by the BSelect component (which can use both key and value information when rendering). The other components just use the value information.


Method Summary
 Object getKey()
          Returns the key corresponding to this entry.
 Object getValue()
          Returns the value corresponding to this entry.
 Object setValue(Object value)
          Replaces the value corresponding to this entry with the specified value (optional operation).
 

Method Detail

getKey

public Object getKey()
Returns the key corresponding to this entry.


getValue

public Object getValue()
Returns the value corresponding to this entry.


setValue

public Object setValue(Object value)
Replaces the value corresponding to this entry with the specified value (optional operation).



Copyright © 2003 BarracudaMVC.org All Rights Reserved.