umbrello: umbrello/codegenerators/java/javacodegenerationpolicy.h Source File

umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

javacodegenerationpolicy.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov> *
8 * copyright (C) 2003-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef JAVACODEGENERATIONPOLICY_H
13 #define JAVACODEGENERATIONPOLICY_H
14
15 #include "codegenpolicyext.h"
16 #include "codegenerationpolicy.h"
17
18 #include <QString>
19
20 class CodeGenerationPolicyPage;
21
22 class JavaCodeGenerationPolicy : public CodeGenPolicyExt
23 {
24 Q_OBJECT
25 public:
26
27 //JavaCodeGenerationPolicy(CodeGenerationPolicy * defaults = 0);
28 JavaCodeGenerationPolicy();
29
30 virtual ~JavaCodeGenerationPolicy();
31
32 void setAutoGenerateAttribAccessors(bool var);
33 bool getAutoGenerateAttribAccessors();
34
35 void setAutoGenerateAssocAccessors(bool var);
36 bool getAutoGenerateAssocAccessors();
37
38 virtual void setDefaults(CodeGenPolicyExt * defaults, bool emitUpdateSignal = true);
39 virtual void setDefaults(bool emitUpdateSignal = true);
40
41 CodeGenerationPolicyPage * createPage (QWidget *parent = 0, const char * name = 0);
42
43 private:
44
45 CodeGenerationPolicy *m_commonPolicy;
46
47 void init();
48 };
49
50 #endif // JAVACODEGENERATIONPOLICY_H
CodeGenPolicyExt
Definition: codegenpolicyext.h:28
CodeGenerationPolicyPage
Definition: codegenerationpolicypage.h:31
CodeGenerationPolicy
Definition: codegenerationpolicy.h:30
JavaCodeGenerationPolicy
Definition: javacodegenerationpolicy.h:23
JavaCodeGenerationPolicy::setAutoGenerateAttribAccessors
void setAutoGenerateAttribAccessors(bool var)
Definition: javacodegenerationpolicy.cpp:55
JavaCodeGenerationPolicy::getAutoGenerateAttribAccessors
bool getAutoGenerateAttribAccessors()
Definition: javacodegenerationpolicy.cpp:75
JavaCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Definition: javacodegenerationpolicy.cpp:65
JavaCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Definition: javacodegenerationpolicy.cpp:84
JavaCodeGenerationPolicy::setDefaults
virtual void setDefaults(CodeGenPolicyExt *defaults, bool emitUpdateSignal=true)
Definition: javacodegenerationpolicy.cpp:94
JavaCodeGenerationPolicy::~JavaCodeGenerationPolicy
virtual ~JavaCodeGenerationPolicy()
Definition: javacodegenerationpolicy.cpp:47
JavaCodeGenerationPolicy::JavaCodeGenerationPolicy
JavaCodeGenerationPolicy()
Definition: javacodegenerationpolicy.cpp:37
JavaCodeGenerationPolicy::init
void init()
Definition: javacodegenerationpolicy.cpp:162
JavaCodeGenerationPolicy::createPage
CodeGenerationPolicyPage * createPage(QWidget *parent=0, const char *name=0)
Definition: javacodegenerationpolicy.cpp:154
JavaCodeGenerationPolicy::m_commonPolicy
CodeGenerationPolicy * m_commonPolicy
Definition: javacodegenerationpolicy.h:45
codegenerationpolicy.h
codegenpolicyext.h