org.hibernate.envers.test.entities.components.relations
Class OneToManyComponentTestEntity

java.lang.Object
  extended by org.hibernate.envers.test.entities.components.relations.OneToManyComponentTestEntity

@Entity
public class OneToManyComponentTestEntity
extends Object


Constructor Summary
OneToManyComponentTestEntity()
           
OneToManyComponentTestEntity(Integer id, OneToManyComponent comp1)
           
OneToManyComponentTestEntity(OneToManyComponent comp1)
           
 
Method Summary
 boolean equals(Object o)
           
 OneToManyComponent getComp1()
           
 Integer getId()
           
 int hashCode()
           
 void setComp1(OneToManyComponent comp1)
           
 void setId(Integer id)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OneToManyComponentTestEntity

public OneToManyComponentTestEntity()

OneToManyComponentTestEntity

public OneToManyComponentTestEntity(Integer id,
                                    OneToManyComponent comp1)

OneToManyComponentTestEntity

public OneToManyComponentTestEntity(OneToManyComponent comp1)
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getComp1

public OneToManyComponent getComp1()

setComp1

public void setComp1(OneToManyComponent comp1)

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.