Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Reception.hpp

Go to the documentation of this file.
00001 /* 00002 * Copyright (C) 2004 Andrew Sutton 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to: 00016 * 00017 * The Free Software Foundation, Inc. 00018 * 59 Temple Place, Suite 330 00019 * Boston, MA 02111-1307 USA 00020 * 00021 * Contact: 00022 * Andrew Sutton asutton@cs.kent.edu 00023 */ 00024 00025 #ifndef UML_RECEPTION_HPP 00026 #define UML_RECEPTION_HPP 00027 00028 #include <UML/BehavioralFeature.hpp> 00029 00030 namespace UML 00031 { 00032 // forward declarations 00033 class Reception; 00034 class ReceptionImpl; 00035 class Signal; 00036 00037 class Reception : virtual public UML::BehavioralFeature 00038 { 00039 public: 00040 typedef OMF::BasicClass<ReceptionImpl> Proxy; 00041 00042 Reception(); 00043 virtual ~Reception(); 00044 00045 const OMF::String &specification() const; 00046 void setSpecification(const OMF::String &value); 00047 void clearSpecification(); 00048 00049 const OMF::Boolean &isRoot() const; 00050 void setIsRoot(const OMF::Boolean &value); 00051 void clearIsRoot(); 00052 00053 const OMF::Boolean &isLeaf() const; 00054 void setIsLeaf(const OMF::Boolean &value); 00055 void clearIsLeaf(); 00056 00057 const OMF::Boolean &isAbstract() const; 00058 void setIsAbstract(const OMF::Boolean &value); 00059 void clearIsAbstract(); 00060 00061 Signal *signal(); 00062 void setSignal(Signal *value); 00063 void clearSignal(); 00064 00065 private: 00066 OMF::String _specification; 00067 OMF::Boolean _isRoot; 00068 OMF::Boolean _isLeaf; 00069 OMF::Boolean _isAbstract; 00070 Signal *_signal; 00071 }; 00072 00073 00074 struct ReceptionImpl : virtual public UML::Reception 00075 { 00076 ReceptionImpl() : 00077 OMF::ModelObject( 00078 "UML.Reception", 00079 &Reception::Proxy::instance(), 00080 &UMLPackage::instance()), 00081 Element(), 00082 ModelElement(), 00083 Feature(), 00084 BehavioralFeature(), 00085 Reception() 00086 {} 00087 00088 virtual ~ReceptionImpl() 00089 {} 00090 }; 00091 } 00092 00093 #endif

Generated on Fri Sep 10 13:07:33 2004 for OpenModelingFramework by doxygen 1.3.8