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

umbrello 25.04.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 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov>
5 SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef JAVACODECLASSFIELD_H
9#define JAVACODECLASSFIELD_H
10
11#include "codeclassfield.h"
12
13#include <QString>
14
15class ClassifierCodeDocument;
16
17 class JavaCodeClassField : public CodeClassField
18{
19 Q_OBJECT
20public:
21
25 JavaCodeClassField (ClassifierCodeDocument * parentDoc, UMLRole * role);
26 JavaCodeClassField (ClassifierCodeDocument * parentDoc, UMLAttribute * attrib);
27
31 virtual ~JavaCodeClassField ();
32
33 QString getFieldType();
34 QString getFieldName();
35 QString getInitialValue();
36
37 QString getTypeName ();
38protected:
39
40private:
41
42 // void initDeclCodeBlock ();
43
44};
45
46#endif // JAVACODECLASSFIELD_H
ClassifierCodeDocument
Definition classifiercodedocument.h:29
CodeClassField::CodeClassField
CodeClassField(ClassifierCodeDocument *parentDoc, UMLAttribute *attrib)
Definition codeclassfield.cpp:39
JavaCodeClassField::getInitialValue
QString getInitialValue()
Definition javacodeclassfield.cpp:55
JavaCodeClassField::~JavaCodeClassField
virtual ~JavaCodeClassField()
Definition javacodeclassfield.cpp:32
JavaCodeClassField::JavaCodeClassField
JavaCodeClassField(ClassifierCodeDocument *parentDoc, UMLRole *role)
Definition javacodeclassfield.cpp:22
JavaCodeClassField::getFieldName
QString getFieldName()
Definition javacodeclassfield.cpp:36
JavaCodeClassField::getTypeName
QString getTypeName()
Definition javacodeclassfield.cpp:79
JavaCodeClassField::getFieldType
QString getFieldType()
UMLAttribute
Sets up attribute information.
Definition attribute.h:23
UMLRole
Definition umlrole.h:20
codeclassfield.h