FileDocCategorySizeDatePackage
AddressId.javaAPI DocHibernate 3.2.5984Tue May 31 22:51:32 BST 2005org.hibernate.test.typedmanytoone

AddressId

public class AddressId extends Object implements Serializable
author
Gavin King

Fields Summary
private String
type
private String
addressId
Constructors Summary
public AddressId(String type, String customerId)

		this.addressId = customerId;
		this.type = type;
	
public AddressId()

Methods Summary
public booleanequals(java.lang.Object other)

		if ( !(other instanceof AddressId) ) return false;
		AddressId add = (AddressId) other;
		return type.equals(add.type) && addressId.equals(add.addressId);
	
public java.lang.StringgetAddressId()

		return addressId;
	
public java.lang.StringgetType()

		return type;
	
public inthashCode()

		return addressId.hashCode() + type.hashCode();
	
public voidsetAddressId(java.lang.String customerId)

		this.addressId = customerId;
	
public voidsetType(java.lang.String type)

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

		return type + '#" + addressId;