Class GenerationFileNameProviderImpl
- java.lang.Object
-
- org.palladiosimulator.textual.commons.generator.impl.GenerationFileNameProviderImpl
-
- All Implemented Interfaces:
GenerationFileNameProvider
public class GenerationFileNameProviderImpl extends Object implements GenerationFileNameProvider
-
-
Constructor Summary
Constructors Constructor Description GenerationFileNameProviderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generateFileNameFor(EObject resource, String originalFileName)
val typeDefinitions = new ArrayList(); new() { typeDefinitions.add(new TypeNameDefinition(Repository, "repository")) typeDefinitions.add(new TypeNameDefinition(org.palladiosimulator.textual.tpcm.language.System, "system")) typeDefinitions.add(new TypeNameDefinition(Allocation, "allocation")) typeDefinitions.add(new TypeNameDefinition(ResourceEnvironment, "resourceenvironment")) typeDefinitions.add(new TypeNameDefinition(ResourceTypeRepository, "resourcetyperepository")) typeDefinitions.add(new TypeNameDefinition(Usage, "usagemodel")) }
-
-
-
Method Detail
-
generateFileNameFor
public String generateFileNameFor(EObject resource, String originalFileName)
val typeDefinitions = new ArrayList(); new() { typeDefinitions.add(new TypeNameDefinition(Repository, "repository")) typeDefinitions.add(new TypeNameDefinition(org.palladiosimulator.textual.tpcm.language.System, "system")) typeDefinitions.add(new TypeNameDefinition(Allocation, "allocation")) typeDefinitions.add(new TypeNameDefinition(ResourceEnvironment, "resourceenvironment")) typeDefinitions.add(new TypeNameDefinition(ResourceTypeRepository, "resourcetyperepository")) typeDefinitions.add(new TypeNameDefinition(Usage, "usagemodel")) } - Specified by:
generateFileNameFor
in interfaceGenerationFileNameProvider
-
-