public class Child
extends java.lang.Object
Constructor and Description |
---|
Child() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
int |
hashCode() |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
public void setName(java.lang.String name)
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object