diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators/rubycodeclassfield.h')
-rw-r--r-- | umbrello/umbrello/codegenerators/rubycodeclassfield.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/umbrello/umbrello/codegenerators/rubycodeclassfield.h b/umbrello/umbrello/codegenerators/rubycodeclassfield.h new file mode 100644 index 00000000..384f0b5d --- /dev/null +++ b/umbrello/umbrello/codegenerators/rubycodeclassfield.h @@ -0,0 +1,61 @@ +/*************************************************************************** + rubycodeclassfield.cpp + Derived from the Java code generator by thomas + + begin : Thur Jul 21 2005 + author : Richard Dale + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * copyright (C) 2006-2007 * + * Umbrello UML Modeller Authors <uml-devel@uml.sf.net> * + ***************************************************************************/ + +#ifndef RUBYCODECLASSFIELD_H +#define RUBYCODECLASSFIELD_H + +#include <qstring.h> + +#include "../codeclassfield.h" + +class ClassifierCodeDocument; + +class RubyCodeClassField : public CodeClassField +{ + Q_OBJECT +public: + + // Constructors/Destructors + // + + /** + * Constructors + */ + RubyCodeClassField (ClassifierCodeDocument * parentDoc, UMLRole * role); + RubyCodeClassField (ClassifierCodeDocument * parentDoc, UMLAttribute * attrib); + + /** + * Empty Destructor + */ + virtual ~RubyCodeClassField ( ); + + QString getFieldType(); + QString getFieldName(); + QString getInitialValue(); + + QString getTypeName ( ); +protected: + +private: + + // void initDeclCodeBlock (); + +}; + +#endif // RUBYCODECLASSFIELD_H |