// Path: reqifcompiler/src/main/java/de/kay_muench/reqif10/reqifcompiler/IdentifierManager.java
// public final class IdentifierManager {
// 	private static boolean predictabilityEnabled = false;
// 	private static long predictableId = 1L;
// 
// 	public static void enablePredictableId() {
// 		predictabilityEnabled = true;
// 	}
// 
// 	public static String generateIdentifier() {
// 		if (predictabilityEnabled) {
// 			predictableId += 1L;
// 			return "" + predictableId;
// 		}
// 		return "requie-tool-" + UUID.randomUUID().toString();
// 	}
// }
// 
// Path: reqifcompiler/src/main/java/de/kay_muench/reqif10/reqifcompiler/dto/RankingDTO.java
// public final class RankingDTO extends EnumeratorDTO {
// 
// 	public static Integer DEFAULT = 0;
// 	public static List<? extends Enumerator> VALUES;
// 
// 	public static RankingDTO newInstance() {
// 		return new RankingDTO();
// 	}
// }


import java.math.BigInteger;
import org.eclipse.emf.common.util.Enumerator;
import org.eclipse.rmf.reqif10.DatatypeDefinitionEnumeration;
import org.eclipse.rmf.reqif10.EmbeddedValue;
import org.eclipse.rmf.reqif10.EnumValue;
import org.eclipse.rmf.reqif10.ReqIF10Factory;
import de.kay_muench.reqif10.reqifcompiler.IdentifierManager;
import de.kay_muench.reqif10.reqifcompiler.dto.RankingDTO;
	}

	public void addEnumValue(Enumerator enumerator) {
		EnumValue enumValue = ReqIF10Factory.eINSTANCE.createEnumValue();
		enumValue.setIdentifier(IdentifierManager.generateIdentifier());
		enumValue.setLongName(enumerator.getLiteral());

		EmbeddedValue embeddedValue = ReqIF10Factory.eINSTANCE
				.createEmbeddedValue();
		embeddedValue.setKey(BigInteger.valueOf(enumerator.getValue()));
		embeddedValue.setOtherContent("");

		enumValue.setProperties(embeddedValue);

		def.getSpecifiedValues().add(enumValue);
	}

	public DatatypeDefinitionEnumeration getDef() {
		return def;
	}

}

public final class RequirementRanking {
	private ReqIFEnumerationDatatype def;

	public RequirementRanking() {
		def = new ReqIFEnumerationDatatype();
		def.setName("T_ReqRanking");

// Path: reqifcompiler/src/main/java/de/kay_muench/reqif10/reqifcompiler/IdentifierManager.java
// public final class IdentifierManager {
// 	private static boolean predictabilityEnabled = false;
// 	private static long predictableId = 1L;
// 
// 	public static void enablePredictableId() {
// 		predictabilityEnabled = true;
// 	}
// 
// 	public static String generateIdentifier() {
// 		if (predictabilityEnabled) {
// 			predictableId += 1L;
// 			return "" + predictableId;
// 		}
// 		return "requie-tool-" + UUID.randomUUID().toString();
// 	}
// }
// 
// Path: reqifcompiler/src/main/java/de/kay_muench/reqif10/reqifcompiler/dto/RankingDTO.java
// public final class RankingDTO extends EnumeratorDTO {
// 
// 	public static Integer DEFAULT = 0;
// 	public static List<? extends Enumerator> VALUES;
// 
// 	public static RankingDTO newInstance() {
// 		return new RankingDTO();
// 	}
// }


// Path: reqifcompiler/src/main/java/de/kay_muench/reqif10/reqifcompiler/types/simple/RequirementRanking.java
import java.math.BigInteger;
import org.eclipse.emf.common.util.Enumerator;
import org.eclipse.rmf.reqif10.DatatypeDefinitionEnumeration;
import org.eclipse.rmf.reqif10.EmbeddedValue;
import org.eclipse.rmf.reqif10.EnumValue;
import org.eclipse.rmf.reqif10.ReqIF10Factory;
import de.kay_muench.reqif10.reqifcompiler.IdentifierManager;
import de.kay_muench.reqif10.reqifcompiler.dto.RankingDTO;

	}

	public void addEnumValue(Enumerator enumerator) {
		EnumValue enumValue = ReqIF10Factory.eINSTANCE.createEnumValue();
		enumValue.setIdentifier(IdentifierManager.generateIdentifier());
		enumValue.setLongName(enumerator.getLiteral());

		EmbeddedValue embeddedValue = ReqIF10Factory.eINSTANCE
				.createEmbeddedValue();
		embeddedValue.setKey(BigInteger.valueOf(enumerator.getValue()));
		embeddedValue.setOtherContent("");

		enumValue.setProperties(embeddedValue);

		def.getSpecifiedValues().add(enumValue);
	}

	public DatatypeDefinitionEnumeration getDef() {
		return def;
	}

}

public final class RequirementRanking {
	private ReqIFEnumerationDatatype def;

	public RequirementRanking() {
		def = new ReqIFEnumerationDatatype();
		def.setName("T_ReqRanking");

		for (Enumerator ranking : RankingDTO.VALUES) {