umbrello 26.07.70-c53146a 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

umlentityconstraint.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 "umlclassifierlistitem.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: umlclassifierlistitem.h:25
UMLEntityConstraint
Sets up entity constraint information.
Definition: umlentityconstraint.h:22
UMLEntityConstraint::clone
virtual UMLObject * clone() const =0
UMLEntityConstraint::operator==
bool operator==(const UMLEntityConstraint &rhs) const
Definition: umlentityconstraint.cpp:42
UMLEntityConstraint::~UMLEntityConstraint
virtual ~UMLEntityConstraint()
Definition: umlentityconstraint.cpp:56
UMLEntityConstraint::copyInto
virtual void copyInto(UMLObject *lhs) const
Definition: umlentityconstraint.cpp:64
UMLObject
The base class for UML objects.
Definition: umlobject.h:70
UMLObject::name
QString name() const
Definition: umlobject.cpp:207
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
umlclassifierlistitem.h