Package net.simplace.sim.model
Class FWSimComponentCodeGen
java.lang.Object
net.simplace.sim.model.FWSimComponentCodeGen
- Author:
- Andreas Enders
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FWSimVariable<?>
createSimVariable
(org.jdom2.Element aVarElement) factory method to create a FWSimVariable (Typed) inputtype (variable|parameter) #REQUIRED parametercategory (constant|species|genotypic|soil|private) #IMPLIED variablecategory (state|rate|auxiliary) #IMPLIEDgenerateCodeAmeiXML
(org.jdom2.Element aConfigElement, File aSourcePath) generateCodeCSV
(Vector<String> aConfigStrings) generateCodeSimpleSimComponent
(File aSolutionFile) generateCodeXML
(org.jdom2.Element aConfigElement) static void
writeCodeToFile
(String aContentOfFile)
-
Constructor Details
-
FWSimComponentCodeGen
- Parameters:
aJavaSourcePath
-- Throws:
IOException
-
-
Method Details
-
generateCodeCSV
- Parameters:
aConfigStrings
-- Returns:
- the content of the class
-
generateCodeSimpleSimComponent
- Parameters:
aSolutionFile
-- Returns:
- the content of the class
- Throws:
IOException
-
generateCodeAmeiXML
public String generateCodeAmeiXML(org.jdom2.Element aConfigElement, File aSourcePath) throws IOException - Parameters:
aConfigElement
-aSourcePath
-- Returns:
- the content of the class
- Throws:
IOException
-
generateCodeXML
- Parameters:
aConfigElement
-- Returns:
- the content of the class
-
createSimVariable
factory method to create a FWSimVariable (Typed) inputtype (variable|parameter) #REQUIRED parametercategory (constant|species|genotypic|soil|private) #IMPLIED variablecategory (state|rate|auxiliary) #IMPLIED- Parameters:
aVarElement
-aFWSimFieldContainer
-- Returns:
- the new created Variable
-
writeCodeToFile
- Parameters:
aContentOfFile
-- Returns:
-
main
- Parameters:
aStringArray
-
-