1
/*################################################################################
2
# Linux Management Providers (LMP), Simple Identity Management provider package
3
# Copyright (C) 2007 Frederic Desmons, ETRI <desmons@etri.re.kr, desmons_frederic@yahoo.fr>
5
# This program is being developed under the "OpenDRIM" project.
6
# The "OpenDRIM" project web page: http://opendrim.sourceforge.net
7
# The "OpenDRIM" project mailing list: opendrim@googlegroups.com
9
# This program is free software; you can redistribute it and/or
10
# modify it under the terms of the GNU General Public License
11
# as published by the Free Software Foundation; version 2
14
# This program is distributed in the hope that it will be useful,
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
# GNU General Public License for more details.
19
# You should have received a copy of the GNU General Public License
20
# along with this program; if not, write to the Free Software
21
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
#################################################################################
24
#################################################################################
25
# To contributors, please leave your contact information in this section
26
# AND comment your changes in the source code.
28
# Modified by 2009 Khahramon NURIDDINOV, TUIT <qahramon0786@gmail.com>
29
# Modified by 2009 Guillaume BOTTEX, ETRI <guillaumebottex@etri.re.kr>
30
################################################################################*/
32
#ifndef OPENDRIM_GROUP_H_
33
#define OPENDRIM_GROUP_H_
37
const static char* OpenDRIM_Group_classnames[] = {"OpenDRIM_Group"};
38
static string OpenDRIM_Group_NAMESPACE = _NAMESPACE;
40
class OpenDRIM_Group {
48
bool Description_isNULL;
51
bool ElementName_isNULL;
53
string CreationClassName;
54
bool CreationClassName_isNULL;
59
string BusinessCategory;
60
bool BusinessCategory_isNULL;
63
bool CommonName_isNULL;
68
vector<string> Members;
71
Caption_isNULL = true;
72
Description_isNULL = true;
73
ElementName_isNULL = true;
74
CreationClassName_isNULL = true;
76
BusinessCategory_isNULL = true;
77
CommonName_isNULL = true;
78
GroupID_isNULL = true;
83
string getKeys() const {
84
return CF_toLowCase(".CreationClassName=\"" + CF_quoteString(CreationClassName) + "\""".Name=\"" + CF_quoteString(Name) + "\"");
87
int getCaption(string& value) const {
88
if (Caption_isNULL==true)
94
int setCaption(const string& newValue) {
96
Caption_isNULL = false;
100
int getDescription(string& value) const {
101
if (Description_isNULL==true)
107
int setDescription(const string& newValue) {
108
Description = newValue;
109
Description_isNULL = false;
113
int getElementName(string& value) const {
114
if (ElementName_isNULL==true)
120
int setElementName(const string& newValue) {
121
ElementName = newValue;
122
ElementName_isNULL = false;
126
int getCreationClassName(string& value) const {
127
if (CreationClassName_isNULL==true)
129
value = CreationClassName;
133
int setCreationClassName(const string& newValue) {
134
CreationClassName = newValue;
135
CreationClassName_isNULL = false;
139
int getName(string& value) const {
140
if (Name_isNULL==true)
146
int setName(const string& newValue) {
152
int getBusinessCategory(string& value) const {
153
if (BusinessCategory_isNULL==true)
155
value = BusinessCategory;
159
int setBusinessCategory(const string& newValue) {
160
BusinessCategory = newValue;
161
BusinessCategory_isNULL = false;
165
int getCommonName(string& value) const {
166
if (CommonName_isNULL==true)
172
int setCommonName(const string& newValue) {
173
CommonName = newValue;
174
CommonName_isNULL = false;
178
int getGroupID(string& value) const {
179
if (GroupID_isNULL==true)
185
int setGroupID(const string& newValue) {
187
GroupID_isNULL = false;
193
#endif /*OPENDRIM_GROUP_H_*/