gt: 			return new gridSafetyRow(super.collection.newRowAt(index));
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.nurassessmentsafeenvironement;
  
  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 gridCarePlanRow extends GridRowBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		protected gridCarePlanRow(GridRow row)
  		{
  			super(row);
  		}
  		public void showOpened(int column)
  		{
  			super.row.showOpened(column);
  		}
  		public void setColCarePlanReadOnly(boolean value)
  		{
  			super.row.setReadOnly(0, value);
  		}
  		public boolean isColCarePlanReadOnly()
  		{
  			return super.row.isReadOnly(0);
  		}
  		public void showColCarePlanOpened()
  		{
  			super.row.showOpened(0);
  		}
  		public String getColCarePlan()
  		{
  			return (String)super.row.get(0);
  		}
  		public void setColCarePlan(String value)
  		{
  			super.row.set(0, value);
  		}
  		public void setCellColCarePlanTooltip(String value)
  		{
  			super.row.setTooltip(0, value);
  		}
  		public void setColSelectReadOnly(boolean value)
  		{
  			super.row.setReadOnly(1, value);
  		}
  		public boolean isColSelectReadOnly()
  		{
  			return super.row.isReadOnly(1);
  		}
  		public void showColSelectOpened()
  		{
  			super.row.showOpened(1);
  		}
  		public boolean getColSelect()
  		{
  			return ((Boolean)super.row.get(1)).booleanValue();
  		}
  		public void setColSelect(boolean value)
  		{
  			super.row.set(1, new Boolean(value));
  		}
  		public void setCellColSelectTooltip(String value)
  		{
  			super.row.setTooltip(1, value);
  		}
  		public ims.nursing.vo.CarePlanTemplateTitle getValue()
  		{
  			return (ims.nursing.vo.CarePlanTemplateTitle)super.row.getValue();
  		}
  		public void setValue(ims.nursing.vo.CarePlanTemplateTitle value)
  		{
  			super.row.setValue(value);
  		}
  	}
  	public static class gridCarePlanRowCollection extends GridRowCollectionBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		private gridCarePlanRowCollection(GridRowCollection collection)
  		{
  			super(collection);
  		}
  		public gridCarePlanRow get(int index)
  		{
  			return new gridCarePlanRow(super.collection.get(index));
  		}
  		public gridCarePlanRow newRow()
  		{
  			return new gridCarePlanRow(super.collection.newRow());
  		}
  		public gridCarePlanRow newRow(boolean autoSelect)
  		{
  			return new gridCarePlanRow(super.collection.newRow(autoSelect));
  		}
  		public gridCarePlanRow newRowAt(int index)
  		{
  			return new gridCarePlanRow(super.collection.newRowAt(index));
  		}
  		public gridCarePlanRow newRowAt(int index, boolean autoSelect)
  		{
  			return new gridCarePlanRow(super.collection.newRowAt(index, autoSelect));
  		}
  	}
  	public static class gridCarePlanGrid 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 addBoolColumn(String caption, int captionAlignment, int alignment, int width, boolean readOnly, boolean autoPostBack, int sortOrder, boolean canGrow)
  		{
  			super.grid.addBoolColumn(caption, captionAlignment, alignment, width, readOnly, autoPostBack, sortOrder, canGrow);
  		}
  		public ims.nursing.vo.CarePlanTemplateTitle[] getValues()
  		{
  			ims.nursing.vo.CarePlanTemplateTitle[] listOfValues = new ims.nursing.vo.CarePlanTemplateTitle[this.getRows().size()];
  			for(int x = 0; x < this.getRows().size(); x++)
  			{
  				listOfValues[x] = this.getRows().get(x).getValue();
  			}
  			return listOfValues;
  		}
  		public ims.nursing.vo.CarePlanTemplateTitle getValue()
  		{
  			return (ims.nursing.vo.CarePlanTemplateTitle)super.grid.getValue();
  		}
  		public void setValue(ims.nursing.vo.CarePlanTemplateTitle value)
  		{
  			super.grid.setValue(value);
  		}
  		public gridCarePlanRow getSelectedRow()
  		{
  			return super.grid.getSelectedRow() == null ? null : new gridCarePlanRow(super.grid.getSelectedRow());
  		}
  		public int getSelectedRowIndex()
  		{
  			return super.grid.getSelectedRowIndex();
  		}
  		public gridCarePlanRowCollection getRows()
  		{
  			return new gridCarePlanRowCollection(super.grid.getRows());
  		}
  		public gridCarePlanRow getRowByValue(ims.nursing.vo.CarePlanTemplateTitle value)
  		{
  			GridRow row = super.grid.getRowByValue(value);
  			return row == null?null:new gridCarePlanRow(row);
  		}
  		public void setColCarePlanHeaderTooltip(String value)
  		{
  			super.grid.setColumnHeaderTooltip(0, value);
  		}
  		public String getColCarePlanHeaderTooltip()
  		{
  			return super.grid.getColumnHeaderTooltip(0);
  		}
  		public void setColSelectHeaderTooltip(String value)
  		{
  			super.grid.setColumnHeaderTooltip(1, value);
  		}
  		public String getColSelectHeaderTooltip()
  		{
  			return super.grid.getColumnHeaderTooltip(1);
  		}
  	}
  	public static class gridSafetyRow extends GridRowBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		protected gridSafetyRow(GridRow row)
  		{
  			super(row);
  		}
  		public void showOpened(int column)
  		{
  			super.row.showOpened(column);
  		}
  		public void setColSafetyLevelReadOnly(boolean value)
  		{
  			super.row.setReadOnly(0, value);
  		}
  		public boolean isColSafetyLevelReadOnly()
  		{
  			return super.row.isReadOnly(0);
  		}
  		public void showColSafetyLevelOpened()
  		{
  			super.row.showOpened(0);
  		}
  		public ims.nursing.vo.lookups.SafetyLevel getColSafetyLevel()
  		{
  			return (ims.nursing.vo.lookups.SafetyLevel)super.row.get(0);
  		}
  		public void setColSafetyLevel(ims.nursing.vo.lookups.SafetyLevel value)
  		{
  			super.row.set(0, value);
  		}
  		public void setCellColSafetyLevelTooltip(String value)
  		{
  			super.row.setTooltip(0, value);
  		}
  		public void setColSelectReadOnly(boolean value)
  		{
  			super.row.setReadOnly(1, value);
  		}
  		public boolean isColSelectReadOnly()
  		{
  			return super.row.isReadOnly(1);
  		}
  		public void showColSelectOpened()
  		{
  			super.row.showOpened(1);
  		}
  		public ims.core.vo.lookups.YesNoUnknown getColSelect()
  		{
  			return (ims.core.vo.lookups.YesNoUnknown)super.row.get(1);
  		}
  		public void setColSelect(ims.core.vo.lookups.YesNoUnknown value)
  		{
  			super.row.set(1, value, true);
  		}
  		public void setCellColSelectTooltip(String value)
  		{
  			super.row.setTooltip(1, value);
  		}
  		public void setColDetailsReadOnly(boolean value)
  		{
  			super.row.setReadOnly(2, value);
  		}
  		public boolean isColDetailsReadOnly()
  		{
  			return super.row.isReadOnly(2);
  		}
  		public void showColDetailsOpened()
  		{
  			super.row.showOpened(2);
  		}
  		public String getColDetails()
  		{
  			return (String)super.row.get(2);
  		}
  		public void setColDetails(String value)
  		{
  			super.row.set(2, value);
  		}
  		public void setCellColDetailsTooltip(String value)
  		{
  			super.row.setTooltip(2, value);
  		}
  		public ims.nursing.vo.SafetyLevelVo getValue()
  		{
  			return (ims.nursing.vo.SafetyLevelVo)super.row.getValue();
  		}
  		public void setValue(ims.nursing.vo.SafetyLevelVo value)
  		{
  			super.row.setValue(value);
  		}
  	}
  	public static class gridSafetyRowCollection extends GridRowCollectionBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		private gridSafetyRowCollection(GridRowCollection collection)
  		{
  			super(collection);
  		}
  		public gridSafetyRow get(int index)
  		{
  			return new gridSafetyRow(super.collection.get(index));
  		}
  		public gridSafetyRow newRow()
  		{
  			return new gridSafetyRow(super.collection.newRow());
  		}
  		public gridSafetyRow newRow(boolean autoSelect)
  		{
  			return new gridSafetyRow(super.collection.newRow(autoSelect));
  		}
  		public gridSafetyRow newRowAt(int index)
  		{
  