public PropertyIterator getReferences() throws RepositoryException {
// check state of this instance
sanityCheck();
try {
NodeReferencesId targetId = new NodeReferencesId((NodeId) id);
if (stateMgr.hasNodeReferences(targetId)) {
NodeReferences refs = stateMgr.getNodeReferences(targetId);
// refs.getReferences() returns a list of PropertyId's
List idList = refs.getReferences();
return new LazyItemIterator(itemMgr, idList);