org.hibernate.envers.test.entities.onetomany.detached.ids
Class SetRefCollEntityEmbId
java.lang.Object
org.hibernate.envers.test.entities.onetomany.detached.ids.SetRefCollEntityEmbId
@Entity
public class SetRefCollEntityEmbId
- extends Object
Set collection of references entity
SetRefCollEntityEmbId
public SetRefCollEntityEmbId()
SetRefCollEntityEmbId
public SetRefCollEntityEmbId(EmbId id,
String data)
SetRefCollEntityEmbId
public SetRefCollEntityEmbId(String data)
getId
public EmbId getId()
setId
public void setId(EmbId id)
getData
public String getData()
setData
public void setData(String data)
getCollection
public Set<EmbIdTestEntity> getCollection()
setCollection
public void setCollection(Set<EmbIdTestEntity> 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.