blob: 9ec20a651eafaaa155dcea3df37127fa478601c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
//
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
/**
* @file FScl_OrganizationImpl.h
* @brief This is the header file for the %_OrganizationImpl class.
*
* This header file contains the declarations of the %_OrganizationImpl class.
*/
#ifndef _FSCL_INTERNAL_ORGANIZATION_IMPL_H_
#define _FSCL_INTERNAL_ORGANIZATION_IMPL_H_
#include <FBaseResult.h>
#include <FBaseObject.h>
#include <FBaseString.h>
#include <FSclTypes.h>
namespace Tizen { namespace Social
{
class Organization;
class _OSP_EXPORT_ _OrganizationImpl
: public Tizen::Base::Object
{
public:
_OrganizationImpl(void);
_OrganizationImpl(const _OrganizationImpl& rhs);
virtual ~_OrganizationImpl(void);
virtual bool Equals(const Tizen::Base::Object& rhs) const;
virtual int GetHashCode(void) const;
Tizen::Base::String GetName(void) const;
Tizen::Base::String GetJobTitle(void) const;
Tizen::Base::String GetDepartment(void) const;
Tizen::Base::String GetRole(void) const;
Tizen::Base::String GetAgent(void) const;
OrganizationType GetType(void) const;
Tizen::Base::String GetLabel(void) const;
Tizen::Base::String GetLocation(void) const;
Tizen::Base::String GetDescription(void) const;
Tizen::Base::String GetPhoneticName(void) const;
Tizen::Base::String GetLogoPath(void) const;
void SetName(const Tizen::Base::String& name);
void SetJobTitle(const Tizen::Base::String& jobTitle);
void SetDepartment(const Tizen::Base::String& department);
void SetRole(const Tizen::Base::String& role);
void SetAgent(const Tizen::Base::String& agent);
void SetType(OrganizationType type);
void SetLabel(const Tizen::Base::String& label);
void SetLocation(const Tizen::Base::String& location);
void SetDescription(const Tizen::Base::String& description);
void SetPhoneticName(const Tizen::Base::String& phoneticName);
result SetLogo(const Tizen::Base::String& filePath);
_OrganizationImpl& operator =(const _OrganizationImpl& rhs);
bool IsEmpty(void) const;
bool IsLogoPathChanged(void) const;
result SetLogoPath(const Tizen::Base::String& filePath);
bool operator ==(const _OrganizationImpl& rhs) const;
bool operator !=(const _OrganizationImpl& rhs) const;
static const _OrganizationImpl* GetInstance(const Organization& organization);
static _OrganizationImpl* GetInstance(Organization& organization);
private:
Tizen::Base::String __name;
Tizen::Base::String __jobTitle;
Tizen::Base::String __department;
Tizen::Base::String __role;
Tizen::Base::String __agent;
Tizen::Base::String __label;
Tizen::Base::String __location;
Tizen::Base::String __description;
Tizen::Base::String __phoneticName;
Tizen::Base::String __logoPath;
OrganizationType __type;
bool __isLogoPathChanged;
}; // _OrganizationImpl
}} // Tizen::Social
#endif //_FSCL_INTERNAL_ORGANIZATION_IMPL_H_
|