AdvanceShippingNoticeDescriptor.java Changes ================================================= Old: ------- //-- _containerList desc = new XMLFieldDescriptorImpl(Container.class, "_containerList", "Container", NodeType.Element); handler = (new XMLFieldHandler() { public Object getValue( Object object ) throws IllegalStateException { AdvanceShippingNotice target = (AdvanceShippingNotice) object; return target.getContainer(); } public void setValue( Object object, Object value) throws IllegalStateException, IllegalArgumentException { try { AdvanceShippingNotice target = (AdvanceShippingNotice) object; target.addContainer( (Container) value); } catch (Exception ex) { throw new IllegalStateException(ex.toString()); } } public Object newInstance( Object parent ) { return new Container(); } } ); New: ------- //-- _containerList desc = new XMLFieldDescriptorImpl(Container.class, "_containerList", "Container", NodeType.Element); handler = (new XMLFieldHandler() { public Object getValue( Object object ) throws IllegalStateException { AdvanceShippingNotice target = (AdvanceShippingNotice) object; return target.getContainerList(); } public void setValue( Object object, Object value) throws IllegalStateException, IllegalArgumentException { try { AdvanceShippingNotice target = (AdvanceShippingNotice) object; target.addContainer( (Container) value); } catch (Exception ex) { throw new IllegalStateException(ex.toString()); } } public Object newInstance( Object parent ) { return new Container(); } } ); ---------------------------------------------------------------------------------------------------- Old: ------ //-- _productList desc = new XMLFieldDescriptorImpl(Product.class, "_productList", "Product", NodeType.Element); handler = (new XMLFieldHandler() { public Object getValue( Object object ) throws IllegalStateException { AdvanceShippingNotice target = (AdvanceShippingNotice) object; return target.getProduct(); } public void setValue( Object object, Object value) throws IllegalStateException, IllegalArgumentException { try { AdvanceShippingNotice target = (AdvanceShippingNotice) object; target.addProduct( (Product) value); } catch (Exception ex) { throw new IllegalStateException(ex.toString()); } } public Object newInstance( Object parent ) { return new Product(); } } ); New: ----- //-- _productList desc = new XMLFieldDescriptorImpl(Product.class, "_productList", "Product", NodeType.Element); handler = (new XMLFieldHandler() { public Object getValue( Object object ) throws IllegalStateException { AdvanceShippingNotice target = (AdvanceShippingNotice) object; return target.getProductList(); } public void setValue( Object object, Object value) throws IllegalStateException, IllegalArgumentException { try { AdvanceShippingNotice target = (AdvanceShippingNotice) object; target.addProduct( (Product) value); } catch (Exception ex) { throw new IllegalStateException(ex.toString()); } } public Object newInstance( Object parent ) { return new Product(); } } );