|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestTheDatabase.BasicPerson
BasicPerson models a simple person that knows the person's name, some private information, and a Key object that identifies the person
| Constructor Summary | |
BasicPerson(DB.Key j,
java.lang.String name,
java.lang.String info)
BasicPerson constructs the person's record |
|
| Method Summary | |
java.lang.String |
getInfo()
getInfo returns the person's private inforamation |
DB.Key |
getKey()
getKey returns the key that uniquely identifies the record |
java.lang.String |
getName()
getName returns the person's name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicPerson(DB.Key j,
java.lang.String name,
java.lang.String info)
j - - the person's keyname - - the person's nameinfo - - private information about the person| Method Detail |
public java.lang.String getName()
public java.lang.String getInfo()
public DB.Key getKey()
DB.Record
getKey in interface DB.Record
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||