public class MetaGenUtility extends Object
| Constructor and Description |
|---|
MetaGenUtility() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dumpIterable(String dmwdir,
String basePackage,
String typeImport,
String typeName,
String genericArgs,
String fileHeader,
PrintStream progress) |
static void |
dumpIterableREF(String dmwdir,
String basePackage,
String className,
boolean extended,
String extendedPackage,
String fileHeader,
PrintStream progress)
This method should only be called for named object types.
|
public static void dumpIterable(String dmwdir, String basePackage, String typeImport, String typeName, String genericArgs, String fileHeader, PrintStream progress) throws IOException
dmwdir - the DMW output directorybasePackage - the base package, in this case the meta schematypeImport - import for the type we're iteratingtypeName - just the type namegenericArgs - any generic arguments associated with the type definitionfileHeader - the standard LGPL headerprogress - place to indicate progressIOExceptionpublic static void dumpIterableREF(String dmwdir, String basePackage, String className, boolean extended, String extendedPackage, String fileHeader, PrintStream progress) throws IOException
dmwdir - The output directory.basePackage - The base package for the generated code.className - the for which we're generating the iterator.extended - flag indicating if the calss is extended.extendedPackage - the package if the class is extended.fileHeader - the header to be dumped on the file.progress - the progress reporting stream.IOExceptionCopyright © 2023. All rights reserved.