QueryResult queryResultWTPartUsage = StructHelper.service.navigateUses(parentPart, false); while(queryResultWTPartUsage.hasMoreElements()){ WTPartUsageLink wtpartusagelink = (WTPartUsageLink) queryResultWTPartUsage.nextElement();