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

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

javacodegenerationpolicy.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov>
5 SPDX-FileCopyrightText: 2003-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef JAVACODEGENERATIONPOLICY_H
9#define JAVACODEGENERATIONPOLICY_H
10
11#include "codegenpolicyext.h"
12#include "codegenerationpolicy.h"
13
14#include <QString>
15
16 class CodeGenerationPolicyPage;
17
18 class JavaCodeGenerationPolicy : public CodeGenPolicyExt
19{
20 Q_OBJECT
21 public:
22
23 //JavaCodeGenerationPolicy(CodeGenerationPolicy *defaults = nullptr);
24 JavaCodeGenerationPolicy();
25
26 virtual ~JavaCodeGenerationPolicy();
27
28 void setAutoGenerateAttribAccessors(bool var);
29 bool getAutoGenerateAttribAccessors();
30
31 void setAutoGenerateAssocAccessors(bool var);
32 bool getAutoGenerateAssocAccessors();
33
34 virtual void setDefaults(CodeGenPolicyExt * defaults, bool emitUpdateSignal = true);
35 virtual void setDefaults(bool emitUpdateSignal = true);
36
37 CodeGenerationPolicyPage *createPage (QWidget *parent = nullptr, const char *name = nullptr);
38
39 private:
40
41 CodeGenerationPolicy *m_commonPolicy;
42
43 void init();
44};
45
46#endif // JAVACODEGENERATIONPOLICY_H
CodeGenPolicyExt
Definition: codegenpolicyext.h:23
CodeGenerationPolicy
Definition: codegenerationpolicy.h:26
CodeGenerationPolicyPage
Definition: codegenerationpolicypage.h:17
JavaCodeGenerationPolicy
Definition: javacodegenerationpolicy.h:19
JavaCodeGenerationPolicy::setAutoGenerateAttribAccessors
void setAutoGenerateAttribAccessors(bool var)
Definition: javacodegenerationpolicy.cpp:51
JavaCodeGenerationPolicy::getAutoGenerateAttribAccessors
bool getAutoGenerateAttribAccessors()
Definition: javacodegenerationpolicy.cpp:71
JavaCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Definition: javacodegenerationpolicy.cpp:61
JavaCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Definition: javacodegenerationpolicy.cpp:80
JavaCodeGenerationPolicy::setDefaults
virtual void setDefaults(CodeGenPolicyExt *defaults, bool emitUpdateSignal=true)
Definition: javacodegenerationpolicy.cpp:90
JavaCodeGenerationPolicy::~JavaCodeGenerationPolicy
virtual ~JavaCodeGenerationPolicy()
Definition: javacodegenerationpolicy.cpp:43
JavaCodeGenerationPolicy::JavaCodeGenerationPolicy
JavaCodeGenerationPolicy()
Definition: javacodegenerationpolicy.cpp:33
JavaCodeGenerationPolicy::init
void init()
Definition: javacodegenerationpolicy.cpp:158
JavaCodeGenerationPolicy::createPage
CodeGenerationPolicyPage * createPage(QWidget *parent=nullptr, const char *name=nullptr)
Definition: javacodegenerationpolicy.cpp:150
JavaCodeGenerationPolicy::m_commonPolicy
CodeGenerationPolicy * m_commonPolicy
Definition: javacodegenerationpolicy.h:41
codegenerationpolicy.h
codegenpolicyext.h