Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.test.immutable
Class Contract  view Contract download Contract.java

java.lang.Object
  extended byorg.hibernate.test.immutable.Contract
All Implemented Interfaces:
java.io.Serializable

public class Contract
extends java.lang.Object
implements java.io.Serializable


Field Summary
private  java.lang.String customerName
           
private  long id
           
private  java.lang.String type
           
private  java.util.List variations
           
 
Constructor Summary
Contract()
           
Contract(java.lang.String customerName, java.lang.String type)
           
 
Method Summary
 java.lang.String getCustomerName()
           
 long getId()
           
 java.lang.String getType()
           
 java.util.List getVariations()
           
 void setCustomerName(java.lang.String customerName)
           
 void setId(long id)
           
 void setType(java.lang.String type)
           
 void setVariations(java.util.List variations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private long id

customerName

private java.lang.String customerName

type

private java.lang.String type

variations

private java.util.List variations
Constructor Detail

Contract

public Contract()

Contract

public Contract(java.lang.String customerName,
                java.lang.String type)
Method Detail

getCustomerName

public java.lang.String getCustomerName()

setCustomerName

public void setCustomerName(java.lang.String customerName)

getId

public long getId()

setId

public void setId(long id)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getVariations

public java.util.List getVariations()

setVariations

public void setVariations(java.util.List variations)