org.apache.commons.betwixt.io.read
Class PersonBean

java.lang.Object
  extended by org.apache.commons.betwixt.io.read.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<

Constructor Summary
PersonBean()
           
PersonBean(java.lang.String forename, java.lang.String surname)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getForename()
           
 java.lang.String getSurname()
           
 int hashCode()
           
 void setForename(java.lang.String forename)
           
 void setSurname(java.lang.String surname)
           
 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(java.lang.String forename,
                  java.lang.String surname)
Method Detail

getForename

public java.lang.String getForename()

setForename

public void setForename(java.lang.String forename)

getSurname

public java.lang.String getSurname()

setSurname

public void setSurname(java.lang.String surname)

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.