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

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

- File List
- File Members

entityconstraint.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef ENTITYCONSTRAINT_H
7#define ENTITYCONSTRAINT_H
8
9#include "basictypes.h"
10#include "classifierlistitem.h"
11#include "umlclassifierlist.h"
12
21 class UMLEntityConstraint : public UMLClassifierListItem
22{
23 Q_OBJECT
24
25 public:
26 UMLEntityConstraint(UMLObject *parent, const QString& name,
27 Uml::ID::Type id = Uml::ID::None);
28
29 explicit UMLEntityConstraint(UMLObject *parent);
30
31 bool operator==(const UMLEntityConstraint &rhs) const;
32
33 virtual ~UMLEntityConstraint();
34
35 virtual void copyInto(UMLObject *lhs) const;
36
40 virtual UMLObject* clone() const = 0;
41
42};
43
44#endif
basictypes.h
UMLClassifierListItem
A base class for classifier list items (e.g. attributes)
Definition classifierlistitem.h:25
UMLEntityConstraint
Sets up entity constraint information.
Definition entityconstraint.h:22
UMLEntityConstraint::clone
virtual UMLObject * clone() const =0
UMLEntityConstraint::operator==
bool operator==(const UMLEntityConstraint &rhs) const
Definition entityconstraint.cpp:43
UMLEntityConstraint::~UMLEntityConstraint
virtual ~UMLEntityConstraint()
Definition entityconstraint.cpp:57
UMLEntityConstraint::copyInto
virtual void copyInto(UMLObject *lhs) const
Definition entityconstraint.cpp:65
UMLEntityConstraint::UMLEntityConstraint
UMLEntityConstraint(UMLObject *parent, const QString &name, Uml::ID::Type id=Uml::ID::None)
Definition entityconstraint.cpp:23
UMLObject
The base class for UML objects.
Definition umlobject.h:70
UMLObject::name
QString name() const
Definition umlobject.cpp:207
classifierlistitem.h
Uml::ID::None
const Type None
special value for uninitialized ID
Definition basictypes.h:373
Uml::ID::Type
std::string Type
Definition basictypes.h:371
umlclassifierlist.h