Package cruise.umple.compiler
Class CodeAnalysisGenerator
java.lang.Object
cruise.umple.compiler.CodeGeneratorWithSubptions
cruise.umple.compiler.CodeAnalysisGenerator
- All Implemented Interfaces:
CodeGenerator
public class CodeAnalysisGenerator extends CodeGeneratorWithSubptions
-
Constructor Summary
Constructors Constructor Description CodeAnalysisGenerator()
-
Method Summary
Modifier and Type Method Description void
delete()
void
generate()
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.HtmlDocument
getDoc()
UmpleModel
getModel()
Contains various aspects from an Umple file (.ump), such as classes, attributes, associations and methods.java.lang.String
getOutput()
boolean
setDoc(HtmlDocument aDoc)
boolean
setModel(UmpleModel aModel)
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.boolean
setOutput(java.lang.String aOutput)
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.java.lang.String
toString()
void
writeModel()
Output the metrics to a fileMethods inherited from class cruise.umple.compiler.CodeGeneratorWithSubptions
addSuboption, getSuboption, getSuboptions, getSuboptionValue, hasSuboption, hasSuboptions, indexOfSuboption, numberOfSuboptions, postpare, prepare, removeSuboption, setSuboption
-
Constructor Details
-
CodeAnalysisGenerator
public CodeAnalysisGenerator()
-
-
Method Details
-
setModel
Description copied from class:CodeGeneratorWithSubptions
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
setModel
in interfaceCodeGenerator
- Overrides:
setModel
in classCodeGeneratorWithSubptions
-
setOutput
public boolean setOutput(java.lang.String aOutput)Description copied from class:CodeGeneratorWithSubptions
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
setOutput
in interfaceCodeGenerator
- Overrides:
setOutput
in classCodeGeneratorWithSubptions
-
setDoc
-
getModel
Contains various aspects from an Umple file (.ump), such as classes, attributes, associations and methods. Generated output is based off of what's contained in here. -
getOutput
public java.lang.String getOutput() -
getDoc
-
delete
public void delete()- Overrides:
delete
in classCodeGeneratorWithSubptions
-
generate
public void generate()Description copied from class:CodeGeneratorWithSubptions
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
generate
in interfaceCodeGenerator
- Overrides:
generate
in classCodeGeneratorWithSubptions
-
writeModel
public void writeModel()Output the metrics to a file -
toString
public java.lang.String toString()- Overrides:
toString
in classCodeGeneratorWithSubptions
-