2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 * @file EventAccount.h
24 #ifndef _ABSTRACT_LAYER_EVENT_ATTENDEE_H_
25 #define _ABSTRACT_LAYER_EVENT_ATTENDEE_H_
29 #include <dpl/shared_ptr.h>
30 #include "AccountServices.h"
36 typedef std::vector<std::string> FeatureList;
37 typedef DPL::SharedPtr<FeatureList> FeatureListPtr;
43 static const int UNDEFINED_ACCOUNT_ID = -1;
45 virtual ~EventAccount();
47 bool validate() const;
50 void setID(const int &value);
52 std::string getAccountId() const;
53 void setAccountId(const std::string &value);
55 std::string getDisplayName() const;
56 void setDisplayName(const std::string &value);
58 std::string getIconPath() const;
59 void setIconPath(const std::string &value);
61 std::string getProviderName() const;
62 void setProviderName(const std::string &value);
64 bool getEnabled() const;
65 void setEnabled(bool &value);
67 std::string getCredentailId() const;
68 void setCredentailId(const std::string &value);
70 std::string getSettings() const;
71 void setSettings(const std::string &value);
73 std::string getServiceTypeId() const;
74 void setServiceTypeId(const std::string &value);
76 std::string getProviderId() const;
77 void setProviderId(const std::string &value);
79 std::string getprefix() const;
80 void setprefix(const std::string &value);
82 std::string getUserName() const;
83 void setUserName(const std::string &value);
85 std::string getPackageName() const;
86 void setPackageName(const std::string &value);
88 std::string getEmailAddress() const;
89 void setEmailAddress(const std::string &value);
91 std::string getDomainName() const;
92 void setDomainName(const std::string &value);
94 AccountServicesArrayPtr getService() const;
95 void setService(const AccountServicesArrayPtr &value);
99 std::string m_AccountId;
100 std::string m_displayname;
101 std::string m_iconPath;
102 std::string m_providername;
104 std::string m_credentialId;
105 std::string m_settings;
107 std::string m_serviceTypeId;
108 std::string m_providerId;
109 std::string m_prefix;
111 std::string m_username;
112 std::string m_packagename;
113 std::string m_emailaddress;
114 std::string m_domainname;
116 AccountServicesArrayPtr m_service;
120 typedef DPL::SharedPtr<EventAccount> EventAccountPtr;
121 typedef std::vector<EventAccountPtr> EventAccountList;
122 typedef DPL::SharedPtr<EventAccountList> EventAccountListPtr;
128 #endif /* _ABSTRACT_LAYER_EVENT_ATTENDEE_H_ */