Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   //
   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-01/24/2006 06:15 PM(kohsuke)-fcs 
   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
   // Any modifications to this file will be lost upon recompilation of the source schema. 
   // Generated on: 2007.03.26 at 04:39:11 PM CEST 
   //
   
   
   package org.jvnet.jaxbvalidation.tests.one.validation;
  
  {
  
  
      public void check(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object draftValue) {
          if (draftValue!= null) {
              final org.jvnet.jaxbvalidation.tests.one.AsmParametersType value = ((org.jvnet.jaxbvalidation.tests.one.AsmParametersTypedraftValue);
              {
                  final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"Alpha");
                  if (!value.isSetAlpha()) {
                      // Report missing object
                      handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                  } else {
                      // Check value
                      fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getAlpha()));
                  }
              }
              {
                  final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"AlphaDc");
                  if (!value.isSetAlphaDc()) {
                      // Report missing object
                      handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                  } else {
                      // Check value
                      fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getAlphaDc()));
                  }
              }
              {
                  final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"AltitudeThreshold");
                  if (!value.isSetAltitudeThreshold()) {
                      // Report missing object
                      handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                  } else {
                      // Check value
                      fieldValidator.check(fieldLocatorhandlervalue.getAltitudeThreshold());
                  }
              }
              {
                  final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"AltitudeThresholdDc");
                  if (!value.isSetAltitudeThresholdDc()) {
                      // Report missing object
                      handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                  } else {
                      // Check value
                      fieldValidator.check(fieldLocatorhandlervalue.getAltitudeThresholdDc());
                  }
              }
              {
                  final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"CapSpeedCoeff");
                  if (!value.isSetCapSpeedCoeff()) {
                      // Report missing object
                      handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                  } else {
                      // Check value
                      fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getCapSpeedCoeff()));
                  }
              }
              {
                  final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"CapSpeedCoeffDc");
                  if (!value.isSetCapSpeedCoeffDc()) {
                      // Report missing object
                      handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                  } else {
                      // Check value
                      fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getCapSpeedCoeffDc()));
                  }
              }
              {
                  final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"CapThresholdMax");
                  if (!value.isSetCapThresholdMax()) {
                      // Report missing object
                      handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                  } else {
                      // Check value
                      fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getCapThresholdMax()));
                  }
              }
              {
                  final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"CapThresholdMaxDc");
                  if (!value.isSetCapThresholdMaxDc()) {
                      // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getCapThresholdMaxDc()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"DtMax");
                 if (!value.isSetDtMax()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Integer(value.getDtMax()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"DtMaxDc");
                 if (!value.isSetDtMaxDc()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Integer(value.getDtMaxDc()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"GammaDtMax");
                 if (!value.isSetGammaDtMax()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getGammaDtMax()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"GammaDtMaxDc");
                 if (!value.isSetGammaDtMaxDc()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getGammaDtMaxDc()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"GammaLMax");
                 if (!value.isSetGammaLMax()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getGammaLMax()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"GammaLMaxDc");
                 if (!value.isSetGammaLMaxDc()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getGammaLMaxDc()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"LengthACoeff");
                 if (!value.isSetLengthACoeff()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getLengthACoeff()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"LengthACoeffDc");
                 if (!value.isSetLengthACoeffDc()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlervalue.getLengthACoeffDc());
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"LengthQMin");
                 if (!value.isSetLengthQMin()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlervalue.getLengthQMin());
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"LengthQMinDc");
                 if (!value.isSetLengthQMinDc()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlervalue.getLengthQMinDc());
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"MosaicCellSize");
                 if (!value.isSetMosaicCellSize()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getMosaicCellSize()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"NbOfSuccDecorrelationMax");
                 if (!value.isSetNbOfSuccDecorrelationMax()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Integer(value.getNbOfSuccDecorrelationMax()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"QMinCap");
                 if (!value.isSetQMinCap()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getQMinCap()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"QMinCapDc");
                 if (!value.isSetQMinCapDc()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlernew java.lang.Float(value.getQMinCapDc()));
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"WidthQMin");
                 if (!value.isSetWidthQMin()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlervalue.getWidthQMin());
                 }
             }
             {
                 final org.jvnet.jaxbcommons.locator.FieldObjectLocator fieldLocator = new org.jvnet.jaxbcommons.locator.DefaultFieldObjectLocator(locatorvalue"WidthQMinDc");
                 if (!value.isSetWidthQMinDc()) {
                     // Report missing object
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(fieldLocatornew org.jvnet.jaxbvalidation.problem.structure.EmptyFieldProblem()));
                 } else {
                     // Check value
                     fieldValidator.check(fieldLocatorhandlervalue.getWidthQMinDc());
                 }
             }
         }
     }
 
     {
 
 
         public void check(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object value) {
             checkValue(locatorhandlervalue);
         }
 
         public void checkValue(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object draftValue) {
             final java.lang.Float value = ((java.lang.FloatdraftValue);
             if (value instanceof java.lang.Float) {
                 java.lang.Float realValue = ((java.lang.Floatvalue);
                 // Check primitive value
                 {
                     // Perform the check
                     // Checking class com.sun.msv.datatype.xsd.MaxInclusiveFacet datatype
                     org.jvnet.jaxbvalidation.problem.datatype.ValueProblem problem = null;
                     if (((java.lang.ComparablerealValue).compareTo(new java.lang.Float(51.45F))>= 0) {
                         // Range is valid
                     } else {
                         problem = new org.jvnet.jaxbvalidation.problem.datatype.LessProblem(realValuenew java.lang.Float(51.45F));
                     }
                     if (((java.lang.ComparablerealValue).compareTo(new java.lang.Float(1028.88F))<= 0) {
                         // Range is valid
                     } else {
                         problem = new org.jvnet.jaxbvalidation.problem.datatype.GreaterProblem(realValuenew java.lang.Float(1028.88F));
                     }
                     if (null!= problem) {
                         // Handle event
                         handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatorproblem));
                     }
                 }
             } else {
                 if (null == value) {
                     // todo: report null
                 } else {
                     // Report wrong class
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatornew org.jvnet.jaxbvalidation.problem.structure.NonExpectedClassProblem(value.getClass())));
                 }
             }
         }
 
     }
 
     {
 
 
         public void check(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object value) {
             checkValue(locatorhandlervalue);
         }
 
         public void checkValue(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object draftValue) {
             final java.lang.Float value = ((java.lang.FloatdraftValue);
             if (value instanceof java.lang.Float) {
                 java.lang.Float realValue = ((java.lang.Floatvalue);
                 // Check primitive value
                 {
                     // Perform the check
                     // Checking class com.sun.msv.datatype.xsd.FinalComponent datatype
                     org.jvnet.jaxbvalidation.problem.datatype.ValueProblem problem = null;
                     if (null!= problem) {
                         // Handle event
                         handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatorproblem));
                     }
                 }
             } else {
                 if (null == value) {
                     // todo: report null
                 } else {
                     // Report wrong class
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatornew org.jvnet.jaxbvalidation.problem.structure.NonExpectedClassProblem(value.getClass())));
                 }
             }
         }
 
     }
 
     {
 
 
         public void check(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object value) {
             checkValue(locatorhandlervalue);
         }
 
         public void checkValue(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object draftValue) {
             final java.lang.String value = ((java.lang.StringdraftValue);
             if (value instanceof java.lang.String) {
                 java.lang.String realValue = ((java.lang.Stringvalue);
                 // Check primitive value
                 {
                     // Perform the check
                     // Checking class com.sun.msv.datatype.xsd.FinalComponent datatype
                     org.jvnet.jaxbvalidation.problem.datatype.ValueProblem problem = null;
                     if (null!= problem) {
                         // Handle event
                         handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatorproblem));
                     }
                 }
             } else {
                 if (null == value) {
                     // todo: report null
                 } else {
                     // Report wrong class
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatornew org.jvnet.jaxbvalidation.problem.structure.NonExpectedClassProblem(value.getClass())));
                 }
             }
         }
 
     }
 
     {
 
 
         public void check(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object value) {
             checkValue(locatorhandlervalue);
         }
 
         public void checkValue(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object draftValue) {
             final java.lang.String value = ((java.lang.StringdraftValue);
             if (value instanceof java.lang.String) {
                 java.lang.String realValue = ((java.lang.Stringvalue);
                 // Check primitive value
                 {
                     // Perform the check
                     // Checking class com.sun.msv.datatype.xsd.FinalComponent datatype
                     org.jvnet.jaxbvalidation.problem.datatype.ValueProblem problem = null;
                     if (null!= problem) {
                         // Handle event
                         handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatorproblem));
                     }
                 }
             } else {
                 if (null == value) {
                     // todo: report null
                 } else {
                     // Report wrong class
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatornew org.jvnet.jaxbvalidation.problem.structure.NonExpectedClassProblem(value.getClass())));
                 }
             }
         }
 
     }
 
     {
 
 
         public void check(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object value) {
             checkValue(locatorhandlervalue);
         }
 
         public void checkValue(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object draftValue) {
             final java.lang.Float value = ((java.lang.FloatdraftValue);
             if (value instanceof java.lang.Float) {
                 java.lang.Float realValue = ((java.lang.Floatvalue);
                 // Check primitive value
                 {
                     // Perform the check
                     // Checking class com.sun.msv.datatype.xsd.FinalComponent datatype
                     org.jvnet.jaxbvalidation.problem.datatype.ValueProblem problem = null;
                     if (null!= problem) {
                         // Handle event
                         handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatorproblem));
                     }
                 }
             } else {
                 if (null == value) {
                     // todo: report null
                 } else {
                     // Report wrong class
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatornew org.jvnet.jaxbvalidation.problem.structure.NonExpectedClassProblem(value.getClass())));
                 }
             }
         }
 
     }
 
     {
 
 
         public void check(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object value) {
             checkValue(locatorhandlervalue);
         }
 
         public void checkValue(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object draftValue) {
             final java.lang.Float value = ((java.lang.FloatdraftValue);
             if (value instanceof java.lang.Float) {
                 java.lang.Float realValue = ((java.lang.Floatvalue);
                 // Check primitive value
                 {
                     // Perform the check
                     // Checking class com.sun.msv.datatype.xsd.FinalComponent datatype
                     org.jvnet.jaxbvalidation.problem.datatype.ValueProblem problem = null;
                     if (null!= problem) {
                         // Handle event
                         handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatorproblem));
                     }
                 }
             } else {
                 if (null == value) {
                     // todo: report null
                 } else {
                     // Report wrong class
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatornew org.jvnet.jaxbvalidation.problem.structure.NonExpectedClassProblem(value.getClass())));
                 }
             }
         }
 
     }
 
     {
 
 
         public void check(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object value) {
             checkValue(locatorhandlervalue);
         }
 
         public void checkValue(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object draftValue) {
             final java.lang.Float value = ((java.lang.FloatdraftValue);
             if (value instanceof java.lang.Float) {
                 java.lang.Float realValue = ((java.lang.Floatvalue);
                 // Check primitive value
                 {
                     // Perform the check
                     // Checking class com.sun.msv.datatype.xsd.MaxInclusiveFacet datatype
                     org.jvnet.jaxbvalidation.problem.datatype.ValueProblem problem = null;
                     if (((java.lang.ComparablerealValue).compareTo(new java.lang.Float(0.0F))>= 0) {
                         // Range is valid
                     } else {
                         problem = new org.jvnet.jaxbvalidation.problem.datatype.LessProblem(realValuenew java.lang.Float(0.0F));
                     }
                     if (((java.lang.ComparablerealValue).compareTo(new java.lang.Float(359.0F))<= 0) {
                         // Range is valid
                     } else {
                         problem = new org.jvnet.jaxbvalidation.problem.datatype.GreaterProblem(realValuenew java.lang.Float(359.0F));
                     }
                     if (null!= problem) {
                         // Handle event
                         handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatorproblem));
                     }
                 }
             } else {
                 if (null == value) {
                     // todo: report null
                 } else {
                     // Report wrong class
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatornew org.jvnet.jaxbvalidation.problem.structure.NonExpectedClassProblem(value.getClass())));
                 }
             }
         }
 
     }
 
     {
 
 
         public void check(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object value) {
             checkValue(locatorhandlervalue);
         }
 
         public void checkValue(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object draftValue) {
             final java.lang.Float value = ((java.lang.FloatdraftValue);
             if (value instanceof java.lang.Float) {
                 java.lang.Float realValue = ((java.lang.Floatvalue);
                 // Check primitive value
                 {
                     // Perform the check
                     // Checking class com.sun.msv.datatype.xsd.MaxInclusiveFacet datatype
                     org.jvnet.jaxbvalidation.problem.datatype.ValueProblem problem = null;
                     if (((java.lang.ComparablerealValue).compareTo(new java.lang.Float(0.0F))>= 0) {
                         // Range is valid
                     } else {
                         problem = new org.jvnet.jaxbvalidation.problem.datatype.LessProblem(realValuenew java.lang.Float(0.0F));
                     }
                     if (((java.lang.ComparablerealValue).compareTo(new java.lang.Float(359.0F))<= 0) {
                         // Range is valid
                     } else {
                         problem = new org.jvnet.jaxbvalidation.problem.datatype.GreaterProblem(realValuenew java.lang.Float(359.0F));
                     }
                     if (null!= problem) {
                         // Handle event
                         handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatorproblem));
                     }
                 }
             } else {
                 if (null == value) {
                     // todo: report null
                 } else {
                     // Report wrong class
                     handler.handleEvent(new org.jvnet.jaxbvalidation.event.ObjectValidationEvent(locatornew org.jvnet.jaxbvalidation.problem.structure.NonExpectedClassProblem(value.getClass())));
                 }
             }
         }
 
     }
 
     {
 
 
         public void check(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object value) {
             checkValue(locatorhandlervalue);
         }
 
         public void checkValue(org.jvnet.jaxbcommons.locator.ObjectLocator locatorjavax.xml.bind.ValidationEventHandler handlerjava.lang.Object draftValue) {
             final java.lang.Integer value = ((java.lang.IntegerdraftValue);
             if (value instanceof java.lang.Integer) {
                 java.lang.Integer realValue = ((java.lang.Integervalue);
                 // Check primitive value
                 {
                     // Perform the check
                     // Checking class com.sun.msv.datatype.xsd.FinalComponent datatype
                     org.jvnet.jaxbvalidation.problem.datatype.ValueProblem problem = null;
                     if (null!= problem) {
                         // Handle event
                         handler.handleEvent(new org.