#include <javacodegenerator.h>
◆ JavaCodeGenerator()
      
        
          | JavaCodeGenerator::JavaCodeGenerator | ( |  | ) |  | 
      
 
 
◆ ~JavaCodeGenerator()
  
  | 
        
          | JavaCodeGenerator::~JavaCodeGenerator | ( |  | ) |  |  | virtual | 
 
 
◆ defaultDatatypes()
  
  | 
        
          | QStringList JavaCodeGenerator::defaultDatatypes | ( |  | ) | const |  | virtual | 
 
Adds Java's primitives as datatypes. 
- Returns
- a string list of Java primitives 
Reimplemented from CodeGenerator.
 
 
◆ fixTypeName()
  
  | 
        
          | QString JavaCodeGenerator::fixTypeName | ( | const QString & | string | ) |  |  | static | 
 
IF the type is "string" we need to declare it as the Java Object "String" (there is no string primitive in Java). Same thing again for "bool" to "boolean". 
 
 
◆ getAutoGenerateAssocAccessors()
      
        
          | bool JavaCodeGenerator::getAutoGenerateAssocAccessors | ( |  | ) |  | 
      
 
 
◆ getAutoGenerateAttribAccessors()
      
        
          | bool JavaCodeGenerator::getAutoGenerateAttribAccessors | ( |  | ) |  | 
      
 
 
◆ getCodeViewerDialog()
Get the editing dialog for this code document. In the Java version, we make the ANT build file also available. 
Reimplemented from AdvancedCodeGenerator.
 
 
◆ getCreateANTBuildFile()
      
        
          | bool JavaCodeGenerator::getCreateANTBuildFile | ( |  | ) |  | 
      
 
Get the value of m_createANTBuildFile 
- Returns
- the value of m_createANTBuildFile 
 
 
◆ getJavaPolicy()
Utility function for getting the java code generation policy. 
 
 
◆ getListFieldClassName()
  
  | 
        
          | QString JavaCodeGenerator::getListFieldClassName | ( |  | ) |  |  | static | 
 
Get the list variable class name to use. For Java, we have set this to "Vector". 
 
 
◆ language()
Return "Java". 
- Returns
- programming language identifier 
Implements CodeGenerator.
 
 
◆ newANTCodeDocument()
Create the codeblock that will represent the class declaration for this classifier.
Create ANT code document. 
- Returns
- JavaANTCodeDocument object 
 
 
◆ newClassifierCodeDocument()
Create a classifier code document. 
- Parameters
- 
  
    | classifier | the UML classifier |  
 
- Returns
- the created classifier code document 
Implements AdvancedCodeGenerator.
 
 
◆ reservedKeywords()
  
  | 
        
          | QStringList JavaCodeGenerator::reservedKeywords | ( |  | ) | const |  | virtual | 
 
Get list of reserved keywords. 
- Returns
- the string list of reserved keywords for Java 
Reimplemented from CodeGenerator.
 
 
◆ setCreateANTBuildFile()
      
        
          | void JavaCodeGenerator::setCreateANTBuildFile | ( | bool | buildIt | ) |  | 
      
 
Set the value of m_createANTBuildFile 
- Parameters
- 
  
    | buildIt | the new value of m_createANTBuildFile |  
 
 
 
◆ m_createANTBuildFile
  
  | 
        
          | bool JavaCodeGenerator::m_createANTBuildFile |  | private | 
 
 
The documentation for this class was generated from the following files: