Hi George, (or Tommy ?),
As you got an existing Data class, I suppose that you have an old assignment (in the new ones as mine, you are given only the interface).
In your case, I would modify Data instead of extending it because the given Data is not complete : as a Data class with no lock(),unlock() nor criteriaFind() method would be useless, it doesn't make much sense IMO to provide it as it is.
Best,
Phil.
[ October 13, 2003: Message edited by: Philippe Maquet ]