attributes[2] = desc;
attributes[3] = desc;
    public ContainerDescriptor() {        xmlName = "container";        XMLFieldDescriptorImpl desc = null;        XMLFieldHandler handler = null;        //-- initialize attribute descriptors                attributes = new XMLFieldDescriptorImpl[5];        //-- _setMethod        desc = new XMLFieldDescriptorImpl(java.lang.String.class, "_setMethod", "set-method", NodeType.Attribute);        desc.setHandler( new XMLFieldHandler() {            public Object getValue( Object object )                 throws IllegalStateException            {                Container target = (Container) object;                return target.getSetMethod();            }            public void setValue( Object object, Object value)                 throws IllegalStateException, IllegalArgumentException            {                try {                    Container target = (Container) object;                    target.setSetMethod( (java.lang.String) value);                }                catch (Exception ex) {                    throw new IllegalStateException(ex.toString());                }            }            public Object newInstance( Object parent ) {                return new java.lang.String();            }        } );        attributes[0] = desc;                //-- _getMethod        desc = new XMLFieldDescriptorImpl(java.lang.String.class, "_getMethod", "get-method", NodeType.Attribute);        desc.setHandler( new XMLFieldHandler() {            public Object getValue( Object object )                 throws IllegalStateException            {                Container target = (Container) object;                return target.getGetMethod();            }            public void setValue( Object object, Object value)                 throws IllegalStateException, IllegalArgumentException            {                try {                    Container target = (Container) object;                    target.setGetMethod( (java.lang.String) value);                }                catch (Exception ex) {                    throw new IllegalStateException(ex.toString());                }            }            public Object newInstance( Object parent ) {                return new java.lang.String();            }        } );        attributes[1] = desc;                //-- _type        desc = new XMLFieldDescriptorImpl(java.lang.String.class, "_type", "type", NodeType.Attribute);        desc.setHandler( new XMLFieldHandler() {            public Object getValue( Object object )                 throws IllegalStateException            {                Container target = (Container) object;                return target.getType();            }            public void setValue( Object object, Object value)                 throws IllegalStateException, IllegalArgumentException            {                try {                    Container target = (Container) object;                    target.setType( (java.lang.String) value);                }                catch (Exception ex) {                    throw new IllegalStateException(ex.toString());                }            }            public Object newInstance( Object parent ) {                return new java.lang.String();            }        } );        attributes[2] = desc;                //-- _required        desc = new XMLFieldDescriptorImpl(boolean.class, "_required", "required", NodeType.Attribute);        desc.setHandler( new XMLFieldHandler() {            public Object getValue( Object object )                 throws IllegalStateException            {                Container target = (Container) object;                return new Boolean(target.getRequired());            }            public void setValue( Object object, Object value)                 throws IllegalStateException, IllegalArgumentException            {                try {                    Container target = (Container) object;                    target.setRequired( ((Boolean)value).booleanValue());                }                catch (Exception ex) {                    throw new IllegalStateException(ex.toString());                }            }            public Object newInstance( Object parent ) {                return null;            }        } );        attributes[3] = desc;                //-- _name        desc = new XMLFieldDescriptorImpl(java.lang.String.class, "_name", "name", NodeType.Attribute);        desc.setHandler( new XMLFieldHandler() {            public Object getValue( Object object )                 throws IllegalStateException            {                Container target = (Container) object;                return target.getName();            }            public void setValue( Object object, Object value)                 throws IllegalStateException, IllegalArgumentException            {                try {                    Container target = (Container) object;                    target.setName( (java.lang.String) value);                }                catch (Exception ex) {                    throw new IllegalStateException(ex.toString());                }            }            public Object newInstance( Object parent ) {                return new java.lang.String();            }        } );        attributes[4] = desc;                //-- initialize element descriptors                elements = new XMLFieldDescriptorImpl[2];        //-- _description        desc = new XMLFieldDescriptorImpl(Description.class, "_description", "description", NodeType.Element);        handler = (new XMLFieldHandler() {            public Object getValue( Object object )                 throws IllegalStateException            {                Container target = (Container) object;                return target.getDescription();            }            public void setValue( Object object, Object value)                 throws IllegalStateException, IllegalArgumentException            {                try {                    Container target = (Container) object;                    target.setDescription( (Description) value);                }                catch (Exception ex) {                    throw new IllegalStateException(ex.toString());                }            }            public Object newInstance( Object parent ) {                return new Description();            }        } );        desc.setHandler(handler);        desc.setMultivalued(false);        elements[0] = desc;                //-- _fieldMappingList        desc = new XMLFieldDescriptorImpl(FieldMapping.class, "_fieldMappingList", "field", NodeType.Element);        handler = (new XMLFieldHandler() {            public Object getValue( Object object )                 throws IllegalStateException            {                Container target = (Container) object;                return target.getFieldMapping();            }            public void setValue( Object object, Object value)                 throws IllegalStateException, IllegalArgumentException            {                try {                    Container target = (Container) object;                    target.addFieldMapping( (FieldMapping) value);                }                catch (Exception ex) {                    throw new IllegalStateException(ex.toString());                }            }            public Object newInstance( Object parent ) {                return new FieldMapping();            }        } );        desc.setHandler(handler);        desc.setRequired(true);        desc.setMultivalued(true);        elements[1] = desc;            } //-- org.exolab.castor.mapping.xml.ContainerDescriptor()