fieldValidator.setValidator(typeValidator);\r
}\r
desc.setValidator(fieldValidator);\r
+ //-- _thresholdLine\r
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(jalview.schemabinding.version2.ThresholdLine.class, "_thresholdLine", "thresholdLine", org.exolab.castor.xml.NodeType.Element);\r
+ handler = (new org.exolab.castor.xml.XMLFieldHandler() {\r
+ public java.lang.Object getValue( java.lang.Object object ) \r
+ throws IllegalStateException\r
+ {\r
+ Annotation target = (Annotation) object;\r
+ return target.getThresholdLine();\r
+ }\r
+ public void setValue( java.lang.Object object, java.lang.Object value) \r
+ throws IllegalStateException, IllegalArgumentException\r
+ {\r
+ try {\r
+ Annotation target = (Annotation) object;\r
+ target.setThresholdLine( (jalview.schemabinding.version2.ThresholdLine) value);\r
+ }\r
+ catch (java.lang.Exception ex) {\r
+ throw new IllegalStateException(ex.toString());\r
+ }\r
+ }\r
+ public java.lang.Object newInstance( java.lang.Object parent ) {\r
+ return new jalview.schemabinding.version2.ThresholdLine();\r
+ }\r
+ } );\r
+ desc.setHandler(handler);\r
+ desc.setNameSpaceURI("www.vamsas.ac.uk/jalview/version2");\r
+ desc.setMultivalued(false);\r
+ addFieldDescriptor(desc);\r
+ \r
+ //-- validation code for: _thresholdLine\r
+ fieldValidator = new org.exolab.castor.xml.FieldValidator();\r
+ { //-- local scope\r
+ }\r
+ desc.setValidator(fieldValidator);\r
} //-- jalview.schemabinding.version2.AnnotationDescriptor()\r
\r
\r