Class TIMTransformation
java.lang.Object
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
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 |
TIMTransformation
public TIMTransformation()
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 transformedvector
- of filename in which each element of the TSM model would be written
- Throws:
TIMTransformationException