org.hibernate.test.immutable
Class Contract
java.lang.Object
   org.hibernate.test.immutable.Contract
org.hibernate.test.immutable.Contract
- All Implemented Interfaces: 
- Serializable
- public class Contract 
- extends Object- implements Serializable
- See Also:
- Serialized Form
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Contract
public Contract()
Contract
public Contract(Plan plan,
                String customerName,
                String type)
getVersion
public long getVersion()
- 
 
- 
 
setVersion
public void setVersion(long version)
- 
 
- 
 
getPlans
public Set getPlans()
- 
 
- 
 
setPlans
public void setPlans(Set plans)
- 
 
- 
 
getCustomerName
public String getCustomerName()
- 
 
- 
 
setCustomerName
public void setCustomerName(String customerName)
- 
 
- 
 
getId
public long getId()
- 
 
- 
 
setId
public void setId(long id)
- 
 
- 
 
getType
public String getType()
- 
 
- 
 
setType
public void setType(String type)
- 
 
- 
 
getVariations
public List getVariations()
- 
 
- 
 
setVariations
public void setVariations(List variations)
- 
 
- 
 
getParent
public Contract getParent()
- 
 
- 
 
setParent
public void setParent(Contract parent)
- 
 
- 
 
getSubcontracts
public Set getSubcontracts()
- 
 
- 
 
setSubcontracts
public void setSubcontracts(Set subcontracts)
- 
 
- 
 
addSubcontract
public void addSubcontract(Contract subcontract)
- 
 
- 
 
getParties
public Set getParties()
- 
 
- 
 
setParties
public void setParties(Set parties)
- 
 
- 
 
addParty
public void addParty(Party party)
- 
 
- 
 
removeParty
public void removeParty(Party party)
- 
 
- 
 
getInfos
public Set getInfos()
- 
 
- 
 
setInfos
public void setInfos(Set infos)
- 
 
- 
 
Copyright © 2001-2012 Red Hat, Inc.  All Rights Reserved.