org.eclipse.ocl.examples.codegen.common
Interface CodeGenHelper

All Known Implementing Classes:
JavaGenModelCodeGenHelper

public interface CodeGenHelper


Method Summary
 java.lang.String getCopyright(java.lang.String indentation)
          Return a copyright notice using indentation to indent intermediate lines.
 org.eclipse.emf.codegen.ecore.genmodel.GenPackage getGenPackage(Type type)
          Return the GenPackage for a type.
 LibraryOperation loadClass(ExpressionInOCL query, java.io.File targetFolder, java.lang.String packageName, java.lang.String className, boolean saveSource)
          Return the <%...%> escaped name for a type.
 

Method Detail

getCopyright

@NonNull
java.lang.String getCopyright(@NonNull
                                      java.lang.String indentation)
Return a copyright notice using indentation to indent intermediate lines.


loadClass

LibraryOperation loadClass(ExpressionInOCL query,
                           java.io.File targetFolder,
                           java.lang.String packageName,
                           java.lang.String className,
                           boolean saveSource)
                           throws java.lang.Exception
Return the <%...%> escaped name for a type.

Throws:
java.lang.Exception

getGenPackage

@NonNull
org.eclipse.emf.codegen.ecore.genmodel.GenPackage getGenPackage(@NonNull
                                                                        Type type)
Return the GenPackage for a type.