Class FWSimComponentCodeGen

java.lang.Object
net.simplace.sim.model.FWSimComponentCodeGen

public class FWSimComponentCodeGen extends Object
Author:
Andreas Enders
  • Constructor Details

    • FWSimComponentCodeGen

      public FWSimComponentCodeGen(File aJavaSourcePath) throws IOException
      Parameters:
      aJavaSourcePath -
      Throws:
      IOException
  • Method Details

    • generateCodeCSV

      public String generateCodeCSV(Vector<String> aConfigStrings)
      Parameters:
      aConfigStrings -
      Returns:
      the content of the class
    • generateCodeSimpleSimComponent

      public String generateCodeSimpleSimComponent(File aSolutionFile) throws IOException
      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

      public String generateCodeXML(org.jdom2.Element aConfigElement)
      Parameters:
      aConfigElement -
      Returns:
      the content of the class
    • createSimVariable

      public static 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) #IMPLIED
      Parameters:
      aVarElement -
      aFWSimFieldContainer -
      Returns:
      the new created Variable
    • writeCodeToFile

      public String writeCodeToFile(String aContentOfFile)
      Parameters:
      aContentOfFile -
      Returns:
    • main

      public static void main(String[] aStringArray)
      Parameters:
      aStringArray -