FileDocCategorySizeDatePackage
Person.javaAPI DocHibernate 3.2.51316Sun Jun 12 17:03:30 BST 2005org.hibernate.test.ondelete

Person

public class Person extends Object
author
Gavin King

Fields Summary
private long
id
private String
name
private char
sex
private Address
address
private Salesperson
salesperson
Constructors Summary
Methods Summary
public AddressgetAddress()

return
Returns the address.

	    	 
	   
		return address;
	
public longgetId()

return
Returns the id.

		return id;
	
public java.lang.StringgetName()

return
Returns the identity.

		return name;
	
public SalespersongetSalesperson()

		return salesperson;
	
public chargetSex()

return
Returns the sex.

		return sex;
	
public voidsetAddress(java.lang.String string)

		this.address.address = string;
	
public voidsetCountry(java.lang.String string)

		this.address.country = string;
	
public voidsetId(long id)

param
id The id to set.

		this.id = id;
	
public voidsetName(java.lang.String identity)

param
identity The identity to set.

		this.name = identity;
	
public voidsetSalesperson(Salesperson salesperson)

		this.salesperson = salesperson;
	
public voidsetSex(char sex)

param
sex The sex to set.

		this.sex = sex;
	
public voidsetZip(java.lang.String string)

		this.address.zip = string;