org.hibernate.envers.test.entities.onetomany.detached
Class DoubleSetRefCollEntity
java.lang.Object
   org.hibernate.envers.test.entities.onetomany.detached.DoubleSetRefCollEntity
org.hibernate.envers.test.entities.onetomany.detached.DoubleSetRefCollEntity
- @Entity
public class DoubleSetRefCollEntity 
- extends Object
Set collection of references entity
 
 
 
DoubleSetRefCollEntity
public DoubleSetRefCollEntity()
DoubleSetRefCollEntity
public DoubleSetRefCollEntity(Integer id,
                              String data)
DoubleSetRefCollEntity
public DoubleSetRefCollEntity(String data)
getId
public Integer getId()
- 
 
setId
public void setId(Integer id)
- 
 
getData
public String getData()
- 
 
setData
public void setData(String data)
- 
 
getCollection
public Set<StrTestEntity> getCollection()
- 
 
setCollection
public void setCollection(Set<StrTestEntity> collection)
- 
 
getCollection2
public Set<StrTestEntity> getCollection2()
- 
 
setCollection2
public void setCollection2(Set<StrTestEntity> collection2)
- 
 
equals
public boolean equals(Object o)
- 
- Overrides:
- equalsin class- Object
 
- 
 
hashCode
public int hashCode()
- 
- Overrides:
- hashCodein class- Object
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2001-2012 Red Hat, Inc.  All Rights Reserved.