gt: 		sb.append(" classVersion=\"" + this.getClassVersion() + "\" ");
context: //#############################################################################
  //#                                                                           #
  //#  Copyright (C) <2015>  <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/>.    #
  //#                                                                           #
  //#  IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of    #
  //#  this program.  Users of this software do so entirely at their own risk.  #
  //#  IMS MAXIMS only ensures the Clinical Safety of unaltered run-time        #
  //#  software that it builds, deploys and maintains.                          #
  //#                                                                           #
  //#############################################################################
  //#EOH
  /*
   * This code was generated
   * Copyright (C) 1995-2004 IMS MAXIMS plc. All rights reserved.
   * IMS Development Environment (version 1.80 build 5589.25814)
   * WARNING: DO NOT MODIFY the content of this file
   * Generated: 12/10/2015, 13:28
   *
   */
  package ims.edischarge.domain.objects;
  
  /**
   * 
   * @author Neil McAnaspie
   * Generated.
   */
  
  
  public class FuturePlanFollowUp extends ims.domain.DomainObject implements ims.domain.SystemInformationRetainer, java.io.Serializable {
  	public static final int CLASSID = 1099100007;
  	private static final long serialVersionUID = 1099100007L;
  	public static final String CLASSVERSION = "${ClassVersion}";
  
  	@Override
  	public boolean shouldCapQuery()
  	{
  		return true;
  	}
  
  	/** Hospital Follow Up */
  	private ims.domain.lookups.LookupInstance hospitalFollowUp;
  	/** Hospital To Follow Up */
  	private ims.core.resource.place.domain.objects.Location hospitalToFollowUp;
  	/** Follow Up In Value */
  	private Integer followUpInValue;
  	/** FollowUp InUnit */
  	private ims.domain.lookups.LookupInstance followUpInUnit;
  	/** Follow Up HCP */
  	private ims.core.resource.people.domain.objects.Hcp followUpHCP;
  	/** Follow Up Specialty */
  	private ims.domain.lookups.LookupInstance followUpSpecialty;
  	/** Location */
  	private ims.core.resource.place.domain.objects.Location location;
  	/** FollowUp Type  */
  	private ims.domain.lookups.LookupInstance followUpType;
  	/** SystemInformation */
  	private ims.domain.SystemInformation systemInformation = new ims.domain.SystemInformation();
      public FuturePlanFollowUp (Integer id, int ver)
      {
      	super(id, ver);
      }
      public FuturePlanFollowUp ()
      {
      	super();
      }
      public FuturePlanFollowUp (Integer id, int ver, Boolean includeRecord)
      {
      	super(id, ver, includeRecord);
      }
  	public Class getRealDomainClass()
  	{
  		return ims.edischarge.domain.objects.FuturePlanFollowUp.class;
  	}
  
  
  	public ims.domain.lookups.LookupInstance getHospitalFollowUp() {
  		return hospitalFollowUp;
  	}
  	public void setHospitalFollowUp(ims.domain.lookups.LookupInstance hospitalFollowUp) {
  		this.hospitalFollowUp = hospitalFollowUp;
  	}
  
  	public ims.core.resource.place.domain.objects.Location getHospitalToFollowUp() {
  		return hospitalToFollowUp;
  	}
  	public void setHospitalToFollowUp(ims.core.resource.place.domain.objects.Location hospitalToFollowUp) {
  		this.hospitalToFollowUp = hospitalToFollowUp;
  	}
  
  	public Integer getFollowUpInValue() {
  		return followUpInValue;
  	}
  	public void setFollowUpInValue(Integer followUpInValue) {
  		this.followUpInValue = followUpInValue;
  	}
  
  	public ims.domain.lookups.LookupInstance getFollowUpInUnit() {
  		return followUpInUnit;
  	}
  	public void setFollowUpInUnit(ims.domain.lookups.LookupInstance followUpInUnit) {
  		this.followUpInUnit = followUpInUnit;
  	}
  
  	public ims.core.resource.people.domain.objects.Hcp getFollowUpHCP() {
  		return followUpHCP;
  	}
  	public void setFollowUpHCP(ims.core.resource.people.domain.objects.Hcp followUpHCP) {
  		this.followUpHCP = followUpHCP;
  	}
  
  	public ims.domain.lookups.LookupInstance getFollowUpSpecialty() {
  		return followUpSpecialty;
  	}
  	public void setFollowUpSpecialty(ims.domain.lookups.LookupInstance followUpSpecialty) {
  		this.followUpSpecialty = followUpSpecialty;
  	}
  
  	public ims.core.resource.place.domain.objects.Location getLocation() {
  		return location;
  	}
  	public void setLocation(ims.core.resource.place.domain.objects.Location location) {
  		this.location = location;
  	}
  
  	public ims.domain.lookups.LookupInstance getFollowUpType() {
  		return followUpType;
  	}
  	public void setFollowUpType(ims.domain.lookups.LookupInstance followUpType) {
  		this.followUpType = followUpType;
  	}
  
  	public ims.domain.SystemInformation getSystemInformation() {
  		if (systemInformation == null) systemInformation = new ims.domain.SystemInformation();
  		return systemInformation;
  	}
  
  
  	/**
  	 * isConfigurationObject
  	 * Taken from the Usage property of the business object, this method will return
  	 * a boolean indicating whether this is a configuration object or not
  	 * Configuration = true, Instantiation = false
  	 */
  	public static boolean isConfigurationObject()
  	{
  		if ( "Instantiation".equals("Configuration") )
  			return true;
  		else
  			return false;
  	}
  
  
  
  
  
  	public int getClassId() {
  		return CLASSID;
  	}
  
  	public String getClassVersion()
  	{
  		return CLASSVERSION;
  	}
  
  	public String toAuditString()
  	{
  		StringBuffer auditStr = new StringBuffer();
  		
  		auditStr.append("\r\n*hospitalFollowUp* :");
  		if (hospitalFollowUp != null)
  			auditStr.append(hospitalFollowUp.getText());
  	    auditStr.append("; ");
  		auditStr.append("\r\n*hospitalToFollowUp* :");
  		if (hospitalToFollowUp != null)
  		{
  			auditStr.append(toShortClassName(hospitalToFollowUp));
  				
  		    auditStr.append(hospitalToFollowUp.getId());
  		}
  	    auditStr.append("; ");
  		auditStr.append("\r\n*followUpInValue* :");
  		auditStr.append(followUpInValue);
  	    auditStr.append("; ");
  		auditStr.append("\r\n*followUpInUnit* :");
  		if (followUpInUnit != null)
  			auditStr.append(followUpInUnit.getText());
  	    auditStr.append("; ");
  		auditStr.append("\r\n*followUpHCP* :");
  		if (followUpHCP != null)
  		{
  			auditStr.append(toShortClassName(followUpHCP));
  				
  		    auditStr.append(followUpHCP.getId());
  		}
  	    auditStr.append("; ");
  		auditStr.append("\r\n*followUpSpecialty* :");
  		if (followUpSpecialty != null)
  			auditStr.append(followUpSpecialty.getText());
  	    auditStr.append("; ");
  		auditStr.append("\r\n*location* :");
  		if (location != null)
  		{
  			auditStr.append(toShortClassName(location));
  				
  		    auditStr.append(location.getId());
  		}
  	    auditStr.append("; ");
  		auditStr.append("\r\n*followUpType* :");
  		if (followUpType != null)
  			auditStr.append(followUpType.getText());
  	    auditStr.append("; ");
  		return auditStr.toString();
  	}
  	
  	public String toXMLString()
  	{
  		return toXMLString(new java.util.HashMap());
  	}
  	
  	public String toXMLString(java.util.HashMap domMap)
  	{
  		StringBuffer sb = new StringBuffer();
  		sb.append("<class type=\"" + this.getClass().getName() + "\" ");		
  		sb.append(" id=\"" + this.getId() + "\""); 
  		sb.append(" source=\"" + ims.configuration.EnvironmentConfig.getImportExportSourceName() + "\" ");
  