Class TIMTransformation

java.lang.Object
  extended by TIMTransformation
Direct Known Subclasses:
AdrenalineTransformation, VNUMLTransformation

public abstract class TIMTransformation
extends java.lang.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  java.util.Vector<java.lang.String> toTsm(java.lang.String testbedName)
          Performs the TIM-to-TSM transformation, returning a String enclosing the TSM model.
 void toTsm(java.lang.String testbedName, java.util.Vector<java.lang.String> fileNames)
          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 java.util.Vector<java.lang.String> toTsm(java.lang.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 elements (each one a vector element). The semantic of each element is testbed-specific
Throws:
TIMTransformationException

toTsm

public void toTsm(java.lang.String testbedName,
                  java.util.Vector<java.lang.String> fileNames)
           throws TIMTransformationException
Performs the TIM-to-TSM transformation, writing the TSM to a file.

Parameters:
testbedName - the name of the testbed to be transformed
vector - of filename in which each element of the TSM model would be written
Throws:
TIMTransformationException