artifact.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef ARTIFACT_H
00013 #define ARTIFACT_H
00014
00015 #include "umlcanvasobject.h"
00016
00017 class IDChangeLog;
00018
00030 class UMLArtifact : public UMLCanvasObject {
00031 Q_OBJECT
00032 public:
00033
00037 enum Draw_Type {
00038 defaultDraw,
00039 file,
00040 library,
00041 table
00042 };
00043
00050 explicit UMLArtifact(const QString & Name = "", Uml::IDType id = Uml::id_None);
00051
00055 virtual ~UMLArtifact();
00056
00060 virtual void init();
00061
00065 virtual UMLObject* clone() const;
00066
00071 void saveToXMI( QDomDocument & qDoc, QDomElement & qElement );
00072
00076 void setDrawAsType(Draw_Type type);
00077
00081 Draw_Type getDrawAsType();
00082
00083 protected:
00088 bool load( QDomElement & element );
00089
00090 private:
00095 Draw_Type m_drawAsType;
00096 };
00097
00098 #endif
This file is part of the documentation for umbrello Version 3.1.0.