org.apache.commons.betwixt
Class PersonBean

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

public class PersonBean
extends java.lang.Object

PersonBean is a sample bean for use with the test cases.

Version:
$Revision: 438373 $
Author:
Robert Burrell Donkin, Michael Davey

Constructor Summary
PersonBean()
           
PersonBean(int age, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getAge()
           
 java.lang.String getName()
           
 int hashCode()
           
 void setAge(int age)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersonBean

public PersonBean()

PersonBean

public PersonBean(int age,
                  java.lang.String name)
Method Detail

getAge

public int getAge()

setAge

public void setAge(int age)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


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