Class JavaCodeFactory

java.lang.Object
org.tentackle.maven.plugin.wizard.pdodata.JavaCodeFactory

public class JavaCodeFactory extends Object
Factory generating Java code that creates PDOs.
  • Field Details

    • NOTEST_STEREOTYPE

      public static final String NOTEST_STEREOTYPE
      Stereotype for attributes and relations to skip test code generation.
      See Also:
  • Method Details

    • generateCode

      public static String generateCode(Map<String,Boolean> configuration, DataObject... dataObjects)
      Generates code from a data object template.
      Parameters:
      configuration - optional configuration map
      dataObjects - the data objects
      Returns:
      the Java code
    • generate

      public String generate()
      Generates the Java code.
      Returns:
      the code