org.hibernate.envers.test.entities.components
Class ComponentTestEntity

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

@Entity
public class ComponentTestEntity
extends Object


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

Constructor Detail

ComponentTestEntity

public ComponentTestEntity()

ComponentTestEntity

public ComponentTestEntity(Integer id,
                           Component1 comp1,
                           Component2 comp2)

ComponentTestEntity

public ComponentTestEntity(Component1 comp1,
                           Component2 comp2)
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getComp1

public Component1 getComp1()

setComp1

public void setComp1(Component1 comp1)

getComp2

public Component2 getComp2()

setComp2

public void setComp2(Component2 comp2)

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.