|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.testcases.misc.Person
Simple person class with a name and an address.
Constructor Summary | |
Person(String name,
String address)
Create a new person. |
Method Summary | |
boolean |
equals(Object o)
Test if two persons are equal. |
String |
getAddress()
Get the address. |
String |
getName()
Get the name. |
int |
hashCode()
Calculate the hashcode. |
void |
setAddress(String address)
Set the address. |
void |
setName(String name)
Set the name. |
String |
toString()
Get the string representation. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Person(String name, String address)
Method Detail |
public String getName()
public void setName(String name)
name
- The name.public String getAddress()
public void setAddress(String address)
address
- The address.public boolean equals(Object o)
o
-
public int hashCode()
public String toString()
|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.