// the type attributes cache, and save about 2% of the
// traversal time here by avoiding the calls to findAttrIndex
// and getAttr.
int attrIndex = object.findAttrIndex(name);
if (attrIndex != -1) {
IAttr attr = object.getAttr(attrIndex);
getDctmAttribute(name, attr.getDataType(), values);
} else {
// No property by that name found.
return false;
}
}