gt: 			return row == null?null:new grdApptsRow(row);
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.clinical.forms.patientappointmentsdialog;
  
  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 grdApptsRow extends GridRowBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		protected grdApptsRow(GridRow row)
  		{
  			super(row);
  		}
  		public void showOpened(int column)
  		{
  			super.row.showOpened(column);
  		}
  		public void setcolDateTimeReadOnly(boolean value)
  		{
  			super.row.setReadOnly(0, value);
  		}
  		public boolean iscolDateTimeReadOnly()
  		{
  			return super.row.isReadOnly(0);
  		}
  		public void showcolDateTimeOpened()
  		{
  			super.row.showOpened(0);
  		}
  		public String getcolDateTime()
  		{
  			return (String)super.row.get(0);
  		}
  		public void setcolDateTime(String value)
  		{
  			super.row.set(0, value);
  		}
  		public void setCellcolDateTimeTooltip(String value)
  		{
  			super.row.setTooltip(0, value);
  		}
  		public void setcolServiceReadOnly(boolean value)
  		{
  			super.row.setReadOnly(1, value);
  		}
  		public boolean iscolServiceReadOnly()
  		{
  			return super.row.isReadOnly(1);
  		}
  		public void showcolServiceOpened()
  		{
  			super.row.showOpened(1);
  		}
  		public String getcolService()
  		{
  			return (String)super.row.get(1);
  		}
  		public void setcolService(String value)
  		{
  			super.row.set(1, value);
  		}
  		public void setCellcolServiceTooltip(String value)
  		{
  			super.row.setTooltip(1, value);
  		}
  		public void setcolClinicReadOnly(boolean value)
  		{
  			super.row.setReadOnly(2, value);
  		}
  		public boolean iscolClinicReadOnly()
  		{
  			return super.row.isReadOnly(2);
  		}
  		public void showcolClinicOpened()
  		{
  			super.row.showOpened(2);
  		}
  		public String getcolClinic()
  		{
  			return (String)super.row.get(2);
  		}
  		public void setcolClinic(String value)
  		{
  			super.row.set(2, value);
  		}
  		public void setCellcolClinicTooltip(String value)
  		{
  			super.row.setTooltip(2, value);
  		}
  		public void setcolStatusReadOnly(boolean value)
  		{
  			super.row.setReadOnly(3, value);
  		}
  		public boolean iscolStatusReadOnly()
  		{
  			return super.row.isReadOnly(3);
  		}
  		public void showcolStatusOpened()
  		{
  			super.row.showOpened(3);
  		}
  		public ims.scheduling.vo.lookups.Status_Reason getcolStatus()
  		{
  			return (ims.scheduling.vo.lookups.Status_Reason)super.row.get(3);
  		}
  		public void setcolStatus(ims.scheduling.vo.lookups.Status_Reason value)
  		{
  			super.row.set(3, value, true);
  		}
  		public void setCellcolStatusTooltip(String value)
  		{
  			super.row.setTooltip(3, value);
  		}
  		public ims.scheduling.vo.BookingAppointmentForFitForSurgeryAssessmentVo getValue()
  		{
  			return (ims.scheduling.vo.BookingAppointmentForFitForSurgeryAssessmentVo)super.row.getValue();
  		}
  		public void setValue(ims.scheduling.vo.BookingAppointmentForFitForSurgeryAssessmentVo value)
  		{
  			super.row.setValue(value);
  		}
  	}
  	public static class grdApptsRowCollection extends GridRowCollectionBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		private grdApptsRowCollection(GridRowCollection collection)
  		{
  			super(collection);
  		}
  		public grdApptsRow get(int index)
  		{
  			return new grdApptsRow(super.collection.get(index));
  		}
  		public grdApptsRow newRow()
  		{
  			return new grdApptsRow(super.collection.newRow());
  		}
  		public grdApptsRow newRow(boolean autoSelect)
  		{
  			return new grdApptsRow(super.collection.newRow(autoSelect));
  		}
  		public grdApptsRow newRowAt(int index)
  		{
  			return new grdApptsRow(super.collection.newRowAt(index));
  		}
  		public grdApptsRow newRowAt(int index, boolean autoSelect)
  		{
  			return new grdApptsRow(super.collection.newRowAt(index, autoSelect));
  		}
  	}
  	public static class grdApptsGrid 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 addComboBoxColumn(String caption, int captionAlignment, int alignment, int width, boolean readOnly, boolean canBeEmpty, boolean autoPostBack, boolean bold, boolean canGrow, int maxDropDownItems)
  		{
  			super.grid.addComboBoxColumn(caption, captionAlignment, alignment, width, readOnly, canBeEmpty, autoPostBack, bold, canGrow, maxDropDownItems);
  		}
  		public ims.scheduling.vo.BookingAppointmentForFitForSurgeryAssessmentVoCollection getValues()
  		{
  			ims.scheduling.vo.BookingAppointmentForFitForSurgeryAssessmentVoCollection listOfValues = new ims.scheduling.vo.BookingAppointmentForFitForSurgeryAssessmentVoCollection();
  			for(int x = 0; x < this.getRows().size(); x++)
  			{
  				listOfValues.add(this.getRows().get(x).getValue());
  			}
  			return listOfValues;
  		}
  		public ims.scheduling.vo.BookingAppointmentForFitForSurgeryAssessmentVo getValue()
  		{
  			return (ims.scheduling.vo.BookingAppointmentForFitForSurgeryAssessmentVo)super.grid.getValue();
  		}
  		public void setValue(ims.scheduling.vo.BookingAppointmentForFitForSurgeryAssessmentVo value)
  		{
  			super.grid.setValue(value);
  		}
  		public grdApptsRow getSelectedRow()
  		{
  			return super.grid.getSelectedRow() == null ? null : new grdApptsRow(super.grid.getSelectedRow());
  		}
  		public int getSelectedRowIndex()
  		{
  			return super.grid.getSelectedRowIndex();
  		}
  		public grdApptsRowCollection getRows()
  		{
  			return new grdApptsRowCollection(super.grid.getRows());
  		}
  		public grdApptsRow getRowByValue(ims.scheduling.vo.BookingAppointmentForFitForSurgeryAssessmentVo value)
  		{
  			GridRow row = super.grid.getRowByValue(value);
  