Merge "Merge branch 'security-CKM' into 'master'"
[platform/upstream/iotivity.git] / service / simulator / src / simulator_platform_info.cpp
1 /******************************************************************
2  *
3  * Copyright 2015 Samsung Electronics All Rights Reserved.
4  *
5  *
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  ******************************************************************/
20
21 #include "simulator_platform_info.h"
22
23 std::string PlatformInfo::getPlatformID() const
24 {
25     return m_platformID;
26 }
27
28 std::string PlatformInfo::getPlatformVersion() const
29 {
30     return m_platformVersion;
31 }
32
33 std::string PlatformInfo::getManufacturerName() const
34 {
35     return m_manufacturerName;
36 }
37
38 std::string PlatformInfo::getManufacturerUrl() const
39 {
40     return m_manufacturerUrl;
41 }
42
43 std::string PlatformInfo::getModelNumber() const
44 {
45     return m_modelNumber;
46 }
47
48 std::string PlatformInfo::getDateOfManfacture() const
49 {
50     return m_dateOfManufacture;
51 }
52
53 std::string PlatformInfo::getOSVersion() const
54 {
55     return m_operationSystemVersion;
56 }
57
58 std::string PlatformInfo::getHardwareVersion() const
59 {
60     return m_hardwareVersion;
61 }
62
63 std::string PlatformInfo::getFirmwareVersion() const
64 {
65     return m_firmwareVersion;
66 }
67
68 std::string PlatformInfo::getSupportUrl() const
69 {
70     return m_supportUrl;
71 }
72
73 std::string PlatformInfo::getSystemTime() const
74 {
75     return m_systemTime;
76 }
77
78 void PlatformInfo::setPlatformID(const std::string &platformId)
79 {
80     m_platformID = platformId;
81 }
82
83 void PlatformInfo::setPlatformVersion(const std::string &platformVersion)
84 {
85     m_platformVersion = platformVersion;
86 }
87
88 void PlatformInfo::setManufacturerName(const std::string &manufacturerName)
89 {
90     m_manufacturerName = manufacturerName;
91 }
92
93 void PlatformInfo::setManufacturerUrl(const std::string &manufacturerUrl)
94 {
95     m_manufacturerUrl = manufacturerUrl;
96 }
97
98 void PlatformInfo::setModelNumber(const std::string &modelNumber)
99 {
100     m_modelNumber = modelNumber;
101 }
102
103 void PlatformInfo::setDateOfManfacture(const std::string &dateOfManufacture)
104 {
105     m_dateOfManufacture = dateOfManufacture;
106 }
107
108 void PlatformInfo::setOSVersion(const std::string &osVersion)
109 {
110     m_operationSystemVersion = osVersion;
111 }
112
113 void PlatformInfo::setHardwareVersion(const std::string &hwVersion)
114 {
115     m_hardwareVersion = hwVersion;
116 }
117
118 void PlatformInfo::setFirmwareVersion(const std::string &firmwareVersion)
119 {
120     m_firmwareVersion = firmwareVersion;
121 }
122
123 void PlatformInfo::setSupportUrl(const std::string &supportUrl)
124 {
125     m_supportUrl = supportUrl;
126 }
127
128 void PlatformInfo::setSystemTime(const std::string &systemTime)
129 {
130     m_systemTime = systemTime;
131 }