merge wrt-plugins-tizen_0.2.0-2
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Calendar / EventAttendee.cpp
index 8f129c7..9345180 100755 (executable)
 #include "EventAttendee.h"
 #include <dpl/log/log.h>
 
-/**
- * @file        EventAttendee.cpp
- *
- * @version     0.1
- */
-
 namespace TizenApis {
 namespace Api {
 namespace Calendar {
-    
+
 EventAttendee::EventAttendee()
 {
+    m_role = REQ_PARTICIPANT_ROLE;
+    m_status = PENDING_AT_STATUS;
+    m_RSVP = false;
+    m_type = INDIVIDUAL_TYPE;
 }
 
 EventAttendee::~EventAttendee()
@@ -116,7 +114,6 @@ void EventAttendee::setDelegatorURI(const std::string &value)
     m_delegatorURI = value;
 }
 
-
 std::string EventAttendee::getDelegateURI() const
 {
     return m_delegateURI;
@@ -127,14 +124,24 @@ void EventAttendee::setDelegateURI(const std::string &value)
     m_delegateURI = value;
 }
 
-std::string EventAttendee::getPersonId() const
+std::string EventAttendee::getAddressBookId() const
+{
+    return m_addressBookId;
+}
+
+void EventAttendee::setAddressBookId(const std::string &value)
+{
+    m_addressBookId = value;
+}
+
+std::string EventAttendee::getContactId() const
 {
-    return m_uid;
+    return m_contactId;
 }
 
-void EventAttendee::setPersonId(const std::string &value)
+void EventAttendee::setContactId(const std::string &value)
 {
-    m_uid = value;
+    m_contactId = value;
 }
 
 }