/** */
private void checkValues(Object oid, VectorCollections expectedValue)
{
StringBuffer sbuf = new StringBuffer();
VectorCollections pi = (VectorCollections)
pm.getObjectById(oid, true);
int n = pi.getLength();
for (int i = 0; i < n; i++) {
Vector expected = expectedValue.get(i);
Vector actual = pi.get(i);
if (actual.size() != expected.size()) {
sbuf.append("\nFor element " + i + ", expected size = " +
expected.size() + ", actual size = " + actual.size()
+ " . ");
}