public AT033ATDescriptor() {
    super();
    nsURI = "http://www.evologic.com.uk/evologic/evotype";
    xmlName = "AT033AT";
    org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
    org.exolab.castor.xml.XMLFieldHandler handler = null;
    org.exolab.castor.xml.FieldValidator fieldValidator = null;
    // -- initialize attribute descriptors

    // -- _value
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class, "_value", "value", org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            AT033AT target = (AT033AT) object;
            return target.getValue();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              AT033AT target = (AT033AT) object;
              target.setValue((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    desc.setRequired(true);
    addFieldDescriptor(desc);

    // -- validation code for: _value
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- initialize element descriptors

  } // -- org.artistar.tahoe.config.type.AT033ATDescriptor()
Example #2
0
/*
  public PremiumDtlsDescriptor() {
    super();
    xmlName = "PremiumDtls";

    // -- set grouping compositor
    setCompositorAsSequence();
    org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
    org.exolab.castor.mapping.FieldHandler handler = null;
    org.exolab.castor.xml.FieldValidator fieldValidator = null;
    // -- initialize attribute descriptors

    // -- initialize element descriptors

    // -- _premiumTypeCd
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            au.com.suncorp.dm.policy.types.PremiumTypeCdType.class,
            "_premiumTypeCd",
            "PremiumTypeCd",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            PremiumDtls target = (PremiumDtls) object;
            return target.getPremiumTypeCd();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              PremiumDtls target = (PremiumDtls) object;
              target.setPremiumTypeCd((au.com.suncorp.dm.policy.types.PremiumTypeCdType) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        };
    handler =
        new org.exolab.castor.xml.handlers.EnumFieldHandler(
            au.com.suncorp.dm.policy.types.PremiumTypeCdType.class, handler);
    desc.setImmutable(true);
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _premiumTypeCd
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
    }
    desc.setValidator(fieldValidator);
    // -- _inOutputCd
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            au.com.suncorp.dm.policy.types.InOutputCdType.class,
            "_inOutputCd",
            "InOutputCd",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            PremiumDtls target = (PremiumDtls) object;
            return target.getInOutputCd();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              PremiumDtls target = (PremiumDtls) object;
              target.setInOutputCd((au.com.suncorp.dm.policy.types.InOutputCdType) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        };
    handler =
        new org.exolab.castor.xml.handlers.EnumFieldHandler(
            au.com.suncorp.dm.policy.types.InOutputCdType.class, handler);
    desc.setImmutable(true);
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _inOutputCd
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
    }
    desc.setValidator(fieldValidator);
    // -- _singleInstalmentCd
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            au.com.suncorp.dm.policy.types.SingleInstalmentCdType.class,
            "_singleInstalmentCd",
            "SingleInstalmentCd",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            PremiumDtls target = (PremiumDtls) object;
            return target.getSingleInstalmentCd();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              PremiumDtls target = (PremiumDtls) object;
              target.setSingleInstalmentCd(
                  (au.com.suncorp.dm.policy.types.SingleInstalmentCdType) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        };
    handler =
        new org.exolab.castor.xml.handlers.EnumFieldHandler(
            au.com.suncorp.dm.policy.types.SingleInstalmentCdType.class, handler);
    desc.setImmutable(true);
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _singleInstalmentCd
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
    }
    desc.setValidator(fieldValidator);
    // -- _premiumCompDtlsList
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            au.com.suncorp.dm.policy.PremiumCompDtls.class,
            "_premiumCompDtlsList",
            "PremiumCompDtls",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            PremiumDtls target = (PremiumDtls) object;
            return target.getPremiumCompDtls();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              PremiumDtls target = (PremiumDtls) object;
              target.addPremiumCompDtls((au.com.suncorp.dm.policy.PremiumCompDtls) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return new au.com.suncorp.dm.policy.PremiumCompDtls();
          }
        };
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(true);
    addFieldDescriptor(desc);

    // -- validation code for: _premiumCompDtlsList
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
    }
    desc.setValidator(fieldValidator);
  } // -- au.com.suncorp.dm.policy.PremiumDtlsDescriptor()
Example #4
0
  public IconDescriptor() {
    super();
    xmlName = "icon";
    org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
    org.exolab.castor.xml.XMLFieldHandler handler = null;
    org.exolab.castor.xml.FieldValidator fieldValidator = null;
    // -- initialize attribute descriptors

    // -- _text
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class, "_text", "text", org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Icon target = (Icon) object;
            return target.getText();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Icon target = (Icon) object;
              target.setText((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    desc.setRequired(true);
    addFieldDescriptor(desc);

    // -- validation code for: _text
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _src
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class, "_src", "src", org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Icon target = (Icon) object;
            return target.getSrc();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Icon target = (Icon) object;
              target.setSrc((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    desc.setRequired(true);
    addFieldDescriptor(desc);

    // -- validation code for: _src
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- initialize element descriptors

  } // -- com.iver.andami.plugins.config.generate.IconDescriptor()
  public MeteorRsMsgTypeDescriptor() {
    super();
    nsURI = "http://schemas.pescxml.org";
    xmlName = "MeteorRsMsgType";

    // -- set grouping compositor
    setCompositorAsSequence();
    org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
    org.exolab.castor.xml.XMLFieldHandler handler = null;
    org.exolab.castor.xml.FieldValidator fieldValidator = null;
    // -- initialize attribute descriptors

    // -- _PESCXMLVersion
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class,
            "_PESCXMLVersion",
            "PESCXMLVersion",
            org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            MeteorRsMsgType target = (MeteorRsMsgType) object;
            return target.getPESCXMLVersion();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              MeteorRsMsgType target = (MeteorRsMsgType) object;
              target.setPESCXMLVersion((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    desc.setRequired(true);
    addFieldDescriptor(desc);

    // -- validation code for: _PESCXMLVersion
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      typeValidator.setFixed("3.0.0");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- initialize element descriptors

    // -- _meteorDataProviderInfoList
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            org.nchelp.meteor.message.response.MeteorDataProviderInfo.class,
            "_meteorDataProviderInfoList",
            "MeteorDataProviderInfo",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            MeteorRsMsgType target = (MeteorRsMsgType) object;
            return target.getMeteorDataProviderInfo();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              MeteorRsMsgType target = (MeteorRsMsgType) object;
              target.addMeteorDataProviderInfo(
                  (org.nchelp.meteor.message.response.MeteorDataProviderInfo) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return new org.nchelp.meteor.message.response.MeteorDataProviderInfo();
          }
        });
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(true);
    addFieldDescriptor(desc);

    // -- validation code for: _meteorDataProviderInfoList
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
    }
    desc.setValidator(fieldValidator);
    // -- _meteorDataAggregates
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            org.nchelp.meteor.message.response.MeteorDataAggregates.class,
            "_meteorDataAggregates",
            "MeteorDataAggregates",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            MeteorRsMsgType target = (MeteorRsMsgType) object;
            return target.getMeteorDataAggregates();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              MeteorRsMsgType target = (MeteorRsMsgType) object;
              target.setMeteorDataAggregates(
                  (org.nchelp.meteor.message.response.MeteorDataAggregates) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return new org.nchelp.meteor.message.response.MeteorDataAggregates();
          }
        });
    desc.setHandler(handler);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _meteorDataAggregates
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    { // -- local scope
    }
    desc.setValidator(fieldValidator);
    // -- _meteorIndexProviderDataList
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            org.nchelp.meteor.message.response.MeteorIndexProviderData.class,
            "_meteorIndexProviderDataList",
            "MeteorIndexProviderData",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            MeteorRsMsgType target = (MeteorRsMsgType) object;
            return target.getMeteorIndexProviderData();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              MeteorRsMsgType target = (MeteorRsMsgType) object;
              target.addMeteorIndexProviderData(
                  (org.nchelp.meteor.message.response.MeteorIndexProviderData) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return new org.nchelp.meteor.message.response.MeteorIndexProviderData();
          }
        });
    desc.setHandler(handler);
    desc.setMultivalued(true);
    addFieldDescriptor(desc);

    // -- validation code for: _meteorIndexProviderDataList
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(0);
    { // -- local scope
    }
    desc.setValidator(fieldValidator);
  } // -- org.nchelp.meteor.message.response.MeteorRsMsgTypeDescriptor()
  public WdbElementDescriptor() {
    super();
    xmlName = "wdbElement";
    org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
    org.exolab.castor.mapping.FieldHandler handler = null;
    org.exolab.castor.xml.FieldValidator fieldValidator = null;
    // -- initialize attribute descriptors

    // -- _name
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class, "_name", "name", org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            WdbElement target = (WdbElement) object;
            return target.getName();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              WdbElement target = (WdbElement) object;
              target.setName((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        };
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _name
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _type
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class, "_type", "type", org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            WdbElement target = (WdbElement) object;
            return target.getType();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              WdbElement target = (WdbElement) object;
              target.setType((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        };
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _type
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _size
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.Integer.TYPE, "_size", "size", org.exolab.castor.xml.NodeType.Attribute);
    handler =
        new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            WdbElement target = (WdbElement) object;
            if (!target.hasSize()) return null;
            return new java.lang.Integer(target.getSize());
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              WdbElement target = (WdbElement) object;
              // if null, use delete method for optional primitives
              if (value == null) {
                target.deleteSize();
                return;
              }
              target.setSize(((java.lang.Integer) value).intValue());
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        };
    desc.setHandler(handler);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _size
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    { // -- local scope
      IntegerValidator typeValidator = new IntegerValidator();
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- initialize element descriptors

  } // -- com.gele.tools.wow.wdbearmanager.castor.WdbElementDescriptor()
Example #7
0
  public MenuDescriptor() {
    super();
    xmlName = "menu";
    org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
    org.exolab.castor.xml.XMLFieldHandler handler = null;
    org.exolab.castor.xml.FieldValidator fieldValidator = null;
    // -- initialize attribute descriptors

    // -- _actionCommand
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class,
            "_actionCommand",
            "action-command",
            org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Menu target = (Menu) object;
            return target.getActionCommand();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Menu target = (Menu) object;
              target.setActionCommand((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    addFieldDescriptor(desc);

    // -- validation code for: _actionCommand
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _key
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class, "_key", "key", org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Menu target = (Menu) object;
            return target.getKey();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Menu target = (Menu) object;
              target.setKey((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    addFieldDescriptor(desc);

    // -- validation code for: _key
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _icon
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class, "_icon", "icon", org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Menu target = (Menu) object;
            return target.getIcon();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Menu target = (Menu) object;
              target.setIcon((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    addFieldDescriptor(desc);

    // -- validation code for: _icon
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _tooltip
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class,
            "_tooltip",
            "tooltip",
            org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Menu target = (Menu) object;
            return target.getTooltip();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Menu target = (Menu) object;
              target.setTooltip((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    addFieldDescriptor(desc);

    // -- validation code for: _tooltip
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _enableText
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class,
            "_enableText",
            "enable-text",
            org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Menu target = (Menu) object;
            return target.getEnableText();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Menu target = (Menu) object;
              target.setEnableText((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    addFieldDescriptor(desc);

    // -- validation code for: _enableText
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _mnemonic
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class,
            "_mnemonic",
            "mnemonic",
            org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Menu target = (Menu) object;
            return target.getMnemonic();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Menu target = (Menu) object;
              target.setMnemonic((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    addFieldDescriptor(desc);

    // -- validation code for: _mnemonic
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _text
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class, "_text", "text", org.exolab.castor.xml.NodeType.Attribute);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Menu target = (Menu) object;
            return target.getText();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Menu target = (Menu) object;
              target.setText((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    desc.setRequired(true);
    addFieldDescriptor(desc);

    // -- validation code for: _text
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _position
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.Integer.TYPE,
            "_position",
            "position",
            org.exolab.castor.xml.NodeType.Attribute);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Menu target = (Menu) object;
            if (!target.hasPosition()) return null;
            return new java.lang.Integer(target.getPosition());
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Menu target = (Menu) object;
              // if null, use delete method for optional primitives
              if (value == null) {
                target.deletePosition();
                return;
              }
              target.setPosition(((java.lang.Integer) value).intValue());
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    addFieldDescriptor(desc);

    // -- validation code for: _position
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    { // -- local scope
      IntegerValidator typeValidator = new IntegerValidator();
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _is_separator
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.Boolean.TYPE,
            "_is_separator",
            "is_separator",
            org.exolab.castor.xml.NodeType.Attribute);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Menu target = (Menu) object;
            if (!target.hasIs_separator()) return null;
            return (target.getIs_separator() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Menu target = (Menu) object;
              // if null, use delete method for optional primitives
              if (value == null) {
                target.deleteIs_separator();
                return;
              }
              target.setIs_separator(((java.lang.Boolean) value).booleanValue());
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    addFieldDescriptor(desc);

    // -- validation code for: _is_separator
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    { // -- local scope
      BooleanValidator typeValidator = new BooleanValidator();
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- initialize element descriptors

  } // -- com.iver.andami.plugins.config.generate.MenuDescriptor()
  public MgmtPolicyDescriptor() {
    super();
    xmlName = "MgmtPolicy";

    // -- set grouping compositor
    setCompositorAsSequence();
    org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
    org.exolab.castor.xml.XMLFieldHandler handler = null;
    org.exolab.castor.xml.FieldValidator fieldValidator = null;
    // -- initialize attribute descriptors

    // -- initialize element descriptors

    // -- _id
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            com.cisco.eManager.common.inventory2.ManagedObjectId.class,
            "_id",
            "id",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            MgmtPolicy target = (MgmtPolicy) object;
            return target.getId();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              MgmtPolicy target = (MgmtPolicy) object;
              target.setId((com.cisco.eManager.common.inventory2.ManagedObjectId) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return new com.cisco.eManager.common.inventory2.ManagedObjectId();
          }
        });
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _id
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
    }
    desc.setValidator(fieldValidator);
    // -- _name
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class, "_name", "name", org.exolab.castor.xml.NodeType.Element);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            MgmtPolicy target = (MgmtPolicy) object;
            return target.getName();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              MgmtPolicy target = (MgmtPolicy) object;
              target.setName((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _name
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _pathname
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class,
            "_pathname",
            "pathname",
            org.exolab.castor.xml.NodeType.Element);
    desc.setImmutable(true);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            MgmtPolicy target = (MgmtPolicy) object;
            return target.getPathname();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              MgmtPolicy target = (MgmtPolicy) object;
              target.setPathname((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        });
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _pathname
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _state
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            com.cisco.eManager.common.inventory2.MgmtPolicyState.class,
            "_state",
            "state",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            MgmtPolicy target = (MgmtPolicy) object;
            return target.getState();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              MgmtPolicy target = (MgmtPolicy) object;
              target.setState((com.cisco.eManager.common.inventory2.MgmtPolicyState) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return new com.cisco.eManager.common.inventory2.MgmtPolicyState();
          }
        });
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _state
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
    }
    desc.setValidator(fieldValidator);
  } // -- com.cisco.eManager.common.inventory2.MgmtPolicyDescriptor()
  public TransactionDescriptor() {
    super();
    nsURI = "http://www.example.org/Transaction_psiahu";
    xmlName = "Transaction";

    // -- set grouping compositor
    setCompositorAsSequence();
    org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
    org.exolab.castor.mapping.FieldHandler handler = null;
    org.exolab.castor.xml.FieldValidator fieldValidator = null;
    // -- initialize attribute descriptors

    // -- initialize element descriptors

    // -- _transactionType
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            au.com.suncorp.dm.tx.types.TransactionTypeType.class,
            "_transactionType",
            "TransactionType",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Transaction target = (Transaction) object;
            return target.getTransactionType();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Transaction target = (Transaction) object;
              target.setTransactionType((au.com.suncorp.dm.tx.types.TransactionTypeType) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        };
    handler =
        new org.exolab.castor.xml.handlers.EnumFieldHandler(
            au.com.suncorp.dm.tx.types.TransactionTypeType.class, handler);
    desc.setImmutable(true);
    desc.setHandler(handler);
    desc.setNameSpaceURI("http://www.example.org/Transaction_psiahu");
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _transactionType
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
    }
    desc.setValidator(fieldValidator);
    // -- _amount
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.math.BigDecimal.class,
            "_amount",
            "Amount",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Transaction target = (Transaction) object;
            return target.getAmount();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Transaction target = (Transaction) object;
              target.setAmount((java.math.BigDecimal) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return new java.math.BigDecimal(0);
          }
        };
    desc.setImmutable(true);
    desc.setHandler(handler);
    desc.setNameSpaceURI("http://www.example.org/Transaction_psiahu");
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _amount
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      DecimalValidator typeValidator = new DecimalValidator();
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _createDate
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.util.Date.class,
            "_createDate",
            "CreateDate",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Transaction target = (Transaction) object;
            return target.getCreateDate();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Transaction target = (Transaction) object;
              target.setCreateDate((java.util.Date) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return new java.util.Date();
          }
        };
    handler = new org.exolab.castor.xml.handlers.DateFieldHandler(handler);
    desc.setImmutable(true);
    desc.setHandler(handler);
    desc.setNameSpaceURI("http://www.example.org/Transaction_psiahu");
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _createDate
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
    }
    desc.setValidator(fieldValidator);
    // -- _description
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.lang.String.class,
            "_description",
            "Description",
            org.exolab.castor.xml.NodeType.Element);
    desc.setImmutable(true);
    handler =
        new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            Transaction target = (Transaction) object;
            return target.getDescription();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              Transaction target = (Transaction) object;
              target.setDescription((java.lang.String) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return null;
          }
        };
    desc.setHandler(handler);
    desc.setNameSpaceURI("http://www.example.org/Transaction_psiahu");
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _description
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      StringValidator typeValidator = new StringValidator();
      typeValidator.setWhiteSpace("preserve");
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
  } // -- au.com.suncorp.dm.tx.TransactionDescriptor()
  public PaymentTypeDescriptor() {
    super();
    nsURI = "http://schemas.pescxml.org";
    xmlName = "PaymentType";

    // -- set grouping compositor
    setCompositorAsSequence();
    org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
    org.exolab.castor.xml.XMLFieldHandler handler = null;
    org.exolab.castor.xml.FieldValidator fieldValidator = null;
    // -- initialize attribute descriptors

    // -- initialize element descriptors

    // -- _paymentAmt
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            java.math.BigDecimal.class,
            "_paymentAmt",
            "PaymentAmt",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            PaymentType target = (PaymentType) object;
            return target.getPaymentAmt();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              PaymentType target = (PaymentType) object;
              target.setPaymentAmt((java.math.BigDecimal) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return new java.math.BigDecimal(0);
          }
        });
    desc.setHandler(handler);
    desc.setImmutable(true);
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _paymentAmt
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      DecimalValidator typeValidator = new DecimalValidator();
      typeValidator.setMinInclusive(new java.math.BigDecimal("0.00"));
      typeValidator.setMaxInclusive(new java.math.BigDecimal("999999999.99"));
      typeValidator.setTotalDigits(11);
      typeValidator.setFractionDigits(2);
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
    // -- _paymentDt
    desc =
        new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
            org.exolab.castor.types.Date.class,
            "_paymentDt",
            "PaymentDt",
            org.exolab.castor.xml.NodeType.Element);
    handler =
        (new org.exolab.castor.xml.XMLFieldHandler() {
          public java.lang.Object getValue(java.lang.Object object) throws IllegalStateException {
            PaymentType target = (PaymentType) object;
            return target.getPaymentDt();
          }

          public void setValue(java.lang.Object object, java.lang.Object value)
              throws IllegalStateException, IllegalArgumentException {
            try {
              PaymentType target = (PaymentType) object;
              target.setPaymentDt((org.exolab.castor.types.Date) value);
            } catch (java.lang.Exception ex) {
              throw new IllegalStateException(ex.toString());
            }
          }

          public java.lang.Object newInstance(java.lang.Object parent) {
            return new org.exolab.castor.types.Date();
          }
        });
    desc.setHandler(handler);
    desc.setRequired(true);
    desc.setMultivalued(false);
    addFieldDescriptor(desc);

    // -- validation code for: _paymentDt
    fieldValidator = new org.exolab.castor.xml.FieldValidator();
    fieldValidator.setMinOccurs(1);
    { // -- local scope
      DateTimeValidator typeValidator = new DateTimeValidator();
      fieldValidator.setValidator(typeValidator);
    }
    desc.setValidator(fieldValidator);
  } // -- org.nchelp.meteor.message.response.PaymentTypeDescriptor()