FileDocCategorySizeDatePackage
ContractVariation.javaAPI DocHibernate 3.2.5831Sun Jun 19 12:22:02 BST 2005org.hibernate.test.immutable

ContractVariation

public class ContractVariation extends Object implements Serializable

Fields Summary
private int
version
private Contract
contract
private String
text
Constructors Summary
public ContractVariation()

		super();
	
public ContractVariation(int version, Contract contract)

		this.contract = contract;
		this.version = version;
		contract.getVariations().add(this);
	
Methods Summary
public ContractgetContract()

		return contract;
	
public java.lang.StringgetText()

		return text;
	
public intgetVersion()

		return version;
	
public voidsetContract(Contract contract)

		this.contract = contract;
	
public voidsetText(java.lang.String text)

		this.text = text;
	
public voidsetVersion(int version)

		this.version = version;