/**
 * ConversionResult.java
 * Created on Jun 20, 2008
 * (C) Copyright TANDBERG Television Ltd.
 */
package com.tandbergtv.watchpoint.pmm.util.schedule.ingest;

/**
 * This class contains all the info required to analyze the conversion: 
 * - what providerId was provided
 * - what was the file type - Schedule or Program List
 * 
 * @author spuranik
 * 
 */
public class ConversionResult {

	// type of the file e.g. Planner or Program List
	public FileType fileType;
	// name of title which could not be converted. Reason for failure will be populated
	// in 'errorMsg'.
	public String failedTitle;
	// If the incoming file cannot be translated, the error msg is set here. 
	public String errorMsg;

	/**
	 * @return the fileType
	 */
	public FileType getFileType() {
		return fileType;
	}

	/**
	 * @param fileType
	 *            the fileType to set
	 */
	public void setFileType(FileType fileType) {
		this.fileType = fileType;
	}

	/**
	 * @return the failedTitles
	 */
	public String getFailedTitle() {
		return failedTitle;
	}

	/**
	 * @param failedTitles the failedTitles to set
	 */
	public void setFailedTitle(String failedTitle) {
		this.failedTitle = failedTitle;
	}

	/**
	 * @return the errorMsg
	 */
	public String getErrorMsg() {
		return errorMsg;
	}

	/**
	 * @param errorMsg the errorMsg to set
	 */
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
}
