org.ujac.print.test
Class DocumentPrinterTest.Person

java.lang.Object
  extended by org.ujac.print.test.DocumentPrinterTest.Person
Enclosing class:
DocumentPrinterTest

public class DocumentPrinterTest.Person
extends Object

Name: Person
Description: Test bean.


Constructor Summary
DocumentPrinterTest.Person()
          Constructs a Person instance with specific attributes.
DocumentPrinterTest.Person(String name, String firstName, String sex)
          Constructs a Person instance with specific attributes.
 
Method Summary
 String getFirstName()
          Gets the first name.
 String getName()
          Gets the last name.
 String getSex()
          Gets the sex.
 void setFirstName(String firstName)
          Sets the first name.
 void setName(String name)
          Sets the last name.
 void setSex(String sex)
          Sets the sex.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentPrinterTest.Person

public DocumentPrinterTest.Person()
Constructs a Person instance with specific attributes.


DocumentPrinterTest.Person

public DocumentPrinterTest.Person(String name,
                                  String firstName,
                                  String sex)
Constructs a Person instance with specific attributes.

Parameters:
name - The last name to set.
firstName - The first name to set.
sex - The sex to set.
Method Detail

getName

public String getName()
Gets the last name.

Returns:
The last name

setName

public void setName(String name)
Sets the last name.

Parameters:
name - The last name to set.

getFirstName

public String getFirstName()
Gets the first name.

Returns:
The first name

setFirstName

public void setFirstName(String firstName)
Sets the first name.

Parameters:
firstName - The first name to set.

getSex

public String getSex()
Gets the sex.

Returns:
The last name

setSex

public void setSex(String sex)
Sets the sex.

Parameters:
sex - The sex to set.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.