org.hibernate.envers.test.entities.manytomany.unidirectional
Class MapUniEntity

java.lang.Object
  extended by org.hibernate.envers.test.entities.manytomany.unidirectional.MapUniEntity

@Entity
public class MapUniEntity
extends Object

Entity with a map from a string to an entity


Constructor Summary
MapUniEntity()
           
MapUniEntity(Integer id, String data)
           
MapUniEntity(String data)
           
 
Method Summary
 boolean equals(Object o)
           
 String getData()
           
 Integer getId()
           
 Map<String,StrTestEntity> getMap()
           
 int hashCode()
           
 void setData(String data)
           
 void setId(Integer id)
           
 void setMap(Map<String,StrTestEntity> map)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapUniEntity

public MapUniEntity()

MapUniEntity

public MapUniEntity(Integer id,
                    String data)

MapUniEntity

public MapUniEntity(String data)
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getData

public String getData()

setData

public void setData(String data)

getMap

public Map<String,StrTestEntity> getMap()

setMap

public void setMap(Map<String,StrTestEntity> map)

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.