org.hibernate.test.collection.backref.map.compkey
Class MapKey

java.lang.Object
  extended by org.hibernate.test.collection.backref.map.compkey.MapKey
All Implemented Interfaces:
Serializable

public class MapKey
extends Object
implements Serializable

A composite map key.

See Also:
Serialized Form

Constructor Summary
MapKey()
           
MapKey(String role)
           
 
Method Summary
 boolean equals(Object o)
           
 String getRole()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapKey

public MapKey()

MapKey

public MapKey(String role)
Method Detail

getRole

public String getRole()

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.