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

entityconstraint.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) 2002-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef ENTITYCONSTRAINT_H
12 #define ENTITYCONSTRAINT_H
13
14 #include "basictypes.h"
15 #include "classifierlistitem.h"
16 #include "umlclassifierlist.h"
17
26 class UMLEntityConstraint : public UMLClassifierListItem
27 {
28 Q_OBJECT
29
30 public:
31 UMLEntityConstraint(UMLObject *parent, const QString& name,
32 Uml::ID::Type id = Uml::ID::None);
33
34 explicit UMLEntityConstraint(UMLObject *parent);
35
36 bool operator==(const UMLEntityConstraint &rhs) const;
37
38 virtual ~UMLEntityConstraint();
39
40 virtual void copyInto(UMLObject *lhs) const;
41
45 virtual UMLObject* clone() const = 0;
46
47 };
48
49 #endif
UMLObject::ot_EntityConstraint
@ ot_EntityConstraint
Definition: umlobject.h:104
UMLEntityConstraint::clone
virtual UMLObject * clone() const =0
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLEntityConstraint::copyInto
virtual void copyInto(UMLObject *lhs) const
Definition: entityconstraint.cpp:70
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:353
UMLEntityConstraint
Sets up entity constraint information.
Definition: entityconstraint.h:27
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
entityconstraint.h
UMLObject::m_BaseType
ObjectType m_BaseType
objects type
Definition: umlobject.h:276
classifierlistitem.h
UMLEntityConstraint::UMLEntityConstraint
UMLEntityConstraint(UMLObject *parent, const QString &name, Uml::ID::Type id=Uml::ID::None)
Definition: entityconstraint.cpp:28
umlclassifierlist.h
basictypes.h
uml.h
umlobject.h
UMLClassifierListItem
A base class for classifier list items (e.g. attributes)
Definition: classifierlistitem.h:30
umldoc.h
UMLEntityConstraint::~UMLEntityConstraint
virtual ~UMLEntityConstraint()
Definition: entityconstraint.cpp:62
UMLClassifierListItem::copyInto
virtual void copyInto(UMLObject *lhs) const
Definition: classifierlistitem.cpp:75
UMLEntityConstraint::operator==
bool operator==(const UMLEntityConstraint &rhs) const
Definition: entityconstraint.cpp:48