FileDocCategorySizeDatePackage
Part.javaAPI DocHibernate 3.2.5738Sat Feb 12 00:27:32 GMT 2005org.hibernate.test.mapcompelem

Part

public class Part extends Object
author
Gavin King

Fields Summary
private String
name
private String
description
Constructors Summary
Part()

public Part(String n, String pw)

		name=n;
		description = pw;
	
Methods Summary
public booleanequals(java.lang.Object that)

		return ( (Part) that ).getName().equals(name);
	
public java.lang.StringgetDescription()

		return description;
	
public java.lang.StringgetName()

		return name;
	
public inthashCode()

		return name.hashCode();
	
public voidsetDescription(java.lang.String password)

		this.description = password;
	
public voidsetName(java.lang.String name)

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

		return name + ":" + description;