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 MODEL_MULTIPLICITYTYPE_HPP
00026
#define MODEL_MULTIPLICITYTYPE_HPP
00027
00028
00029
#include <OMF/ModelObject.hpp>
00030
00031
00032
#include <Model/ModelPackage.hpp>
00033
00034
namespace Model
00035 {
00036
00037
class MultiplicityTypeImpl;
00038
00039 class MultiplicityType :
virtual public OMF::ModelObject
00040 {
00041
public:
00042 typedef OMF::BasicClass<MultiplicityTypeImpl> Proxy;
00043
00044
MultiplicityType();
00045
virtual ~MultiplicityType();
00046
00047
const OMF::Integer &
lower() const;
00048
void setLower(const OMF::Integer &lower);
00049
void clearLower();
00050
00051 const OMF::Integer &upper() const;
00052
void setUpper(const OMF::Integer &upper);
00053
void clearUpper();
00054
00055 const OMF::Boolean &isOrdered() const;
00056
void setIsOrdered(const OMF::Boolean &isOrdered);
00057
void clearIsOrdered();
00058
00059 const OMF::Boolean &isUnique() const;
00060
void setIsUnique(const OMF::Boolean &isUnique);
00061
void clearIsUnique();
00062
00063 private:
00064 OMF::Integer _lower;
00065 OMF::Integer _upper;
00066 OMF::Boolean _isOrdered;
00067 OMF::Boolean _isUnique;
00068 };
00069
00070 struct
MultiplicityTypeImpl : virtual public
MultiplicityType
00071 {
00072 MultiplicityTypeImpl() :
00073 OMF::ModelObject(
"Model.MultiplicityType",
00074 &MultiplicityType::Proxy::instance(),
00075 &
ModelPackage::instance()),
00076 MultiplicityType()
00077 {}
00078
00079 virtual ~
MultiplicityTypeImpl()
00080 {}
00081 };
00082 };
00083
00084
#endif