2 // Open Service Platform
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.
18 * @file FScl_CategoryChangeInfoImpl.h
19 * @brief This is the header file for the %_CategoryChangeInfoImpl class.
21 * This header file contains the declarations of the %_CategoryChangeInfoImpl class.
23 #ifndef _FSCL_INTERNAL_CATEGORY_CHANGE_INFO_IMPL_H_
24 #define _FSCL_INTERNAL_CATEGORY_CHANGE_INFO_IMPL_H_
26 #include <FBaseObject.h>
27 #include <FSclRecord.h>
28 #include <FSclTypes.h>
30 namespace Tizen { namespace Social
32 class CategoryChangeInfo;
35 * @class _CategoryChangeInfoImpl
36 * @brief This class provides a category change information.
39 * The %_CategoryChangeInfoImpl class provides a category change information
42 class _CategoryChangeInfoImpl
43 : public Tizen::Base::Object
47 * This is default constructor for this class.
51 _CategoryChangeInfoImpl(void);
54 * Copying of objects using this copy constructor is allowed.
58 _CategoryChangeInfoImpl(const _CategoryChangeInfoImpl& rhs);
61 * This destructor overrides Tizen::Base::Object::~Object().
65 virtual ~_CategoryChangeInfoImpl(void);
67 virtual bool Equals(const Tizen::Base::Object& rhs) const;
69 virtual int GetHashCode(void) const;
71 void SetAddressbookId(AddressbookId addressbookId);
73 AddressbookId GetAddressbookId(void) const;
75 void SetCategoryId(RecordId categoryId);
77 RecordId GetCategoryId(void) const;
79 void SetVersion(int version);
81 int GetVersion(void) const;
83 void SetChangeType(RecordChangeType type);
85 RecordChangeType GetChangeType(void) const;
87 static _CategoryChangeInfoImpl* GetInstance(CategoryChangeInfo& categoryChangeInfo);
89 static const _CategoryChangeInfoImpl* GetInstance(const CategoryChangeInfo& categoryChangeInfo);
92 * Copying of objects using this copy assignment operator is allowed.
96 _CategoryChangeInfoImpl& operator =(const _CategoryChangeInfoImpl& rhs);
98 bool operator ==(const _CategoryChangeInfoImpl& rhs) const;
101 RecordId __categoryId;
102 AddressbookId __addressbookId;
104 RecordChangeType __changeType;
106 }; // _CategoryChangeInfoImpl
110 #endif // _FSCL_INTERNAL_CATEGORY_CHANGE_INFO_IMPL_H_