Bus

org.topcased.service.transformation
Class TransformationHelper

java.lang.Object
  extended by org.topcased.service.transformation.TransformationHelper

public class TransformationHelper
extends java.lang.Object

Helper for getting information about all the available Topcased transformation.
This class will be called :


Method Summary
static TransformationHelper getInstance()
          Returns the shared instance
 java.util.Map<java.lang.String,TransformationInfo> getTransfoInfoById()
          Gets information by id about all registered (available) Topcased transformations.
 TransformationInfo getTransfoInfoById(java.lang.String transfoId)
          Gets information about a given transformation id.
 java.util.Map<java.lang.String,TransformationInfo> getTransfoInfoByName()
          Gets information by name about all registered (available) Topcased transformations.
 TransformationInfo getTransfoInfoByName(java.lang.String transfoName)
          Gets information about a given transformation name.
static boolean isAlreadyLoadedInEMFRegistry(java.lang.String metamodelURI)
          Searchs into the EMF registry the metamodel given in parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TransformationHelper getInstance()
Returns the shared instance

Returns:
the singleton

getTransfoInfoById

public TransformationInfo getTransfoInfoById(java.lang.String transfoId)
Gets information about a given transformation id.

Parameters:
transfoId - the full identifier of a transformation
Returns:
Information object about the given transformation

getTransfoInfoById

public java.util.Map<java.lang.String,TransformationInfo> getTransfoInfoById()
Gets information by id about all registered (available) Topcased transformations.

Returns:
The map with all information of each registered Topcased transformation

getTransfoInfoByName

public TransformationInfo getTransfoInfoByName(java.lang.String transfoName)
Gets information about a given transformation name.

Parameters:
transfoName - the full name of a transformation
Returns:
Information object about the given transformation

getTransfoInfoByName

public java.util.Map<java.lang.String,TransformationInfo> getTransfoInfoByName()
Gets information by name about all registered (available) Topcased transformations.

Returns:
The map with all information of each registered Topcased transformation

isAlreadyLoadedInEMFRegistry

public static boolean isAlreadyLoadedInEMFRegistry(java.lang.String metamodelURI)
Searchs into the EMF registry the metamodel given in parameter.

Parameters:
metamodelURI - The URI of the metamodel to consult into the EMF registry
Returns:
true if the metamodel was found, false otherwise.

Bus

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.