2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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.
17 * @file FScl_CategoryChangeInfoImpl.h
18 * @brief This is the header file for the %_CategoryChangeInfoImpl class.
20 * This header file contains the declarations of the %_CategoryChangeInfoImpl class.
22 #ifndef _FSCL_INTERNAL_CATEGORY_CHANGE_INFO_IMPL_H_
23 #define _FSCL_INTERNAL_CATEGORY_CHANGE_INFO_IMPL_H_
25 #include <FBaseObject.h>
26 #include <FSclRecord.h>
27 #include <FSclTypes.h>
29 namespace Tizen { namespace Social
31 class CategoryChangeInfo;
34 * @class _CategoryChangeInfoImpl
35 * @brief This class provides a category change information.
38 * The %_CategoryChangeInfoImpl class provides a category change information
41 class _CategoryChangeInfoImpl
42 : public Tizen::Base::Object
46 * This is default constructor for this class.
50 _CategoryChangeInfoImpl(void);
53 * Copying of objects using this copy constructor is allowed.
57 _CategoryChangeInfoImpl(const _CategoryChangeInfoImpl& rhs);
60 * This destructor overrides Tizen::Base::Object::~Object().
64 virtual ~_CategoryChangeInfoImpl(void);
66 virtual bool Equals(const Tizen::Base::Object& rhs) const;
68 virtual int GetHashCode(void) const;
70 void SetAddressbookId(AddressbookId addressbookId);
72 AddressbookId GetAddressbookId(void) const;
74 void SetCategoryId(RecordId categoryId);
76 RecordId GetCategoryId(void) const;
78 void SetVersion(int version);
80 int GetVersion(void) const;
82 void SetChangeType(RecordChangeType type);
84 RecordChangeType GetChangeType(void) const;
86 static _CategoryChangeInfoImpl* GetInstance(CategoryChangeInfo& categoryChangeInfo);
88 static const _CategoryChangeInfoImpl* GetInstance(const CategoryChangeInfo& categoryChangeInfo);
91 * Copying of objects using this copy assignment operator is allowed.
95 _CategoryChangeInfoImpl& operator =(const _CategoryChangeInfoImpl& rhs);
97 bool operator ==(const _CategoryChangeInfoImpl& rhs) const;
100 RecordId __categoryId;
101 AddressbookId __addressbookId;
103 RecordChangeType __changeType;
105 }; // _CategoryChangeInfoImpl
109 #endif // _FSCL_INTERNAL_CATEGORY_CHANGE_INFO_IMPL_H_