FileDocCategorySizeDatePackage
MiddleKey.javaAPI DocHibernate 3.2.51193Sun Sep 26 00:18:28 BST 2004org.hibernate.test.legacy

MiddleKey

public class MiddleKey extends Object implements Serializable
author
Stefano Travelli

Fields Summary
private Inner
sup
private String
one
private String
two
Constructors Summary
Methods Summary
public booleanequals(java.lang.Object o)

		if (this == o) return true;
		if (!(o instanceof MiddleKey)) return false;

		final MiddleKey cidMasterID = (MiddleKey) o;

		if (one != null ? !one.equals(cidMasterID.one) : cidMasterID.one != null) return false;
		if (sup != null ? !sup.equals(cidMasterID.sup) : cidMasterID.sup != null) return false;
		if (two != null ? !two.equals(cidMasterID.two) : cidMasterID.two != null) return false;

		return true;
	
public java.lang.StringgetOne()

		return one;
	
public InnergetSup()

		return sup;
	
public java.lang.StringgetTwo()

		return two;
	
public inthashCode()

		int result;
		result = (sup != null ? sup.hashCode() : 0);
		result = 29 * result + (one != null ? one.hashCode() : 0);
		result = 29 * result + (two != null ? two.hashCode() : 0);
		return result;
	
public voidsetOne(java.lang.String one)

		this.one = one;
	
public voidsetSup(Inner sup)

		this.sup = sup;
	
public voidsetTwo(java.lang.String two)

		this.two = two;