// Path: aadl-translator/src/main/java/edu/ksu/cis/projects/mdcf/aadltranslator/model/ModelUtil.java
// public static enum RuntimeErrorDetectionApproach implements DetectionApproach{
// 	NOTSPECIFIED, CONCURRENT, PREEMPTIVE,
// };


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


public class RuntimeDetectionModel extends DetectionModel {
	
	public RuntimeDetectionModel(String explanation, String name, String approachStr) {
		super(explanation, name);
		this.approach = RuntimeErrorDetectionApproach.valueOf(approachStr.toUpperCase());
	}

	@Override
	public RuntimeErrorDetectionApproach getApproach() {
// Path: aadl-translator/src/main/java/edu/ksu/cis/projects/mdcf/aadltranslator/model/ModelUtil.java
// public static enum RuntimeErrorDetectionApproach implements DetectionApproach{
// 	NOTSPECIFIED, CONCURRENT, PREEMPTIVE,
// };


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

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


public class RuntimeDetectionModel extends DetectionModel {
	
	public RuntimeDetectionModel(String explanation, String name, String approachStr) {
		super(explanation, name);
		this.approach = RuntimeErrorDetectionApproach.valueOf(approachStr.toUpperCase());
	}

	@Override
	public RuntimeErrorDetectionApproach getApproach() {
		return (RuntimeErrorDetectionApproach) approach;