testbox.apidocs.docbox.strategy.uml2tools

Class XMIStrategy

lucee.Component
    extended by docbox.strategy.AbstractTemplateStrategy
      extended by testbox.apidocs.docbox.strategy.uml2tools.XMIStrategy

Strategy for generating the .uml file for Eclipse UML2Tools to generate diagrams from

Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init(string outputFile)
          Constructor.
    Method Summary
    private query determineProperties(struct meta, string package)
         We will make the assumption that is there is a get & set function with the same name, its a property.
    private string getOutputFile()
    void run(query qMetadata)
         run this strategy.
    private void setOutputFile(string outputFile)
     
    Methods inherited from class docbox.strategy.AbstractTemplateStrategy
    buildFunctionMetaData, buildPackageTree, buildPropertyMetaData, classExists, ensureDirectory, getFunctionQueryCache, getGenericTypes, getMetaSubQuery, getObjectName, getPackage, getPropertyMeta, getPropertyQueryCache, isAbstractClass, isPrimitive, resolveClassName, safeFunctionMeta, safeParamMeta, safePropertyMeta, setFunctionQueryCache, setPropertyQueryCache, typeExists, visitPackageTree, writeTemplate
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(string outputFile)

    Constructor

    Parameters:
    outputFile - absolute path to the output file. File should end in .uml, if it doesn' it will be added.

    Method Detail

    determineProperties

    private query determineProperties(struct meta, string package)

    We will make the assumption that is there is a get & set function with the same name, its a property

    Parameters:
    meta - the metadata for a class
    package - the current package

    getOutputFile

    private string getOutputFile()


    run

    public void run(query qMetadata)

    run this strategy

    Overrides:
    run in class docbox.strategy.AbstractTemplateStrategy
    Parameters:
    qMetadata - the meta data query

    setOutputFile

    private void setOutputFile(string outputFile)

    Parameters:
    outputFile