public class SourceGenerator extends Object
| Constructor and Description |
|---|
SourceGenerator()
Deprecated.
Creates a new instance of SourceGenerator
|
| Modifier and Type | Method and Description |
|---|---|
static int |
findLineBreak(String s,
int start,
int maxLength)
Deprecated.
Returns a suitable location for a line break (e.g.
|
static String |
getRIMDataTypePackage()
Deprecated.
|
static String |
getRIMPackage()
Deprecated.
|
static void |
main(String[] args)
Deprecated.
|
static String |
makeGetterSignature(AttributeDefinition att)
Deprecated.
Returns a public method signature for the getter of a given attribute (not incl.
|
static String |
makeJavaDocComment(String description,
int indent)
Deprecated.
|
static String |
makeSetterSignature(AttributeDefinition att)
Deprecated.
Returns a public method signature for the setter of a given attribute (not incl.
|
static void |
writeDataTypeCode(File dtDir,
String dataType,
Connection conn)
Deprecated.
|
static void |
writeEJBCode(File baseDirectory,
Connection conn)
Deprecated.
|
static void |
writeEJBCode(File rimDir,
String RIMClass,
Connection conn)
Deprecated.
Writes source code for an EJB representation of the given RIM class to
the given directory.
|
public SourceGenerator()
public static void writeEJBCode(File baseDirectory, Connection conn) throws Exception
Exceptionpublic static void writeEJBCode(File rimDir, String RIMClass, Connection conn) throws Exception
Exceptionpublic static void writeDataTypeCode(File dtDir, String dataType, Connection conn) throws Exception
Exceptionpublic static String makeSetterSignature(AttributeDefinition att)
public static String makeGetterSignature(AttributeDefinition att)
public static String getRIMPackage()
public static String getRIMDataTypePackage()
public static String makeJavaDocComment(String description, int indent)
public static int findLineBreak(String s, int start, int maxLength)
Copyright © 2001-2012 University Health Network. All Rights Reserved.