FileDocCategorySizeDatePackage
Name.javaAPI DocHibernate 3.2.5978Thu Jun 03 11:31:32 BST 2004org.hibernate.auction

Name

public class Name extends Object
author
Gavin King

Fields Summary
private String
firstName
private String
lastName
private Character
initial
Constructors Summary
private Name()

public Name(String first, Character middle, String last)

		firstName = first;
		initial = middle;
		lastName = last;
	
Methods Summary
public java.lang.StringgetFirstName()

		return firstName;
	
public java.lang.CharactergetInitial()

		return initial;
	
public java.lang.StringgetLastName()

		return lastName;
	
public voidsetFirstName(java.lang.String firstName)

		this.firstName = firstName;
	
public voidsetInitial(java.lang.Character initial)

		this.initial = initial;
	
public voidsetLastName(java.lang.String lastName)

		this.lastName = lastName;
	
public java.lang.StringtoString()

		StringBuffer buf = new StringBuffer()
			.append(firstName)
			.append(' ");
		if (initial!=null) buf.append(initial)
			.append(' ");
		return buf.append(lastName)
			.toString();