gt: 			GridRow row = super.grid.getRowByValue(value);
context: //#############################################################################
  //#                                                                           #
  //#  Copyright (C) <2014>  <IMS MAXIMS>                                       #
  //#                                                                           #
  //#  This program is free software: you can redistribute it and/or modify     #
  //#  it under the terms of the GNU Affero General Public License as           #
  //#  published by the Free Software Foundation, either version 3 of the       #
  //#  License, or (at your option) any later version.                          # 
  //#                                                                           #
  //#  This program is distributed in the hope that it will be useful,          #
  //#  but WITHOUT ANY WARRANTY; without even the implied warranty of           #
  //#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
  //#  GNU Affero General Public License for more details.                      #
  //#                                                                           #
  //#  You should have received a copy of the GNU Affero General Public License #
  //#  along with this program.  If not, see <http://www.gnu.org/licenses/>.    #
  //#                                                                           #
  //#############################################################################
  //#EOH
  // This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5007.25751)
  // Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved.
  // WARNING: DO NOT MODIFY the content of this file
  
  package ims.spinalinjuries.forms.respiratorytreatment;
  
  import ims.framework.*;
  import ims.framework.controls.*;
  import ims.framework.enumerations.*;
  import ims.framework.utils.RuntimeAnchoring;
  
  public class GenForm extends FormBridge
  {
  	private static final long serialVersionUID = 1L;
  
  	public boolean canProvideData(IReportSeed[] reportSeeds)
  	{
  		return new ReportDataProvider(reportSeeds, this.getFormReportFields()).canProvideData();
  	}
  	public boolean hasData(IReportSeed[] reportSeeds)
  	{
  		return new ReportDataProvider(reportSeeds, this.getFormReportFields()).hasData();
  	}
  	public IReportField[] getData(IReportSeed[] reportSeeds)
  	{
  		return getData(reportSeeds, false);
  	}
  	public IReportField[] getData(IReportSeed[] reportSeeds, boolean excludeNulls)
  	{
  		return new ReportDataProvider(reportSeeds, this.getFormReportFields(), excludeNulls).getData();
  	}
  	public static class cmbAssistedComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.spinalinjuries.vo.lookups.AssistedCough value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.spinalinjuries.vo.lookups.AssistedCough value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.spinalinjuries.vo.lookups.AssistedCough value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.spinalinjuries.vo.lookups.AssistedCough value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, image, textColor);
  		}
  		public boolean removeRow(ims.spinalinjuries.vo.lookups.AssistedCough value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.spinalinjuries.vo.lookups.AssistedCough getValue()
  		{
  			return (ims.spinalinjuries.vo.lookups.AssistedCough)super.control.getValue();
  		}
  		public void setValue(ims.spinalinjuries.vo.lookups.AssistedCough value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class cmbPosturalComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.spinalinjuries.vo.lookups.PosturalDrainage value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.spinalinjuries.vo.lookups.PosturalDrainage value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.spinalinjuries.vo.lookups.PosturalDrainage value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.spinalinjuries.vo.lookups.PosturalDrainage value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, image, textColor);
  		}
  		public boolean removeRow(ims.spinalinjuries.vo.lookups.PosturalDrainage value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.spinalinjuries.vo.lookups.PosturalDrainage getValue()
  		{
  			return (ims.spinalinjuries.vo.lookups.PosturalDrainage)super.control.getValue();
  		}
  		public void setValue(ims.spinalinjuries.vo.lookups.PosturalDrainage value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class recbrContactRecordBrowser extends RecordBrowserBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.vo.ValueObject value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.vo.ValueObject value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.vo.ValueObject value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.vo.ValueObject value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, image, textColor);
  		}
  		public void newRow(int index, ims.vo.ValueObject value, String text)
  		{
  			super.control.newRow(index, value, text);
  		}
  		public void newRow(int index, ims.vo.ValueObject value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(index, value, text, image);
  		}
  		public void newRow(int index, ims.vo.ValueObject value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(index, value, text, textColor);
  		}
  		public void newRow(int index, ims.vo.ValueObject value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(index, value, text, image, textColor);
  		}
  		public ims.vo.ValueObject getValue()
  		{
  			return (ims.vo.ValueObject)super.control.getValue();
  		}
  		public void setValue(ims.vo.ValueObject value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class qmbAuthoringCPComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.core.vo.Hcp value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.core.vo.Hcp value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.core.vo.Hcp value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.core.vo.Hcp value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, image, textColor);
  		}
  		public boolean removeRow(ims.core.vo.Hcp value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.core.vo.Hcp getValue()
  		{
  			return (ims.core.vo.Hcp)super.control.getValue();
  		}
  		public void setValue(ims.core.vo.Hcp value)
  		{
  			super.control.setValue(value);
  		}
  		public void setEditedText(String text)
  		{
  			super.control.setEditedText(text);
  		}
  		public String getEditedText()
  		{
  			return super.control.getEditedText();
  		}
  	}
  	public static class grdTreatmentRow extends GridRowBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		protected grdTreatmentRow(GridRow row)
  		{
  			super(row);
  		}
  		public void showOpened(int column)
  		{
  			super.row.showOpened(column);
  		}
  		public void setColTreatmentReadOnly(boolean value)
  		{
  			super.row.setReadOnly(0, value);
  		}
  		public boolean isColTreatmentReadOnly()
  		{
  			return super.row.isReadOnly(0);
  		}
  		public void showColTreatmentOpened()
  		{
  			super.row.showOpened(0);
  		}
  		public ims.spinalinjuries.vo.lookups.RespiratoryTreatment getColTreatment()
  		{
  			return (ims.spinalinjuries.vo.lookups.RespiratoryTreatment)super.row.get(0);
  		}
  		public void setColTreatment(ims.spinalinjuries.vo.lookups.RespiratoryTreatment value)
  		{
  			super.row.set(0, value);
  		}
  		public void setCellColTreatmentTooltip(String value)
  		{
  			super.row.setTooltip(0, value);
  		}
  		public void setColSelectedReadOnly(boolean value)
  		{
  			super.row.setReadOnly(1, value);
  		}
  		public boolean isColSelectedReadOnly()
  		{
  			return super.row.isReadOnly(1);
  		}
  		public void showColSelectedOpened()
  		{
  			super.row.showOpened(1);
  		}
  		public ims.core.vo.lookups.YesNoUnknown getColSelected()
  		{
  			return (ims.core.vo.lookups.YesNoUnknown)super.row.get(1);
  		}
  		public void setColSelected(ims.core.vo.lookups.YesNoUnknown value)
  		{
  			super.row.set(1, value, true);
  		}
  		public void setCellColSelectedTooltip(String value)
  		{
  			super.row.setTooltip(1, value);
  		}
  		public void setColCommentsReadOnly(boolean value)
  		{
  			super.row.setReadOnly(2, value);
  		}
  		public boolean isColCommentsReadOnly()
  		{
  			return super.row.isReadOnly(2);
  		}
  		public void showColCommentsOpened()
  		{
  			super.row.showOpened(2);
  		}
  		public String getColComments()
  		{
  			return (String)super.row.get(2);
  		}
  		public void setColComments(String value)
  		{
  			super.row.set(2, value);
  		}
  		public void setCellColCommentsTooltip(String value)
  		{
  			super.row.setTooltip(2, value);
  		}
  		public ims.core.vo.RespiratoryTreatmentDetailVo getValue()
  		{
  			return (ims.core.vo.RespiratoryTreatmentDetailVo)super.row.getValue();
  		}
  		public void setValue(ims.core.vo.RespiratoryTreatmentDetailVo value)
  		{
  			super.row.setValue(value);
  		}
  	}
  	public static class grdTreatmentRowCollection extends GridRowCollectionBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		private grdTreatmentRowCollection(GridRowCollection collection)
  		{
  			super(collection);
  		}
  		public grdTreatmentRow get(int index)
  		{
  			return new grdTreatmentRow(super.collection.get(index));
  		}
  		public grdTreatmentRow newRow()
  		{
  			return new grdTreatmentRow(super.collection.newRow());
  		}
  		public grdTreatmentRow newRow(boolean autoSelect)
  		{
  			return new grdTreatmentRow(super.collection.newRow(autoSelect));
  		}
  		public grdTreatmentRow newRowAt(int index)
  		{
  			return new grdTreatmentRow(super.collection.newRowAt(index));
  		}
  		public grdTreatmentRow newRowAt(int index, boolean autoSelect)
  		{
  			return new grdTreatmentRow(super.collection.newRowAt(index, autoSelect));
  		}
  	}
  	public static class grdTreatmentGrid extends GridBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		private void addStringColumn(String caption, int captionAlignment, int alignment, int width, boolean readOnly, boolean bold, int sortOrder, int maxLength, boolean canGrow, ims.framework.enumerations.CharacterCasing casing)
  		{
  			super.grid.addStringColumn(caption, captionAlignment, alignment, width, readOnly, bold, sortOrder, maxLength, canGrow, casing);
  		}
  		private void addAnswerBoxColumn(String caption, int captionAlignment, int alignment, int width, boolean readOnly, boolean autoPostBack, int imageHeight, boolean canBeEmpty, boolean canGrow)
  		{
  			super.grid.addAnswerBoxColumn(caption, captionAlignment, alignment, width, readOnly, autoPostBack, imageHeight, canBeEmpty, canGrow);
  		}
  		public void answerBoxColumnClear(int column)
  		{
  			super.grid.answerBoxColumnClear(column);
  		}
  		public void answerBoxColumnNewOption(int column, AnswerBoxOption option)
  		{
  			super.grid.answerBoxColumnNewOption(column, option);
  		}
  		public ims.core.vo.RespiratoryTreatmentDetailVoCollection getValues()
  		{
  			ims.core.vo.RespiratoryTreatmentDetailVoCollection listOfValues = new ims.core.vo.RespiratoryTreatmentDetailVoCollection();
  			for(int x = 0; x < this.getRows().size(); x++)
  			{
  				listOfValues.add(this.getRows().get(x).getValue());
  			}
  			return listOfValues;
  		}
  		public ims.core.vo.RespiratoryTreatmentDetailVo getValue()
  		{
  			return (ims.core.vo.RespiratoryTreatmentDetailVo)super.grid.getValue();
  		}
  		public void setValue(ims.core.vo.RespiratoryTreatmentDetailVo value)
  		{
  			super.grid.setValue(value);
  		}
  		public grdTreatmentRow getSelectedRow()
  		{
  			return super.grid.getSelectedRow() == null ? null : new grdTreatmentRow(super.grid.getSelectedRow());
  		}
  		public int getSelectedRowIndex()
  		{
  			return super.grid.getSelectedRowIndex();
  		}
  		public grdTreatmentRowCollection getRows()
  		{
  			return new grdTreatmentRowCollection(super.grid.getRows());
  		}
  		public grdTreatmentRow getRowByValue(ims.core.vo.RespiratoryTreatmentDetailVo value)
  		{
  