merge wrt-plugins-tizen_0.2.0-2
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Calendar / EventAttendee.cpp
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 #include "EventAttendee.h"
19 #include <dpl/log/log.h>
20
21 namespace TizenApis {
22 namespace Api {
23 namespace Calendar {
24
25 EventAttendee::EventAttendee()
26 {
27     m_role = REQ_PARTICIPANT_ROLE;
28     m_status = PENDING_AT_STATUS;
29     m_RSVP = false;
30     m_type = INDIVIDUAL_TYPE;
31 }
32
33 EventAttendee::~EventAttendee()
34 {
35 }
36
37 std::string EventAttendee::getName() const
38 {
39     return m_name;
40 }
41
42 void EventAttendee::setName(const std::string &value)
43 {
44     m_name = value;
45 }
46
47 std::string EventAttendee::getURI() const
48 {
49     return m_uri;
50 }
51
52 void EventAttendee::setURI(const std::string &value)
53 {
54     m_uri = value;
55 }
56
57 EventAttendee::EventAttendeeRole EventAttendee::getRole() const
58 {
59     return m_role;
60 }
61
62 void EventAttendee::setRole(EventAttendeeRole value)
63 {
64     m_role = value;
65 }
66
67 EventAttendee::EventAttendeeStatus EventAttendee::getStatus() const
68 {
69     return m_status;
70 }
71
72 void EventAttendee::setStatus(EventAttendeeStatus value)
73 {
74     m_status = value;
75 }
76
77 bool EventAttendee::getRSVP() const
78 {
79     return m_RSVP;
80 }
81
82 void EventAttendee::setRSVP(bool value)
83 {
84     m_RSVP = value;
85 }
86
87 EventAttendee::EventAttendeeType EventAttendee::getType() const
88 {
89     return m_type;
90 }
91
92 void EventAttendee::setType(EventAttendeeType value)
93 {
94     m_type = value;
95 }
96
97 std::string EventAttendee::getGroup() const
98 {
99     return m_group;
100 }
101
102 void EventAttendee::setGroup(const std::string &value)
103 {
104     m_group = value;
105 }
106
107 std::string EventAttendee::getDelegatorURI() const
108 {
109     return m_delegatorURI;
110 }
111
112 void EventAttendee::setDelegatorURI(const std::string &value)
113 {
114     m_delegatorURI = value;
115 }
116
117 std::string EventAttendee::getDelegateURI() const
118 {
119     return m_delegateURI;
120 }
121
122 void EventAttendee::setDelegateURI(const std::string &value)
123 {
124     m_delegateURI = value;
125 }
126
127 std::string EventAttendee::getAddressBookId() const
128 {
129     return m_addressBookId;
130 }
131
132 void EventAttendee::setAddressBookId(const std::string &value)
133 {
134     m_addressBookId = value;
135 }
136
137 std::string EventAttendee::getContactId() const
138 {
139     return m_contactId;
140 }
141
142 void EventAttendee::setContactId(const std::string &value)
143 {
144     m_contactId = value;
145 }
146
147 }
148 }
149 }