org.hibernate.envers.test.entities.onetomany.detached
Class ListRefCollEntity

java.lang.Object
  extended by org.hibernate.envers.test.entities.onetomany.detached.ListRefCollEntity

@Entity
public class ListRefCollEntity
extends Object

Set collection of references entity


Constructor Summary
ListRefCollEntity()
           
ListRefCollEntity(Integer id, String data)
           
ListRefCollEntity(String data)
           
 
Method Summary
 boolean equals(Object o)
           
 List<StrTestEntity> getCollection()
           
 String getData()
           
 Integer getId()
           
 int hashCode()
           
 void setCollection(List<StrTestEntity> collection)
           
 void setData(String data)
           
 void setId(Integer id)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListRefCollEntity

public ListRefCollEntity()

ListRefCollEntity

public ListRefCollEntity(Integer id,
                         String data)

ListRefCollEntity

public ListRefCollEntity(String data)
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getData

public String getData()

setData

public void setData(String data)

getCollection

public List<StrTestEntity> getCollection()

setCollection

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