org.gcube.datatransformation.datatransformationlibrary.model
Class Transformer

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.model.Transformer

public class Transformer
extends Object

Author:
Dimitris Katris, NKUA

Transformer references to a Program class and also contains info about the software where the program is located.


Constructor Summary
Transformer()
           
 
Method Summary
protected  void fromDOM(Element transformer)
           
 ArrayList<Parameter> getGlobalProgramParams()
          Returns the global program parameters.
 String getProgramClass()
          Returns the class of the program.
 ArrayList<SoftwarePackage> getSoftwarePackages()
          Returns the software packages of the program.
 void setGlobalProgramParams(ArrayList<Parameter> programParams)
          Sets the global program parameters.
 void setProgramClass(String programClass)
          Sets the class of the program.
 void setSoftwarePackages(ArrayList<SoftwarePackage> softwarePackages)
          Sets the software packages of the program.
protected  void toDOM(Element tp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transformer

public Transformer()
Method Detail

getSoftwarePackages

public ArrayList<SoftwarePackage> getSoftwarePackages()
Returns the software packages of the program.

Returns:
the software packages of the program.

setSoftwarePackages

public void setSoftwarePackages(ArrayList<SoftwarePackage> softwarePackages)
Sets the software packages of the program.

Parameters:
softwarePackages - the software packages of the program.

getProgramClass

public String getProgramClass()
Returns the class of the program.

Returns:
the class of the program.

setProgramClass

public void setProgramClass(String programClass)
Sets the class of the program.

Parameters:
programClass - the class of the program.

getGlobalProgramParams

public ArrayList<Parameter> getGlobalProgramParams()
Returns the global program parameters.

Returns:
the global program parameters.

setGlobalProgramParams

public void setGlobalProgramParams(ArrayList<Parameter> programParams)
Sets the global program parameters.

Parameters:
programParams - the global program parameters.

fromDOM

protected void fromDOM(Element transformer)
                throws Exception
Throws:
Exception

toDOM

protected void toDOM(Element tp)


Copyright © 2013. All Rights Reserved.