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

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

javacodeclassfield.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) 2004-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef JAVACODECLASSFIELD_H
13 #define JAVACODECLASSFIELD_H
14
15 #include "codeclassfield.h"
16
17 #include <QString>
18
19 class ClassifierCodeDocument;
20
21 class JavaCodeClassField : public CodeClassField
22 {
23 Q_OBJECT
24 public:
25
29 JavaCodeClassField (ClassifierCodeDocument * parentDoc, UMLRole * role);
30 JavaCodeClassField (ClassifierCodeDocument * parentDoc, UMLAttribute * attrib);
31
35 virtual ~JavaCodeClassField ();
36
37 QString getFieldType();
38 QString getFieldName();
39 QString getInitialValue();
40
41 QString getTypeName ();
42 protected:
43
44 private:
45
46 // void initDeclCodeBlock ();
47
48 };
49
50 #endif // JAVACODECLASSFIELD_H
ClassifierCodeDocument
Definition: classifiercodedocument.h:33
CodeClassField
Definition: codeclassfield.h:30
JavaCodeClassField
Definition: javacodeclassfield.h:22
JavaCodeClassField::getInitialValue
QString getInitialValue()
Definition: javacodeclassfield.cpp:59
JavaCodeClassField::~JavaCodeClassField
virtual ~JavaCodeClassField()
Definition: javacodeclassfield.cpp:36
JavaCodeClassField::JavaCodeClassField
JavaCodeClassField(ClassifierCodeDocument *parentDoc, UMLRole *role)
Definition: javacodeclassfield.cpp:26
JavaCodeClassField::getFieldName
QString getFieldName()
Definition: javacodeclassfield.cpp:40
JavaCodeClassField::getTypeName
QString getTypeName()
Definition: javacodeclassfield.cpp:83
JavaCodeClassField::getFieldType
QString getFieldType()
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
UMLRole
Definition: umlrole.h:25
codeclassfield.h