I am using the jde and I like it. What I don't know how to do is show
things about objects and vectors. For example, I have the following
breakpoint:
=> while (objRS.next() == true)
{
NameValue newRow = new NameValue();
newRow.setId(objRS.getInt(DBNames.LOOKUP_ID));
newRow.setDescription(objRS.getString(DBNames.LOOKUP_NAME));
_vecReturn.addElement(newRow);
}
When the next function reaches:
while (objRS.next() == true)
{
NameValue newRow = new NameValue();
newRow.setId(objRS.getInt(DBNames.LOOKUP_ID));
newRow.setDescription(objRS.getString(DBNames.LOOKUP_NAME));
=> _vecReturn.addElement(newRow);
}
I can issue the the commands print newRow.id and newRow.description because
these are defined in the NameValue object as variables, but I can't figure
out how to display anything about the vector except something like the
following:
_vecReturn = [net.inka.util.NameValue@1f552e,
net.inka.util.NameValue@1f6348, net.inka.util.NameValue@1f6345,
net.inka.util.NameValue@1f6521, net.inka.util.NameValue@1f5d72]
I need to be able to print something like _vecReturn.size or
_vecReturn.newRow.id.
Is there a way to make this happen?
Galen Boyer
Primix Solutions
One Arsenal Marketplace
Watertown MA, 02472