org.hibernate.test.immutable.entitywithmutablecollection
Class Contract

java.lang.Object
  extended by org.hibernate.test.immutable.entitywithmutablecollection.Contract
All Implemented Interfaces:
Serializable

public class Contract
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Contract()
           
Contract(Plan plan, String customerName, String type)
           
 
Method Summary
 void addParty(Party party)
           
 void addSubcontract(Contract subcontract)
           
 String getCustomerName()
           
 long getId()
           
 Set getInfos()
           
 Contract getParent()
           
 Set getParties()
           
 Set getPlans()
           
 Set getSubcontracts()
           
 String getType()
           
 List getVariations()
           
 long getVersion()
           
 void removeParty(Party party)
           
 void setCustomerName(String customerName)
           
 void setId(long id)
           
 void setInfos(Set infos)
           
 void setParent(Contract parent)
           
 void setParties(Set parties)
           
 void setPlans(Set plans)
           
 void setSubcontracts(Set subcontracts)
           
 void setType(String type)
           
 void setVariations(List variations)
           
 void setVersion(long version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contract

public Contract()

Contract

public Contract(Plan plan,
                String customerName,
                String type)
Method Detail

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.