org.hibernate.test.event.collection
Class ChildValue

java.lang.Object
  extended by org.hibernate.test.event.collection.ChildValue
All Implemented Interfaces:
Child
Direct Known Subclasses:
ChildEntity

public class ChildValue
extends Object
implements Child


Constructor Summary
ChildValue()
           
ChildValue(String name)
           
 
Method Summary
 boolean equals(Object otherChild)
           
 String getName()
           
 int hashCode()
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildValue

public ChildValue()

ChildValue

public ChildValue(String name)
Method Detail

getName

public String getName()
Specified by:
getName in interface Child

setName

public void setName(String name)
Specified by:
setName in interface Child

equals

public boolean equals(Object otherChild)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.