Git Init
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Contact / ContactOrganization.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 /**
18  * @file        ContactOrganization.h
19  * @author      Kisub Song (kisubs.song@samsung.com)
20  * @version     0.1
21  * @brief
22  */
23
24 #ifndef _API_CONTACT_CONTACT_ORGANIZATION_H_
25 #define _API_CONTACT_CONTACT_ORGANIZATION_H_
26
27 #include <string>
28 #include <vector>
29 #include <dpl/shared_ptr.h>
30
31 namespace TizenApis {
32 namespace Api {
33 namespace Contact {
34
35 class ContactOrganization;
36 typedef DPL::SharedPtr<ContactOrganization> ContactOrganizationPtr;
37
38 typedef std::vector<ContactOrganizationPtr> ContactOrganizationArray;
39 typedef DPL::SharedPtr<ContactOrganizationArray> ContactOrganizationArrayPtr;
40
41 class ContactOrganization
42 {
43 public:
44         ContactOrganization();
45         ~ContactOrganization();
46
47         std::string getName() const;
48         void setName(const std::string &value);
49         bool getNameIsSet() const;
50
51         std::string getDepartment() const;
52         void setDepartment(const std::string &value);
53         bool getDepartmentIsSet() const;
54
55         std::string getOffice() const;
56         void setOffice(const std::string &value);
57         bool getOfficeIsSet() const;
58
59         std::string getTitle() const;
60         void setTitle(const std::string &value);
61         bool getTitleIsSet() const;
62
63         std::string getRole() const;
64         void setRole(const std::string &value);
65         bool getRoleIsSet() const;
66
67         std::string getLogoURI() const;
68         void setLogoURI(const std::string &value);
69         bool getLogoURIIsSet() const;
70
71         ContactOrganizationPtr clone() const;
72
73 private:
74         std::string m_name;
75         std::string m_department;
76         std::string m_office;
77         std::string m_title;
78         std::string m_role;
79         std::string m_logoURI;
80
81         bool m_nameIsSet;
82         bool m_departmentIsSet;
83         bool m_officeIsSet;
84         bool m_titleIsSet;
85         bool m_roleIsSet;
86         bool m_logoURIIsSet;
87 };
88
89 } // Contact
90 } // Api
91 } // TizenApis
92
93 #endif // _API_CONTACT_CONTACT_ORGANIZATION_H_