org.apache.commons.betwixt.introspection
Class PhoneBookBean

java.lang.Object
  extended by org.apache.commons.betwixt.introspection.PhoneBookBean

public class PhoneBookBean
extends java.lang.Object

Bean models a simple list of phone numbers as found (for example) in a contant list. Really just a list of phone number entries.

Version:
$Revision: 561314 $
Author:
Apache Commons Team

Constructor Summary
PhoneBookBean()
           
PhoneBookBean(java.lang.String name)
           
 
Method Summary
 void addNumber(PhoneNumberBean phoneNumber)
           
 java.lang.String getName()
           
 java.util.List getNumbers()
           
 void setName(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhoneBookBean

public PhoneBookBean()

PhoneBookBean

public PhoneBookBean(java.lang.String name)
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String string)

getNumbers

public java.util.List getNumbers()

addNumber

public void addNumber(PhoneNumberBean phoneNumber)


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