org.hibernate.envers.test.entities.onetomany
Class CollectionRefEdEntity

java.lang.Object
  extended by org.hibernate.envers.test.entities.onetomany.CollectionRefEdEntity
All Implemented Interfaces:
Serializable

@Entity
public class CollectionRefEdEntity
extends Object
implements Serializable

ReferencEd entity

See Also:
Serialized Form

Constructor Summary
CollectionRefEdEntity()
           
CollectionRefEdEntity(Integer id, String data)
           
CollectionRefEdEntity(String data)
           
 
Method Summary
 boolean equals(Object o)
           
 String getData()
           
 Integer getId()
           
 Collection<CollectionRefIngEntity> getReffering()
           
 int hashCode()
           
 void setData(String data)
           
 void setId(Integer id)
           
 void setReffering(Collection<CollectionRefIngEntity> reffering)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionRefEdEntity

public CollectionRefEdEntity()

CollectionRefEdEntity

public CollectionRefEdEntity(Integer id,
                             String data)

CollectionRefEdEntity

public CollectionRefEdEntity(String data)
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getData

public String getData()

setData

public void setData(String data)

getReffering

public Collection<CollectionRefIngEntity> getReffering()

setReffering

public void setReffering(Collection<CollectionRefIngEntity> reffering)

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.