org.hibernate.envers.test.integration.onetoone.unidirectional
Class UniRefIngEntity
java.lang.Object
org.hibernate.envers.test.integration.onetoone.unidirectional.UniRefIngEntity
@Entity
public class UniRefIngEntity
- extends Object
Unidirectional ReferencIng Entity
UniRefIngEntity
public UniRefIngEntity()
UniRefIngEntity
public UniRefIngEntity(Integer id,
String data,
UniRefEdEntity reference)
getId
public Integer getId()
setId
public void setId(Integer id)
getData
public String getData()
setData
public void setData(String data)
getReference
public UniRefEdEntity getReference()
setReference
public void setReference(UniRefEdEntity reference)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.