Package cruise.umple.compiler
Class MermaidGenerator
java.lang.Object
cruise.umple.compiler.CodeGeneratorWithSubptions
cruise.umple.compiler.MermaidGenerator
- All Implemented Interfaces:
CodeGenerator
public class MermaidGenerator extends CodeGeneratorWithSubptions
-
Constructor Summary
Constructors Constructor Description MermaidGenerator() -
Method Summary
Modifier and Type Method Description voiddelete()voidgenerate()Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.UmpleModelgetModel()java.lang.StringgetOutput()booleansetModel(UmpleModel aModel)Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.booleansetOutput(java.lang.String aOutput)Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.java.lang.StringtoString()Methods inherited from class cruise.umple.compiler.CodeGeneratorWithSubptions
addSuboption, getSuboption, getSuboptions, getSuboptionValue, hasSuboption, hasSuboptions, indexOfSuboption, numberOfSuboptions, postpare, prepare, removeSuboption, setSuboption
-
Constructor Details
-
MermaidGenerator
public MermaidGenerator()
-
-
Method Details
-
setModel
Description copied from class:CodeGeneratorWithSubptionsAllows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
setModelin interfaceCodeGenerator- Overrides:
setModelin classCodeGeneratorWithSubptions
-
setOutput
public boolean setOutput(java.lang.String aOutput)Description copied from class:CodeGeneratorWithSubptionsAllows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
setOutputin interfaceCodeGenerator- Overrides:
setOutputin classCodeGeneratorWithSubptions
-
getModel
-
getOutput
public java.lang.String getOutput() -
delete
public void delete()- Overrides:
deletein classCodeGeneratorWithSubptions
-
generate
public void generate()Description copied from class:CodeGeneratorWithSubptionsAllows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
generatein interfaceCodeGenerator- Overrides:
generatein classCodeGeneratorWithSubptions
-
toString
public java.lang.String toString()- Overrides:
toStringin classCodeGeneratorWithSubptions
-