Logo
  • Main Page
  • Related Pages
  • Modules
  • Classes
  • Files

mmspropertydata.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005-2007 Stefan Schwarzer, Jens Schneider,             *
00003  *                           Matthias Hardt, Guido Madaus                  *
00004  *                                                                         *
00005  *   Copyright (C) 2007-2008 BerLinux Solutions GbR                        *
00006  *                           Stefan Schwarzer & Guido Madaus               *
00007  *                                                                         *
00008  *   Copyright (C) 2009-2013 BerLinux Solutions GmbH                       *
00009  *                                                                         *
00010  *   Authors:                                                              *
00011  *      Stefan Schwarzer   <stefan.schwarzer@diskohq.org>,                 *
00012  *      Matthias Hardt     <matthias.hardt@diskohq.org>,                   *
00013  *      Jens Schneider     <jens.schneider@diskohq.org>,                   *
00014  *      Guido Madaus       <guido.madaus@diskohq.org>,                     *
00015  *      Patrick Helterhoff <patrick.helterhoff@diskohq.org>,               *
00016  *      René Bählkow       <rene.baehlkow@diskohq.org>                     *
00017  *                                                                         *
00018  *   This library is free software; you can redistribute it and/or         *
00019  *   modify it under the terms of the GNU Lesser General Public            *
00020  *   License version 2.1 as published by the Free Software Foundation.     *
00021  *                                                                         *
00022  *   This library is distributed in the hope that it will be useful,       *
00023  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00024  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00025  *   Lesser General Public License for more details.                       *
00026  *                                                                         *
00027  *   You should have received a copy of the GNU Lesser General Public      *
00028  *   License along with this library; if not, write to the                 *
00029  *   Free Software Foundation, Inc.,                                       *
00030  *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA            *
00031  **************************************************************************/
00032 
00033 #include "mmsconfig/mmspropertydata.h"
00034 
00035 MMSPropertyData::MMSPropertyData() {
00036     this->id = -1;
00037     this->parameter = "";
00038     this->max = 0;
00039     this->min = 0;
00040     this->separator = ';';
00041     this->value = "";
00042     this->issetindb = true;
00043 }
00044 
00045 
00046 void MMSPropertyData::setID(int id) {
00047     this->id = id;
00048 }
00049 
00050 int MMSPropertyData::getID() {
00051     return this->id;
00052 }
00053 
00054 string MMSPropertyData::getParameter() {
00055     return this->parameter;
00056 }
00057 
00058 void MMSPropertyData::setParameter(string parameter) {
00059     this->parameter = parameter;
00060 }
00061 
00062 string MMSPropertyData::getValue() {
00063     return this->value;
00064 }
00065 void MMSPropertyData::setValue(string value) {
00066     this->value = value;
00067 }
00068 
00069 string MMSPropertyData::getType() {
00070     return this->type;
00071 }
00072 
00073 void MMSPropertyData::setType(string type) {
00074     this->type = type;
00075 }
00076 
00077 int MMSPropertyData::getMax() {
00078     return this->max;
00079 }
00080 
00081 void MMSPropertyData::setMax(int max) {
00082     this->max = max;
00083 }
00084 
00085 int MMSPropertyData::getMin() {
00086     return this->min;
00087 }
00088 
00089 void MMSPropertyData::setMin(int min) {
00090     this->min = min;
00091 }
00092 
00093 vector <string> MMSPropertyData::getVallist() {
00094     return this->vallist;
00095 }
00096 
00097 void MMSPropertyData::setVallist(vector <string> vallist) {
00098     this->vallist = vallist;
00099 }
00100 
00101 char MMSPropertyData::getSeparator() {
00102     return this->separator;
00103 }
00104 
00105 void MMSPropertyData::setSeparator(char separator){
00106     this->separator = separator;
00107 }
00108 
00109 bool MMSPropertyData::isSetInDb() {
00110     return this->issetindb;
00111 }
00112 
00113 void MMSPropertyData::setisSetinDb(bool issetindb) {
00114     this->issetindb = issetindb;
00115 }

Generated by doxygen