00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
#ifndef UML_EXPRESSION_HPP
00026
#define UML_EXPRESSION_HPP
00027
00028
#include <OMF/ModelObject.hpp>
00029
00030
#include <UML/UMLPackage.hpp>
00031
#include <UML/Name.hpp>
00032
00033
namespace UML
00034 {
00035
00036
class Expression;
00037
class ExpressionImpl;
00038
00039 class Expression :
virtual public OMF::ModelObject
00040 {
00041
public:
00042 typedef OMF::BasicClass<ExpressionImpl> Proxy;
00043
00044
Expression();
00045
virtual ~Expression();
00046
00047
const Name &
language() const;
00048
void setLanguage(const
Name &value);
00049
void clearLanguage();
00050
00051 const OMF::String &body() const;
00052
void setBody(const OMF::String &value);
00053
void clearBody();
00054
00055 private:
00056
Name _language;
00057 OMF::String _body;
00058 };
00059
00060
00061 struct
ExpressionImpl : virtual public UML::
Expression
00062 {
00063 ExpressionImpl() :
00064 OMF::ModelObject(
00065
"UML.Expression",
00066 &Expression::Proxy::instance(),
00067 &
UMLPackage::instance()),
00068 Expression()
00069 {}
00070
00071 virtual ~
ExpressionImpl()
00072 {}
00073 };
00074 }
00075
00076
#endif