class AsyncRetrieveMessageFormat implements FormatTS {

	@Override
	public String formatObject(Object item) {
		if (item!=null) {
			AsyncRetrieveMessage msg = (AsyncRetrieveMessage)item;
			StringBuffer buffer = new StringBuffer();
			buffer.append(getStringOrBlank(dateFormat.formatObject(msg.getDate())));
			buffer.append(getSeparator());
			buffer.append(getStringOrBlank(msg.getPatientId()));
			buffer.append(getSeparator());
			buffer.append(getStringOrBlank(msg.getPatientName()));
			return buffer.toString();
		}
		return null;
	}

}