org.hibernate.envers.test.entities.onetomany.detached
Class SetRefCollEntity
java.lang.Object
org.hibernate.envers.test.entities.onetomany.detached.SetRefCollEntity
@Entity
public class SetRefCollEntity
- extends Object
Set collection of references entity
SetRefCollEntity
public SetRefCollEntity()
SetRefCollEntity
public SetRefCollEntity(Integer id,
String data)
SetRefCollEntity
public SetRefCollEntity(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)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.