org.apache.commons.betwixt
Class MapBean

java.lang.Object
  extended by org.apache.commons.betwixt.MapBean

public class MapBean
extends java.lang.Object

MapBean is a sample bean used for testing maps.

Version:
$Revision: 438373 $
Author:
Robert Burrell Donkin

Constructor Summary
MapBean()
           
MapBean(java.lang.String title)
           
 
Method Summary
 void addAddress(java.lang.String name, AddressBean address)
           
 java.util.Map getAddresses()
           
 java.lang.String getTitle()
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapBean

public MapBean()

MapBean

public MapBean(java.lang.String title)
Method Detail

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getAddresses

public java.util.Map getAddresses()

addAddress

public void addAddress(java.lang.String name,
                       AddressBean address)


Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.