org.hibernate.envers.test.entities.manytomany
Class SetOwnedEntity

java.lang.Object
  extended by org.hibernate.envers.test.entities.manytomany.SetOwnedEntity

@Entity
public class SetOwnedEntity
extends Object

Many-to-many not-owning entity


Constructor Summary
SetOwnedEntity()
           
SetOwnedEntity(Integer id, String data)
           
SetOwnedEntity(String data)
           
 
Method Summary
 boolean equals(Object o)
           
 String getData()
           
 Integer getId()
           
 Set<SetOwningEntity> getReferencing()
           
 int hashCode()
           
 void setData(String data)
           
 void setId(Integer id)
           
 void setReferencing(Set<SetOwningEntity> referencing)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetOwnedEntity

public SetOwnedEntity()

SetOwnedEntity

public SetOwnedEntity(Integer id,
                      String data)

SetOwnedEntity

public SetOwnedEntity(String data)
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getData

public String getData()

setData

public void setData(String data)

getReferencing

public Set<SetOwningEntity> getReferencing()

setReferencing

public void setReferencing(Set<SetOwningEntity> referencing)

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.