// Path: aadl-translator/src/main/java/edu/ksu/cis/projects/mdcf/aadltranslator/model/ModelUtil.java
// public static enum RuntimeErrorHandlingApproach implements HandlingApproach{
// 	NOTSPECIFIED, ROLLBACK, ROLLFORWARD, COMPENSATION,
// };
// 
// Path: aadl-translator/src/main/java/edu/ksu/cis/projects/mdcf/aadltranslator/model/ModelUtil.java
// public static enum RuntimeFaultHandlingApproach implements HandlingApproach{
// 	NOTSPECIFIED, DIAGNOSIS, ISOLATION, RECONFIGURATION, REINITIALIZATION,
// };


import edu.ksu.cis.projects.mdcf.aadltranslator.model.ModelUtil.RuntimeErrorHandlingApproach;
import edu.ksu.cis.projects.mdcf.aadltranslator.model.ModelUtil.RuntimeFaultHandlingApproach;
package edu.ksu.cis.projects.mdcf.aadltranslator.model.hazardanalysis;


public class RuntimeHandlingModel {
	private RuntimeErrorHandlingApproach errorHandlingApproach;
	private RuntimeFaultHandlingApproach faultHandlingApproach;
	private String explanation;
	private String name;
	
	public RuntimeHandlingModel(String name, String approachStr, String explanation) {
		this.name = name;
		this.explanation = explanation;
		this.errorHandlingApproach = RuntimeErrorHandlingApproach.valueOf(approachStr.toUpperCase());
		this.faultHandlingApproach = RuntimeFaultHandlingApproach.NOTSPECIFIED;
	}

	public RuntimeErrorHandlingApproach getErrorHandlingApproach() {
		return errorHandlingApproach;
	}

	public void setFaultHandlingApproach(String faultHandlingApproachStr) {
		this.faultHandlingApproach = RuntimeFaultHandlingApproach.valueOf(faultHandlingApproachStr.toUpperCase());
	}
	
	public RuntimeFaultHandlingApproach getFaultHandlingApproach() {
		return faultHandlingApproach;
	}
	
	public String getExplanation() {
// Path: aadl-translator/src/main/java/edu/ksu/cis/projects/mdcf/aadltranslator/model/ModelUtil.java
// public static enum RuntimeErrorHandlingApproach implements HandlingApproach{
// 	NOTSPECIFIED, ROLLBACK, ROLLFORWARD, COMPENSATION,
// };
// 
// Path: aadl-translator/src/main/java/edu/ksu/cis/projects/mdcf/aadltranslator/model/ModelUtil.java
// public static enum RuntimeFaultHandlingApproach implements HandlingApproach{
// 	NOTSPECIFIED, DIAGNOSIS, ISOLATION, RECONFIGURATION, REINITIALIZATION,
// };


// Path: aadl-translator/src/main/java/edu/ksu/cis/projects/mdcf/aadltranslator/model/hazardanalysis/RuntimeHandlingModel.java
import edu.ksu.cis.projects.mdcf.aadltranslator.model.ModelUtil.RuntimeErrorHandlingApproach;
import edu.ksu.cis.projects.mdcf.aadltranslator.model.ModelUtil.RuntimeFaultHandlingApproach;

package edu.ksu.cis.projects.mdcf.aadltranslator.model.hazardanalysis;


public class RuntimeHandlingModel {
	private RuntimeErrorHandlingApproach errorHandlingApproach;
	private RuntimeFaultHandlingApproach faultHandlingApproach;
	private String explanation;
	private String name;
	
	public RuntimeHandlingModel(String name, String approachStr, String explanation) {
		this.name = name;
		this.explanation = explanation;
		this.errorHandlingApproach = RuntimeErrorHandlingApproach.valueOf(approachStr.toUpperCase());
		this.faultHandlingApproach = RuntimeFaultHandlingApproach.NOTSPECIFIED;
	}

	public RuntimeErrorHandlingApproach getErrorHandlingApproach() {
		return errorHandlingApproach;
	}

	public void setFaultHandlingApproach(String faultHandlingApproachStr) {
		this.faultHandlingApproach = RuntimeFaultHandlingApproach.valueOf(faultHandlingApproachStr.toUpperCase());
	}
	
	public RuntimeFaultHandlingApproach getFaultHandlingApproach() {
		return faultHandlingApproach;
	}
	
	public String getExplanation() {
		return explanation;