/** Uses the <code>NODE</code> field to supply the beans - if it is an instance * of ProxyNode (multi-selection), returns the nodes that ProxyNode represents. */ public Object[] getBeans() { if (ReusablePropertyModel.DEBUG) ReusablePropertyModel.checkThread(); if (getNode() instanceof ProxyNode) { return ((ProxyNode) getNode()).getOriginalNodes(); } else if (getNode() instanceof Object[]) { return (Object[]) getNode(); } else { return new Object[] { getNode() }; } }
/** Uses the <code>NODE</code> field to supply the beans - if it is an instance * of ProxyNode (multi-selection), returns the nodes that ProxyNode represents. */ public Object[] getBeans() { if (ReusablePropertyModel.DEBUG) ReusablePropertyModel.checkThread(); if (getNode() instanceof ProxyNode) { return ((ProxyNode) getNode()).getOriginalNodes(); } else if (getNode() instanceof Object[]) { return (Object[]) getNode(); } else { return new Object[] { getNode() }; } }
/** Uses the <code>NODE</code> field to supply the beans - if it is an instance * of ProxyNode (multi-selection), returns the nodes that ProxyNode represents. */ public Object[] getBeans() { if (ReusablePropertyModel.DEBUG) { ReusablePropertyModel.checkThread(); } if (getNode() instanceof ProxyNode) { return ((ProxyNode) getNode()).getOriginalNodes(); } else if (getNode() instanceof Object[]) { return (Object[]) getNode(); } else { return new Object[] { getNode() }; } }