nl.tudelft.goal.EIS2Java.translation
Interface Parameter2Java<T>

Package class diagram package Parameter2Java
Type Parameters:
T - The type of the Java object to translate.

public interface Parameter2Java<T>

Interface for translating a Parameter into a Java object of Type T.

Author:
Lennard de Rijk

Method Summary
 T translate(eis.iilang.Parameter parameter)
          Translates the Parameter into an object of type T.
 Class<T> translatesTo()
           
 

Method Detail

translate

T translate(eis.iilang.Parameter parameter)
            throws TranslationException
Translates the Parameter into an object of type T.

Type Parameters:
T - The type of object to translate the parameter to.
Parameters:
parameter - The parameter to translate.
Returns:
The Parameter that represents a translated object.
Throws:
TranslationException - if the translation can not be made.

translatesTo

Class<T> translatesTo()
Returns:
The class that is translated to.


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.