ch.sahits.codegen.wizards
Class GeneralCodegenUtilities

java.lang.Object
  extended by ch.sahits.codegen.wizards.GeneralCodegenUtilities

public final class GeneralCodegenUtilities
extends java.lang.Object

This class provides some utilities that are used for the general artifact code generation. This class is neccessairy because of hierarchy and UI separation prohibit, that these utilities are placed in a common super class

Since:
2.1.0
Author:
Andi Hotz, Sahits GmbH

Constructor Summary
GeneralCodegenUtilities()
           
 
Method Summary
 boolean isDBAccessNeeded(java.lang.String gen)
          Check whether the generator class or the Reference implementation implements the interface IDBAccess
 boolean isJetemplate(java.lang.String gen)
          Check if the generator element is a JETemplate or a generator class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralCodegenUtilities

public GeneralCodegenUtilities()
Method Detail

isDBAccessNeeded

public boolean isDBAccessNeeded(java.lang.String gen)
Check whether the generator class or the Reference implementation implements the interface IDBAccess

Parameters:
gen - generator that is selected
Returns:
true if database access is needed
Throws:
java.lang.ClassNotFoundException - Class could not be loaded

isJetemplate

public boolean isJetemplate(java.lang.String gen)
Check if the generator element is a JETemplate or a generator class

Parameters:
gen - generator that is selected
Returns:
true if it is a jetemplate