JAL-1767 scheme DoubleMatrix type includes D and E vectors (optional)
[jalview.git] / src / jalview / schemabinding / version2 / descriptors / DoubleVectorDescriptor.java
index 3d8c315..488ef8c 100644 (file)
@@ -66,9 +66,9 @@ public class DoubleVectorDescriptor
 
     // -- initialize element descriptors
 
-    // -- _dList
+    // -- _vList
     desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
-            java.lang.Double.TYPE, "_dList", "d",
+            java.lang.Double.TYPE, "_vList", "v",
             org.exolab.castor.xml.NodeType.Element);
     handler = new org.exolab.castor.xml.XMLFieldHandler()
     {
@@ -76,7 +76,7 @@ public class DoubleVectorDescriptor
               throws IllegalStateException
       {
         DoubleVector target = (DoubleVector) object;
-        return target.getD();
+        return target.getV();
       }
 
       public void setValue(java.lang.Object object, java.lang.Object value)
@@ -91,7 +91,7 @@ public class DoubleVectorDescriptor
             return;
           }
 
-          target.addD(((java.lang.Double) value).doubleValue());
+          target.addV(((java.lang.Double) value).doubleValue());
         } catch (java.lang.Exception ex)
         {
           throw new IllegalStateException(ex.toString());
@@ -104,7 +104,7 @@ public class DoubleVectorDescriptor
         try
         {
           DoubleVector target = (DoubleVector) object;
-          target.removeAllD();
+          target.removeAllV();
         } catch (java.lang.Exception ex)
         {
           throw new IllegalStateException(ex.toString());
@@ -121,7 +121,7 @@ public class DoubleVectorDescriptor
     desc.setMultivalued(true);
     addFieldDescriptor(desc);
 
-    // -- validation code for: _dList
+    // -- validation code for: _vList
     fieldValidator = new org.exolab.castor.xml.FieldValidator();
     fieldValidator.setMinOccurs(0);
     { // -- local scope