Package cruise.umple.compiler
Class PlainRequirementsDocGenerator
java.lang.Object
cruise.umple.compiler.PlainRequirementsDocGenerator
- All Implemented Interfaces:
CodeGenerator
public class PlainRequirementsDocGenerator extends java.lang.Object implements CodeGenerator
-
Constructor Summary
Constructors Constructor Description PlainRequirementsDocGenerator()
-
Method Summary
Modifier and Type Method Description void
delete()
void
generate()
HtmlDocument
getDoc()
UmpleModel
getModel()
java.lang.String
getOutput()
double
getSuboptionValue(java.lang.String subopt, java.lang.Double defaultVal)
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.boolean
hasSuboption(java.lang.String subopt)
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.void
postpare()
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.void
prepare()
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.boolean
setDoc(HtmlDocument aDoc)
boolean
setModel(UmpleModel aModel)
boolean
setOutput(java.lang.String aOutput)
boolean
setSuboption(java.lang.String subopt)
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.java.lang.String
toString()
void
writeModel()
-
Constructor Details
-
PlainRequirementsDocGenerator
public PlainRequirementsDocGenerator()
-
-
Method Details
-
setModel
- Specified by:
setModel
in interfaceCodeGenerator
-
setOutput
public boolean setOutput(java.lang.String aOutput)- Specified by:
setOutput
in interfaceCodeGenerator
-
setDoc
-
getModel
-
getOutput
public java.lang.String getOutput() -
getDoc
-
delete
public void delete() -
generate
public void generate()- Specified by:
generate
in interfaceCodeGenerator
-
writeModel
public void writeModel() -
setSuboption
public boolean setSuboption(java.lang.String subopt)Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
setSuboption
in interfaceCodeGenerator
-
hasSuboption
public boolean hasSuboption(java.lang.String subopt)Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
hasSuboption
in interfaceCodeGenerator
-
getSuboptionValue
public double getSuboptionValue(java.lang.String subopt, java.lang.Double defaultVal)Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
getSuboptionValue
in interfaceCodeGenerator
-
prepare
public void prepare()Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
prepare
in interfaceCodeGenerator
-
postpare
public void postpare()Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
postpare
in interfaceCodeGenerator
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-