/* */ public Object[] toArray() {
/* 1666 */ Set value = JDBCCMRFieldBridge2.CollectionValuedFieldState.access$1800(this.state, this.ctx);
/* */
/* 1668 */ Object[] result = (Object[])(Object[])Array.newInstance(JDBCCMRFieldBridge2.this.relatedEntity.getLocalInterface(), value.size());
/* */
/* 1670 */ LocalProxyFactory relatedPF = JDBCCMRFieldBridge2.this.relatedContainer.getLocalProxyFactory();
/* 1671 */ int i = 0;
/* 1672 */ for (Iterator iter = value.iterator(); iter.hasNext(); )
/* */ {
/* 1674 */ Object id = iter.next();
/* 1675 */ result[(i++)] = relatedPF.getEntityEJBLocalObject(id);
/* */ }
/* */
/* 1678 */ return result;
/* */ }