Revert "Change build option - IP only"
[platform/upstream/iotivity.git] / service / simulator / java / sdk / src / org / oic / simulator / DeviceInfo.java
1 /*
2  * Copyright 2015 Samsung Electronics All Rights Reserved.
3  *
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
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 package org.oic.simulator;
18
19 /**
20  * This class contains remote device information and provides APIs to access it.
21  */
22 public class DeviceInfo {
23     private String mName;
24     private String mID;
25     private String mSpecVersion;
26     private String mDMVVersion;
27
28     /**
29      * This method is for getting the device name.
30      *
31      * @return Device name.
32      */
33     public String getName() {
34         return mName;
35     }
36
37     /**
38      * This method is for getting the device id.
39      *
40      * @return Device id.
41      */
42     public String getID() {
43         return mID;
44     }
45
46     /**
47      * This method is for getting device specification version.
48      *
49      * @return Specification version.
50      */
51     public String getSpecVersion() {
52         return mSpecVersion;
53     }
54
55     /**
56      * This method is for getting device data model version.
57      *
58      * @return Device data model version.
59      */
60     public String getDataModelVersion() {
61         return mDMVVersion;
62     }
63 }