org.hibernate.envers.test.entities.manytomany.biowned
Class ListBiowning1Entity

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

@Entity
public class ListBiowning1Entity
extends Object

Entity owning a many-to-many relation, where the other entity also owns the relation.


Constructor Summary
ListBiowning1Entity()
           
ListBiowning1Entity(Integer id, String data)
           
ListBiowning1Entity(String data)
           
 
Method Summary
 boolean equals(Object o)
           
 String getData()
           
 Integer getId()
           
 List<ListBiowning2Entity> getReferences()
           
 int hashCode()
           
 void setData(String data)
           
 void setId(Integer id)
           
 void setReferences(List<ListBiowning2Entity> references)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListBiowning1Entity

public ListBiowning1Entity()

ListBiowning1Entity

public ListBiowning1Entity(Integer id,
                           String data)

ListBiowning1Entity

public ListBiowning1Entity(String data)
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getData

public String getData()

setData

public void setData(String data)

getReferences

public List<ListBiowning2Entity> getReferences()

setReferences

public void setReferences(List<ListBiowning2Entity> 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.