gt: 			return row == null?null:new grdWorklistRow(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.hospitalatnightworklist;
  
  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 cmbTypeOfRequestComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.clinical.vo.lookups.HospitalAtNightRequestType value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.clinical.vo.lookups.HospitalAtNightRequestType value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.clinical.vo.lookups.HospitalAtNightRequestType value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.clinical.vo.lookups.HospitalAtNightRequestType value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, image, textColor);
  		}
  		public boolean removeRow(ims.clinical.vo.lookups.HospitalAtNightRequestType value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.clinical.vo.lookups.HospitalAtNightRequestType getValue()
  		{
  			return (ims.clinical.vo.lookups.HospitalAtNightRequestType)super.control.getValue();
  		}
  		public void setValue(ims.clinical.vo.lookups.HospitalAtNightRequestType value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class cmbHospitalComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.core.vo.LocSiteLiteVo value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.core.vo.LocSiteLiteVo value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.core.vo.LocSiteLiteVo value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.core.vo.LocSiteLiteVo 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.LocSiteLiteVo value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.core.vo.LocSiteLiteVo getValue()
  		{
  			return (ims.core.vo.LocSiteLiteVo)super.control.getValue();
  		}
  		public void setValue(ims.core.vo.LocSiteLiteVo value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class cmbWardComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.core.vo.LocationLiteVo value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.core.vo.LocationLiteVo value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.core.vo.LocationLiteVo value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.core.vo.LocationLiteVo 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.LocationLiteVo value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.core.vo.LocationLiteVo getValue()
  		{
  			return (ims.core.vo.LocationLiteVo)super.control.getValue();
  		}
  		public void setValue(ims.core.vo.LocationLiteVo value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class grdWorklistRow extends GridRowBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		protected grdWorklistRow(GridRow row)
  		{
  			super(row);
  		}
  		public void showOpened(int column)
  		{
  			super.row.showOpened(column);
  		}
  		public void setColNHSReadOnly(boolean value)
  		{
  			super.row.setReadOnly(0, value);
  		}
  		public boolean isColNHSReadOnly()
  		{
  			return super.row.isReadOnly(0);
  		}
  		public void showColNHSOpened()
  		{
  			super.row.showOpened(0);
  		}
  		public void setTooltipForColNHS(String value)
  		{
  			super.row.setTooltip(0, value);
  		}
  		public String getColNHS()
  		{
  			return (String)super.row.get(0);
  		}
  		public void setColNHS(String value)
  		{
  			super.row.set(0, value);
  		}
  		public void setCellColNHSTooltip(String value)
  		{
  			super.row.setTooltip(0, value);
  		}
  		public void setColHospitalNoReadOnly(boolean value)
  		{
  			super.row.setReadOnly(1, value);
  		}
  		public boolean isColHospitalNoReadOnly()
  		{
  			return super.row.isReadOnly(1);
  		}
  		public void showColHospitalNoOpened()
  		{
  			super.row.showOpened(1);
  		}
  		public void setTooltipForColHospitalNo(String value)
  		{
  			super.row.setTooltip(1, value);
  		}
  		public String getColHospitalNo()
  		{
  			return (String)super.row.get(1);
  		}
  		public void setColHospitalNo(String value)
  		{
  			super.row.set(1, value);
  		}
  		public void setCellColHospitalNoTooltip(String value)
  		{
  			super.row.setTooltip(1, value);
  		}
  		public void setColSurnameReadOnly(boolean value)
  		{
  			super.row.setReadOnly(2, value);
  		}
  		public boolean isColSurnameReadOnly()
  		{
  			return super.row.isReadOnly(2);
  		}
  		public void showColSurnameOpened()
  		{
  			super.row.showOpened(2);
  		}
  		public void setTooltipForColSurname(String value)
  		{
  			super.row.setTooltip(2, value);
  		}
  		public String getColSurname()
  		{
  			return (String)super.row.get(2);
  		}
  		public void setColSurname(String value)
  		{
  			super.row.set(2, value);
  		}
  		public void setCellColSurnameTooltip(String value)
  		{
  			super.row.setTooltip(2, value);
  		}
  		public void setColForenameReadOnly(boolean value)
  		{
  			super.row.setReadOnly(3, value);
  		}
  		public boolean isColForenameReadOnly()
  		{
  			return super.row.isReadOnly(3);
  		}
  		public void showColForenameOpened()
  		{
  			super.row.showOpened(3);
  		}
  		public void setTooltipForColForename(String value)
  		{
  			super.row.setTooltip(3, value);
  		}
  		public String getColForename()
  		{
  			return (String)super.row.get(3);
  		}
  		public void setColForename(String value)
  		{
  			super.row.set(3, value);
  		}
  		public void setCellColForenameTooltip(String value)
  		{
  			super.row.setTooltip(3, value);
  		}
  		public void setColSexReadOnly(boolean value)
  		{
  			super.row.setReadOnly(4, value);
  		}
  		public boolean isColSexReadOnly()
  		{
  			return super.row.isReadOnly(4);
  		}
  		public void showColSexOpened()
  		{
  			super.row.showOpened(4);
  		}
  		public void setTooltipForColSex(String value)
  		{
  			super.row.setTooltip(4, value);
  		}
  		public String getColSex()
  		{
  			return (String)super.row.get(4);
  		}
  		public void setColSex(String value)
  		{
  			super.row.set(4, value);
  		}
  		public void setCellColSexTooltip(String value)
  		{
  			super.row.setTooltip(4, value);
  		}
  		public void setColAgeReadOnly(boolean value)
  		{
  			super.row.setReadOnly(5, value);
  		}
  		public boolean isColAgeReadOnly()
  		{
  			return super.row.isReadOnly(5);
  		}
  		public void showColAgeOpened()
  		{
  			super.row.showOpened(5);
  		}
  		public void setTooltipForColAge(String value)
  		{
  			super.row.setTooltip(5, value);
  		}
  		public String getColAge()
  		{
  			return (String)super.row.get(5);
  		}
  		public void setColAge(String value)
  		{
  			super.row.set(5, value);
  		}
  		public void setCellColAgeTooltip(String value)
  		{
  			super.row.setTooltip(5, value);
  		}
  		public void setColWardReadOnly(boolean value)
  		{
  			super.row.setReadOnly(6, value);
  		}
  		public boolean isColWardReadOnly()
  		{
  			return super.row.isReadOnly(6);
  		}
  		public void showColWardOpened()
  		{
  			super.row.showOpened(6);
  		}
  		public void setTooltipForColWard(String value)
  		{
  			super.row.setTooltip(6, value);
  		}
  		public String getColWard()
  		{
  			return (String)super.row.get(6);
  		}
  		public void setColWard(String value)
  		{
  			super.row.set(6, value);
  		}
  		public void setCellColWardTooltip(String value)
  		{
  			super.row.setTooltip(6, value);
  		}
  		public void setColRequestReadOnly(boolean value)
  		{
  			super.row.setReadOnly(7, value);
  		}
  		public boolean isColRequestReadOnly()
  		{
  			return super.row.isReadOnly(7);
  		}
  		public void showColRequestOpened()
  		{
  			super.row.showOpened(7);
  		}
  		public void setTooltipForColRequest(String value)
  		{
  			super.row.setTooltip(7, value);
  		}
  		public ims.framework.utils.Image getColRequest()
  		{
  			return (ims.framework.utils.Image)super.row.get(7);
  		}
  		public void setColRequest(ims.framework.utils.Image value)
  		{
  			super.row.set(7, value);
  		}
  		public void setCellColRequestTooltip(String value)
  		{
  			super.row.setTooltip(7, value);
  		}
  		public void setColRequestDateTimeReadOnly(boolean value)
  		{
  			super.row.setReadOnly(8, value);
  		}
  		public boolean isColRequestDateTimeReadOnly()
  		{
  			return super.row.isReadOnly(8);
  		}
  		public void showColRequestDateTimeOpened()
  		{
  			super.row.showOpened(8);
  		}
  		public void setTooltipForColRequestDateTime(String value)
  		{
  			super.row.setTooltip(8, value);
  		}
  		public String getColRequestDateTime()
  		{
  			return (String)super.row.get(8);
  		}
  		public void setColRequestDateTime(String value)
  		{
  			super.row.set(8, value);
  		}
  		public void setCellColRequestDateTimeTooltip(String value)
  		{
  			super.row.setTooltip(8, value);
  		}
  		public void setColStatusReadOnly(boolean value)
  		{
  			super.row.setReadOnly(9, value);
  		}
  		public boolean isColStatusReadOnly()
  		{
  			return super.row.isReadOnly(9);
  		}
  		public void showColStatusOpened()
  		{
  			super.row.showOpened(9);
  		}
  		public void setTooltipForColStatus(String value)
  		{
  			super.row.setTooltip(9, value);
  		}
  		public String getColStatus()
  		{
  			return (String)super.row.get(9);
  		}
  		public void setColStatus(String value)
  		{
  			super.row.set(9, value);
  		}
  		public void setCellColStatusTooltip(String value)
  		{
  			super.row.setTooltip(9, value);
  		}
  		public void setColMEWSReadOnly(boolean value)
  		{
  			super.row.setReadOnly(10, value);
  		}
  		public boolean isColMEWSReadOnly()
  		{
  			return super.row.isReadOnly(10);
  		}
  		public void showColMEWSOpened()
  		{
  			super.row.showOpened(10);
  		}
  		public void setTooltipForColMEWS(String value)
  		{
  			super.row.setTooltip(10, value);
  		}
  		public String getColMEWS()
  		{
  			return (String)super.row.get(10);
  		}
  		public void setColMEWS(String value)
  		{
  			super.row.set(10, value);
  		}
  		public void setCellColMEWSTooltip(String value)
  		{
  			super.row.setTooltip(10, value);
  		}
  		public ims.clinical.vo.HospitalAtNightPatientDetailListVo getValue()
  		{
  			return (ims.clinical.vo.HospitalAtNightPatientDetailListVo)super.row.getValue();
  		}
  		public void setValue(ims.clinical.vo.HospitalAtNightPatientDetailListVo value)
  		{
  			super.row.setValue(value);
  		}
  	}
  	public static class grdWorklistRowCollection extends GridRowCollectionBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		private grdWorklistRowCollection(GridRowCollection collection)
  		{
  			super(collection);
  		}
  		public grdWorklistRow get(int index)
  		{
  			return new grdWorklistRow(super.collection.get(index));
  		}
  		public grdWorklistRow newRow()
  		{
  			return new grdWorklistRow(super.collection.newRow());
  		}
  		public grdWorklistRow newRow(boolean autoSelect)
  		{
  			return new grdWorklistRow(super.collection.newRow(autoSelect));
  		}
  		public grdWorklistRow newRowAt(int index)
  		{
  			return new grdWorklistRow(super.collection.newRowAt(index));
  		}
  		public grdWorklistRow newRowAt(int index, boolean autoSelect)
  		{
  			return new grdWorklistRow(super.collection.newRowAt(index, autoSelect));
  		}
  	}
  	public static class grdWorklistGrid 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 addImageColumn(String caption, int captionAlignment, int alignment, int width, boolean canGrow, int sortOrder)
  		{
  			super.grid.addImageColumn(caption, captionAlignment, alignment, width, canGrow, sortOrder);
  		}
  		public ims.clinical.vo.HospitalAtNightPatientDetailListVoCollection getValues()
  		{
  			ims.clinical.vo.HospitalAtNightPatientDetailListVoCollection listOfValues = new ims.clinical.vo.HospitalAtNightPatientDetailListVoCollection();
  			for(int x = 0; x < this.getRows().size(); x++)
  			{
  				listOfValues.add(this.getRows().get(x).getValue());
  			}
  			return listOfValues;
  		}
  		public ims.clinical.vo.HospitalAtNightPatientDetailListVo getValue()
  		{
  			return (ims.clinical.vo.HospitalAtNightPatientDetailListVo)super.grid.getValue();
  		}
  		public void setValue(ims.clinical.vo.HospitalAtNightPatientDetailListVo value)
  		{
  			super.grid.setValue(value);
  		}
  		public grdWorklistRow getSelectedRow()
  		{
  			return super.grid.getSelectedRow() == null ? null : new grdWorklistRow(super.grid.getSelectedRow());
  		}
  		public int getSelectedRowIndex()
  		{
  			return super.grid.getSelectedRowIndex();
  		}
  		public grdWorklistRowCollection getRows()
  		{
  			return new grdWorklistRowCollection(super.grid.getRows());
  		}
  		public grdWorklistRow getRowByValue(ims.clinical.vo.HospitalAtNightPatientDetailListVo value)
  		{
  			GridRow row = super.grid.getRowByValue(value);
  