package gov.nih.nci.ncia.search;

import java.io.Serializable;

/**
 * <P>This object should be considered immutable.... even though
 * it doesn't enforce that.
 * 
 * <P><b>WARNING!</b> This object is serialized so if you change it, you risk
 * breaking remote search and the grid interface
 */
public class NameValuesPairs  implements Serializable {
    public NameValuesPairs() {
    }


    /**
     * Gets the name value for this Model.
     * 
     * @return name
     */
    public String getName() {
        return name;
    }


    /**
     * Sets the name value for this Model.
     * 
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }
    
    /**
     * Gets the versions value for this Model.
     * 
     * @return versions
     */
    public String[] getValues() {
        return values;
    }


    /**
     * Sets the versions value for this Model.
     * 
     * @param versions
     */
    public void setValues(String[] values) {
        this.values = values;
    }
    
    
    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */      
    public String getVersions(int i) {
        return this.values[i];
    }

    
    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */      
    public void setVersions(int i, String _value) {
        this.values[i] = _value;
    } 
    
    ////////////////////////////////////////PRIVATE////////////////////////////////////
    private String name;
    private String[] values;     
}

@@ -163,19 +163,18 @@
 hat.%0D%0A *
- 
 %0D%0A
+
  * %3CP%3E%3Cb
@@ -450,33 +450,32 @@
 s Model.%0D%0A     *
- 
 %0D%0A     * @return
@@ -605,33 +605,32 @@
 s Model.%0D%0A     *
- 
 %0D%0A     * @param 
@@ -714,30 +714,26 @@
 me;%0D%0A    %7D%0D%0A
-    
 %0D%0A
+
     /**%0D%0A   
@@ -775,33 +775,32 @@
 s Model.%0D%0A     *
- 
 %0D%0A     * @return
@@ -952,17 +952,16 @@
 %0D%0A     *
- 
 %0D%0A     *
@@ -1071,26 +1071,18 @@
 %0A    %7D%0D%0A
-    %0D%0A    
+%0D%0A
 %0D%0A    /*
@@ -1200,38 +1200,32 @@
 operty.%0D%0A     */
-      
 %0D%0A    public Str
@@ -1232,22 +1232,20 @@
 ing getV
-ersion
+alue
 s(int i)
@@ -1289,22 +1289,18 @@
    %7D%0D%0A%0D%0A
-    
 %0D%0A
+
     /**%0D
@@ -1424,22 +1424,16 @@
 %0A     */
-      
 %0D%0A    pu
@@ -1446,22 +1446,20 @@
 oid setV
-ersion
+alue
 s(int i,
@@ -1516,23 +1516,18 @@
 ;%0D%0A    %7D
- 
 %0D%0A
-    
 %0D%0A    //
@@ -1631,24 +1631,24 @@
 ring name;%0D%0A
+
     private 
@@ -1663,18 +1663,13 @@
  values;
-     
 %0D%0A%7D%0D%0A

fix values property