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()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • setModel

      public boolean setModel​(UmpleModel aModel)
      Specified by:
      setModel in interface CodeGenerator
    • setOutput

      public boolean setOutput​(java.lang.String aOutput)
      Specified by:
      setOutput in interface CodeGenerator
    • setDoc

      public boolean setDoc​(HtmlDocument aDoc)
    • getModel

      public UmpleModel getModel()
    • getOutput

      public java.lang.String getOutput()
    • getDoc

      public HtmlDocument getDoc()
    • delete

      public void delete()
    • generate

      public void generate()
      Specified by:
      generate in interface CodeGenerator
    • 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 interface CodeGenerator
    • 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 interface CodeGenerator
    • 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 interface CodeGenerator
    • 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 interface CodeGenerator
    • 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 interface CodeGenerator
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object