org.hibernate.envers.test.entities.manytomany
Class SetOwningEntity
java.lang.Object
org.hibernate.envers.test.entities.manytomany.SetOwningEntity
@Entity
public class SetOwningEntity
- extends Object
Entity owning the many-to-many relation
SetOwningEntity
public SetOwningEntity()
SetOwningEntity
public SetOwningEntity(Integer id,
String data)
SetOwningEntity
public SetOwningEntity(String data)
getId
public Integer getId()
setId
public void setId(Integer id)
getData
public String getData()
setData
public void setData(String data)
getReferences
public Set<SetOwnedEntity> getReferences()
setReferences
public void setReferences(Set<SetOwnedEntity> references)
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.