Class VNUMLTransformation

java.lang.Object
  |
  +--TIMTransformation
        |
        +--VNUMLTransformation

public class VNUMLTransformation
extends TIMTransformation

This class implements the TIM-to-VNUML transformations.

Author:
Fermin Galan Marquez

Constructor Summary
VNUMLTransformation(javax.wbem.client.CIMClient cc, boolean initializeFromCIMOM)
          Class constructor
 
Method Summary
 String getDefaultConsole()
           
 String getDefaultExecMode()
           
 String getDefaultFilesystem()
           
 String getDefaultFilesystemType()
           
 String getDefaultKernel()
           
 String getSpecVersion()
           
 void setDefaultConsole(String defaultConsole)
           
 void setDefaultExecMode(String defaultExecMode)
           
 void setDefaultFilesystem(String defaultFilesystem)
           
 void setDefaultFilesystemType(String defaultFilesystemType)
           
 void setDefaultKernel(String defaultKernel)
           
 void setSpecVersion(String specVersion)
           
 String toTsm(String scenarioName)
          Performs the TIM-to-VNUML transformation, returning a String enclosing a VNUML-compliant XML
 
Methods inherited from class TIMTransformation
toTsm
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VNUMLTransformation

public VNUMLTransformation(javax.wbem.client.CIMClient cc,
                           boolean initializeFromCIMOM)
                    throws TIMTransformationException
Class constructor

Parameters:
cc - the (already opened) connection to the CIMOM
initializeFromCIMOM - if true, the testbed parameters are got from CIMON when initializing the transformers, instead of using default values in the code
Throws:
TIMTransformationException
Method Detail

toTsm

public String toTsm(String scenarioName)
             throws TIMTransformationException
Performs the TIM-to-VNUML transformation, returning a String enclosing a VNUML-compliant XML

Specified by:
toTsm in class TIMTransformation
Parameters:
scenarioName - the name of the scenario to be transformed
Returns:
the derived TSM model (VNUML-compliant XML)
Throws:
TIMTransformationException

getDefaultConsole

public String getDefaultConsole()

setDefaultConsole

public void setDefaultConsole(String defaultConsole)

getDefaultExecMode

public String getDefaultExecMode()

setDefaultExecMode

public void setDefaultExecMode(String defaultExecMode)

getDefaultFilesystem

public String getDefaultFilesystem()

setDefaultFilesystem

public void setDefaultFilesystem(String defaultFilesystem)

getDefaultFilesystemType

public String getDefaultFilesystemType()

setDefaultFilesystemType

public void setDefaultFilesystemType(String defaultFilesystemType)

getDefaultKernel

public String getDefaultKernel()

setDefaultKernel

public void setDefaultKernel(String defaultKernel)

getSpecVersion

public String getSpecVersion()

setSpecVersion

public void setSpecVersion(String specVersion)