package gov.nih.nci.ncia.search;

import java.io.Serializable;

/**
 * This object corrals all the searchable terms for a given node.
 * 
 * <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 AvailableSearchTerms implements Serializable {


    public AvailableSearchTerms() {
    }

    /**
     * Gets the collections value for this AvailableSearchTerms.
     */
    public String[] getCollections() {
        return collections;
    }


    /**
     * Sets the collections value for this AvailableSearchTerms.
     */
    public void setCollections(String[] collections) {
        this.collections = collections;
    }

    
    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */
    public String getCollections(int i) {
        return this.collections[i];
    }

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


    /**
     * Gets the convolutionKernels value for this AvailableSearchTerms.
     */
    public String[] getConvolutionKernels() {
        return convolutionKernels;
    }


    /**
     * Sets the convolutionKernels value for this AvailableSearchTerms.
     */
    public void setConvolutionKernels(String[] convolutionKernels) {
        this.convolutionKernels = convolutionKernels;
    }

    
    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */    
    public String getConvolutionKernels(int i) {
        return this.convolutionKernels[i];
    }

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

    /**
     * Gets the modalities value for this AvailableSearchTerms.
     */
    public String[] getModalities() {
        return modalities;
    }


    /**
     * Sets the modalities value for this AvailableSearchTerms.
     */
    public void setModalities(String[] modalities) {
        this.modalities = modalities;        
    }

    
    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */    
    public String getModalities(int i) {
        return this.modalities[i];
    }

    
    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */    
    public void setModalities(int i, String _value) {
        this.modalities[i] = _value;
    }  
    
    /**
     * Gets the anatomicSites value for this AvailableSearchTerms.
     *
     * @return anatomicSites
     */
    public String[] getAnatomicSites() {
        return anatomicSites;
    }


    /**
     * Sets the anatomicSites value for this AvailableSearchTerms.
     */
    public void setAnatomicSites(String[] anatomicSites) {
        this.anatomicSites = anatomicSites;
    }
    
    /**
     * Gets the UsMultiModalities value for this AvailableSearchTerms.
     *
     * @return UsMultiModalities
     */
/*    public String[] getUsMultiModalities() {
        return usMultiModalities;
    }
*/

    /**
     * Sets the usMultiModalities value for this AvailableSearchTerms.
     */
/*    public void setUsMultiModalities(String[] usMultiModalities) {
        this.usMultiModalities = usMultiModalities;
    }
*/
    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */    
/*    public String getUsMultiModalities(int i) {
        return this.usMultiModalities[i];
    }
*/
    
    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */    
 /*   public void setUsMultiModalities(int i, String _value) {
        this.usMultiModalities[i] = _value;
    }  */    
    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */    
    public String getAnatomicSites(int i) {
        return this.anatomicSites[i];
    }

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

    /**
     * Gets the equipment value for this AvailableSearchTerms.
     */
    public Manufacturer[] getEquipment() {
        return equipment;
    }


    /**
     * Sets the equipment value for this AvailableSearchTerms.
     */
    public void setEquipment(Manufacturer[] equipment) {
        this.equipment = equipment;
    }
    
    
    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */    
    public void setEquipment(int index, Manufacturer line ) {
        this.equipment[index] = line;
    }


    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */    
    public Manufacturer getEquipment(int index ) {
        return this.equipment[index];
    }
    
    /**
     * Sets the imageTypes value for this AvailableSearchTerms.
     */
    public void setImageType(String[] imageTypes) {
        this.imageTypes = imageTypes;
    }

    /**
     * This is necessary for the web services serializer to recognize
     * this property is an indexed property.
     */    
    public String getImageTypes(int i) {
        return this.imageTypes[i];
    }


    ///////////////////////////////////////PRIVATE////////////////////////////////////////
    
    private String[] collections;
    private String[] convolutionKernels;
    private String[] modalities;
    private String[] anatomicSites;
    private Manufacturer[] equipment;
    private String[] imageTypes;
}

@@ -3498,971 +3498,8 @@
   %0D%0A
-    /**%0D%0A     * Gets the UsMultiModalities value for this AvailableSearchTerms.%0D%0A     *%0D%0A     * @return UsMultiModalities%0D%0A     */%0D%0A/*    public String%5B%5D getUsMultiModalities() %7B%0D%0A        return usMultiModalities;%0D%0A    %7D%0D%0A*/%0D%0A%0D%0A    /**%0D%0A     * Sets the usMultiModalities value for this AvailableSearchTerms.%0D%0A     */%0D%0A/*    public void setUsMultiModalities(String%5B%5D usMultiModalities) %7B%0D%0A        this.usMultiModalities = usMultiModalities;%0D%0A    %7D%0D%0A*/%0D%0A    /**%0D%0A     * This is necessary for the web services serializer to recognize%0D%0A     * this property is an indexed property.%0D%0A     */    %0D%0A/*    public String getUsMultiModalities(int i) %7B%0D%0A        return this.usMultiModalities%5Bi%5D;%0D%0A    %7D%0D%0A*/%0D%0A    %0D%0A    /**%0D%0A     * This is necessary for the web services serializer to recognize%0D%0A     * this property is an indexed property.%0D%0A     */    %0D%0A /*   public void setUsMultiModalities(int i, String _value) %7B%0D%0A        this.usMultiModalities%5Bi%5D = _value;%0D%0A    %7D  */    
 %0D%0A  
@@ -4846,418 +4846,8 @@
   %0D%0A
-    /**%0D%0A     * Sets the imageTypes value for this AvailableSearchTerms.%0D%0A     */%0D%0A    public void setImageType(String%5B%5D imageTypes) %7B%0D%0A        this.imageTypes = imageTypes;%0D%0A    %7D%0D%0A%0D%0A    /**%0D%0A     * This is necessary for the web services serializer to recognize%0D%0A     * this property is an indexed property.%0D%0A     */    %0D%0A    public String getImageTypes(int i) %7B%0D%0A        return this.imageTypes%5Bi%5D;%0D%0A    %7D%0D%0A%0D%0A
 %0D%0A  
@@ -5133,41 +5133,7 @@
 t;%0D%0A
-    private String%5B%5D imageTypes;%0D%0A
 %7D%0D%0A

remove dead code