Class TIMTransformation

java.lang.Object
  |
  +--TIMTransformation
Direct Known Subclasses:
AdrenalineTransformation, VNUMLTransformation

public abstract class TIMTransformation
extends Object

This is the abstract class for TIM to TSM transformation. Specific transformations for specific testbed are derived from it.

Author:
Fermin Galan Marquez

Constructor Summary
TIMTransformation()
           
 
Method Summary
abstract  String toTsm(String testbedName)
          Performs the TIM-to-TSM transformation, returning a String enclosing the TSM model.
 void toTsm(String testbedName, String fileName)
          Performs the TIM-to-TSM transformation, writing the TSM to a file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TIMTransformation

public TIMTransformation()
Method Detail

toTsm

public abstract String toTsm(String testbedName)
                      throws TIMTransformationException
Performs the TIM-to-TSM transformation, returning a String enclosing the TSM model.

Parameters:
testbedName - the name of the testbed to be transformed
Returns:
the derived TSM model
Throws:
TIMTransformationException

toTsm

public void toTsm(String testbedName,
                  String fileName)
           throws TIMTransformationException
Performs the TIM-to-TSM transformation, writing the TSM to a file.

Parameters:
testbedName - the name of the testbed to be transformed
fileName - the filename in which the TSM model would be writted
Throws:
TIMTransformationException