FileDocCategorySizeDatePackage
Address.javaAPI DocHibernate 3.2.51166Wed Nov 08 15:02:08 GMT 2006org.hibernate.test.ops

Address

public class Address extends Object
{@inheritDoc}
author
Steve Ebersole

Fields Summary
private Long
id
private String
streetAddress
private String
city
private String
country
private Person
resident
Constructors Summary
public Address()

	
public Address(String streetAddress, String city, String country, Person resident)

		this.streetAddress = streetAddress;
		this.city = city;
		this.country = country;
		this.resident = resident;
		resident.setAddress( this );
	
Methods Summary
public java.lang.StringgetCity()

		return city;
	
public java.lang.StringgetCountry()

		return country;
	
public java.lang.LonggetId()

		return id;
	
public PersongetResident()

		return resident;
	
public java.lang.StringgetStreetAddress()

		return streetAddress;
	
public voidsetCity(java.lang.String city)

		this.city = city;
	
public voidsetCountry(java.lang.String country)

		this.country = country;
	
public voidsetId(java.lang.Long id)

		this.id = id;
	
public voidsetResident(Person resident)

		this.resident = resident;
	
public voidsetStreetAddress(java.lang.String streetAddress)

		this.streetAddress = streetAddress;