2 // Tizen Web Device API
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file ContactOrganization.h
20 * @author Kisub Song (kisubs.song@samsung.com)
25 #ifndef _API_CONTACT_CONTACT_ORGANIZATION_H_
26 #define _API_CONTACT_CONTACT_ORGANIZATION_H_
30 #include <dpl/shared_ptr.h>
35 class ContactOrganization;
36 typedef DPL::SharedPtr<ContactOrganization> ContactOrganizationPtr;
38 typedef std::vector<ContactOrganizationPtr> ContactOrganizationArray;
39 typedef DPL::SharedPtr<ContactOrganizationArray> ContactOrganizationArrayPtr;
41 class ContactOrganization
44 ContactOrganization();
45 ~ContactOrganization();
47 std::string getName() const;
48 void setName(const std::string &value);
50 bool getNameIsSet() const;
52 std::string getDepartment() const;
53 void setDepartment(const std::string &value);
54 void unsetDepartment();
55 bool getDepartmentIsSet() const;
57 std::string getTitle() const;
58 void setTitle(const std::string &value);
60 bool getTitleIsSet() const;
62 std::string getRole() const;
63 void setRole(const std::string &value);
65 bool getRoleIsSet() const;
67 std::string getLogoURI() const;
68 void setLogoURI(const std::string &value);
70 bool getLogoURIIsSet() const;
73 ContactOrganizationPtr clone() const;
79 std::string m_department;
80 bool m_departmentIsSet;
88 std::string m_logoURI;
95 #endif // _API_CONTACT_CONTACT_ORGANIZATION_H_