gt: 			return this.id == ((GroupDateEnumeration)o).id;
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.patientassessmentlistandsearch;
  
  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 cmbAssessmentStatusComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.core.vo.lookups.PatientAssessmentStatusReason value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.core.vo.lookups.PatientAssessmentStatusReason value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.core.vo.lookups.PatientAssessmentStatusReason value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.core.vo.lookups.PatientAssessmentStatusReason 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.lookups.PatientAssessmentStatusReason value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.core.vo.lookups.PatientAssessmentStatusReason getValue()
  		{
  			return (ims.core.vo.lookups.PatientAssessmentStatusReason)super.control.getValue();
  		}
  		public void setValue(ims.core.vo.lookups.PatientAssessmentStatusReason value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class cmbSpecialtyComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.core.vo.lookups.Specialty value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.core.vo.lookups.Specialty value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.core.vo.lookups.Specialty value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.core.vo.lookups.Specialty 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.lookups.Specialty value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.core.vo.lookups.Specialty getValue()
  		{
  			return (ims.core.vo.lookups.Specialty)super.control.getValue();
  		}
  		public void setValue(ims.core.vo.lookups.Specialty value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class grdAssessmentsRow extends GridRowBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		protected grdAssessmentsRow(GridRow row)
  		{
  			super(row);
  		}
  		public void showOpened(int column)
  		{
  			super.row.showOpened(column);
  		}
  		public void setColEventDateReadOnly(boolean value)
  		{
  			super.row.setReadOnly(0, value);
  		}
  		public boolean isColEventDateReadOnly()
  		{
  			return super.row.isReadOnly(0);
  		}
  		public void showColEventDateOpened()
  		{
  			super.row.showOpened(0);
  		}
  		public void setTooltipForColEventDate(String value)
  		{
  			super.row.setTooltip(0, value);
  		}
  		public ims.framework.utils.Date getColEventDate()
  		{
  			return (ims.framework.utils.Date)super.row.get(0);
  		}
  		public void setColEventDate(ims.framework.utils.Date value)
  		{
  			super.row.set(0, value);
  		}
  		public void setCellColEventDateTooltip(String value)
  		{
  			super.row.setTooltip(0, value);
  		}
  		public void setColGeneratedDateReadOnly(boolean value)
  		{
  			super.row.setReadOnly(1, value);
  		}
  		public boolean isColGeneratedDateReadOnly()
  		{
  			return super.row.isReadOnly(1);
  		}
  		public void showColGeneratedDateOpened()
  		{
  			super.row.showOpened(1);
  		}
  		public void setTooltipForColGeneratedDate(String value)
  		{
  			super.row.setTooltip(1, value);
  		}
  		public ims.framework.utils.Date getColGeneratedDate()
  		{
  			return (ims.framework.utils.Date)super.row.get(1);
  		}
  		public void setColGeneratedDate(ims.framework.utils.Date value)
  		{
  			super.row.set(1, value);
  		}
  		public void setCellColGeneratedDateTooltip(String value)
  		{
  			super.row.setTooltip(1, value);
  		}
  		public void setColSpecialtyReadOnly(boolean value)
  		{
  			super.row.setReadOnly(2, value);
  		}
  		public boolean isColSpecialtyReadOnly()
  		{
  			return super.row.isReadOnly(2);
  		}
  		public void showColSpecialtyOpened()
  		{
  			super.row.showOpened(2);
  		}
  		public void setTooltipForColSpecialty(String value)
  		{
  			super.row.setTooltip(2, value);
  		}
  		public String getColSpecialty()
  		{
  			return (String)super.row.get(2);
  		}
  		public void setColSpecialty(String value)
  		{
  			super.row.set(2, value);
  		}
  		public void setCellColSpecialtyTooltip(String value)
  		{
  			super.row.setTooltip(2, value);
  		}
  		public void setColAuthoringHCPReadOnly(boolean value)
  		{
  			super.row.setReadOnly(3, value);
  		}
  		public boolean isColAuthoringHCPReadOnly()
  		{
  			return super.row.isReadOnly(3);
  		}
  		public void showColAuthoringHCPOpened()
  		{
  			super.row.showOpened(3);
  		}
  		public void setTooltipForColAuthoringHCP(String value)
  		{
  			super.row.setTooltip(3, value);
  		}
  		public String getColAuthoringHCP()
  		{
  			return (String)super.row.get(3);
  		}
  		public void setColAuthoringHCP(String value)
  		{
  			super.row.set(3, value);
  		}
  		public void setCellColAuthoringHCPTooltip(String value)
  		{
  			super.row.setTooltip(3, value);
  		}
  		public void setColAssessmentNameReadOnly(boolean value)
  		{
  			super.row.setReadOnly(4, value);
  		}
  		public boolean isColAssessmentNameReadOnly()
  		{
  			return super.row.isReadOnly(4);
  		}
  		public void showColAssessmentNameOpened()
  		{
  			super.row.showOpened(4);
  		}
  		public void setTooltipForColAssessmentName(String value)
  		{
  			super.row.setTooltip(4, value);
  		}
  		public String getColAssessmentName()
  		{
  			return (String)super.row.get(4);
  		}
  		public void setColAssessmentName(String value)
  		{
  			super.row.set(4, value);
  		}
  		public void setCellColAssessmentNameTooltip(String value)
  		{
  			super.row.setTooltip(4, value);
  		}
  		public void setColAssessmentStatusReadOnly(boolean value)
  		{
  			super.row.setReadOnly(5, value);
  		}
  		public boolean isColAssessmentStatusReadOnly()
  		{
  			return super.row.isReadOnly(5);
  		}
  		public void showColAssessmentStatusOpened()
  		{
  			super.row.showOpened(5);
  		}
  		public void setTooltipForColAssessmentStatus(String value)
  		{
  			super.row.setTooltip(5, value);
  		}
  		public String getColAssessmentStatus()
  		{
  			return (String)super.row.get(5);
  		}
  		public void setColAssessmentStatus(String value)
  		{
  			super.row.set(5, value);
  		}
  		public void setCellColAssessmentStatusTooltip(String value)
  		{
  			super.row.setTooltip(5, value);
  		}
  		public ims.clinical.vo.PatientAssessmentListVo getValue()
  		{
  			return (ims.clinical.vo.PatientAssessmentListVo)super.row.getValue();
  		}
  		public void setValue(ims.clinical.vo.PatientAssessmentListVo value)
  		{
  			super.row.setValue(value);
  		}
  	}
  	public static class grdAssessmentsRowCollection extends GridRowCollectionBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		private grdAssessmentsRowCollection(GridRowCollection collection)
  		{
  			super(collection);
  		}
  		public grdAssessmentsRow get(int index)
  		{
  			return new grdAssessmentsRow(super.collection.get(index));
  		}
  		public grdAssessmentsRow newRow()
  		{
  			return new grdAssessmentsRow(super.collection.newRow());
  		}
  		public grdAssessmentsRow newRow(boolean autoSelect)
  		{
  			return new grdAssessmentsRow(super.collection.newRow(autoSelect));
  		}
  		public grdAssessmentsRow newRowAt(int index)
  		{
  			return new grdAssessmentsRow(super.collection.newRowAt(index));
  		}
  		public grdAssessmentsRow newRowAt(int index, boolean autoSelect)
  		{
  			return new grdAssessmentsRow(super.collection.newRowAt(index, autoSelect));
  		}
  	}
  	public static class grdAssessmentsGrid extends GridBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		private void addDateColumn(String caption, int captionAlignment, int alignment, int width, boolean readOnly, boolean canBeEmpty, String validationString, boolean bold, int sortOrder, boolean canGrow)
  		{
  			super.grid.addDateColumn(caption, captionAlignment, alignment, width, readOnly, canBeEmpty, validationString, bold, sortOrder, canGrow);
  		}
  		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);
  		}
  		public void setColAuthoringHCPCaption(String value)
  		{
  			this.grid.setColumnCaption(3, value);
  		}
  		public ims.clinical.vo.PatientAssessmentListVoCollection getValues()
  		{
  			ims.clinical.vo.PatientAssessmentListVoCollection listOfValues = new ims.clinical.vo.PatientAssessmentListVoCollection();
  			for(int x = 0; x < this.getRows().size(); x++)
  			{
  				listOfValues.add(this.getRows().get(x).getValue());
  			}
  			return listOfValues;
  		}
  		public ims.clinical.vo.PatientAssessmentListVo getValue()
  		{
  			return (ims.clinical.vo.PatientAssessmentListVo)super.grid.getValue();
  		}
  		public void setValue(ims.clinical.vo.PatientAssessmentListVo value)
  		{
  			super.grid.setValue(value);
  		}
  		public grdAssessmentsRow getSelectedRow()
  		{
  			return super.grid.getSelectedRow() == null ? null : new grdAssessmentsRow(super.grid.getSelectedRow());
  		}
  		public int getSelectedRowIndex()
  		{
  			return super.grid.getSelectedRowIndex();
  		}
  		public grdAssessmentsRowCollection getRows()
  		{
  			return new grdAssessmentsRowCollection(super.grid.getRows());
  		}
  		public grdAssessmentsRow getRowByValue(ims.clinical.vo.PatientAssessmentListVo value)
  		{
  			GridRow row = super.grid.getRowByValue(value);
  			return row == null?null:new grdAssessmentsRow(row);
  		}
  		public void setColEventDateHeaderTooltip(String value)
  		{
  			super.grid.setColumnHeaderTooltip(0, value);
  		}
  		public String getColEventDateHeaderTooltip()
  		{
  			return super.grid.getColumnHeaderTooltip(0);
  		}
  		public void setColGeneratedDateHeaderTooltip(String value)
  		{
  			super.grid.setColumnHeaderTooltip(1, value);
  		}
  		public String getColGeneratedDateHeaderTooltip()
  		{
  			return super.grid.getColumnHeaderTooltip(1);
  		}
  		public void setColSpecialtyHeaderTooltip(String value)
  		{
  			super.grid.setColumnHeaderTooltip(2, value);
  		}
  		public String getColSpecialtyHeaderTooltip()
  		{
  			return super.grid.getColumnHeaderTooltip(2);
  		}
  		public void setColAuthoringHCPHeaderTooltip(String value)
  		{
  			super.grid.setColumnHeaderTooltip(3, value);
  		}
  		public String getColAuthoringHCPHeaderTooltip()
  		{
  			return super.grid.getColumnHeaderTooltip(3);
  		}
  		public void setColAssessmentNameHeaderTooltip(String value)
  		{
  			super.grid.setColumnHeaderTooltip(4, value);
  		}
  		public String getColAssessmentNameHeaderTooltip()
  		{
  			return super.grid.getColumnHeaderTooltip(4);
  		}
  		public void setColAssessmentStatusHeaderTooltip(String value)
  		{
  			super.grid.setColumnHeaderTooltip(5, value);
  		}
  		public String getColAssessmentStatusHeaderTooltip()
  		{
  			return super.grid.getColumnHeaderTooltip(5);
  		}
  	}
  
  	public static class GroupDateRadioButton extends RadioButtonBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		protected void setContext(Integer startTabIndex, ims.framework.utils.SizeInfo designSize, ims.framework.utils.SizeInfo runtimeSize)
  		{
  			if(startTabIndex == null)
  				throw new RuntimeException("Invalid startTabIndex ");
  			RuntimeAnchoring anchoringHelper1 = new RuntimeAnchoring(designSize, runtimeSize, 616, 58, 104, 16, ims.framework.enumerations.ControlAnchoring.TOPRIGHT);
  			control.addButton(0, anchoringHelper1.getX(), anchoringHelper1.getY(), anchoringHelper1.getWidth(), "Generated Date", startTabIndex.intValue() + 2009);
  			RuntimeAnchoring anchoringHelper2 = new RuntimeAnchoring(designSize, runtimeSize, 616, 34, 104, 16, ims.framework.enumerations.ControlAnchoring.TOPRIGHT);
  			control.addButton(1, anchoringHelper2.getX(), anchoringHelper2.getY(), anchoringHelper2.getWidth(), "Event Date", startTabIndex.intValue() + 2008);
  		}
  		public void setText(GroupDateEnumeration option, String value)
  		{
  			if(option != null && option.id >= 0 && value != null)
  				control.setText(option.id, value);
  		}
  		public GroupDateEnumeration getValue()
  		{
  			switch (super.control.getValue())
  			{
  				case -1: return GroupDateEnumeration.None;
  				case 0: return GroupDateEnumeration.rdoGeneratedDate;
  				case 1: return GroupDateEnumeration.rdoEventDate;
  			}
  			return null;
  		}
  		public void setValue(GroupDateEnumeration value)
  		{
  			if(value != null)
  				super.control.setValue(value.id);
  			else
  				super.control.setValue(GroupDateEnumeration.None.id);
  		}
  		public boolean isEnabled(GroupDateEnumeration option)
  		{
  			return super.control.isEnabled(option.id);
  		}
  		public void setEnabled(GroupDateEnumeration option, boolean value)
  		{
  			super.control.setEnabled(option.id, value);
  		}
  		public boolean isVisible(GroupDateEnumeration option)
  		{
  			return super.control.isVisible(option.id);
  		}
  		public void setVisible(GroupDateEnumeration option, boolean value)
  		{
  			super.control.setVisible(option.id, value);
  		}
  		public void setVisible(boolean value)
  		{
  			super.control.setVisible(value);
  		}
  		public void setEnabled(boolean value)
  		{
  			super.control.setEnabled(value);
  		}
  	}
  	public static class GroupDateEnumeration implements java.io.Serializable
  	{
  		private static final long serialVersionUID = 1L;
  		public static GroupDateEnumeration None = new GroupDateEnumeration(-1);
  		public static GroupDateEnumeration rdoGeneratedDate = new GroupDateEnumeration(0);
  		public static GroupDateEnumeration rdoEventDate = new GroupDateEnumeration(1);
  		private GroupDateEnumeration(int id)
  		{
  			this.id = id;
  		}
  		public boolean equals(Object o)
  		{
  