Imported Upstream version 1.1.0
[platform/upstream/iotivity.git] / cloud / resourcedirectory / src / main / java / org / iotivity / cloud / rdserver / Constants.java
1 /*
2  * //******************************************************************
3  * //
4  * // Copyright 2016 Samsung Electronics All Rights Reserved.
5  * //
6  * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7  * //
8  * // Licensed under the Apache License, Version 2.0 (the "License");
9  * // you may not use this file except in compliance with the License.
10  * // You may obtain a copy of the License at
11  * //
12  * //      http://www.apache.org/licenses/LICENSE-2.0
13  * //
14  * // Unless required by applicable law or agreed to in writing, software
15  * // distributed under the License is distributed on an "AS IS" BASIS,
16  * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * // See the License for the specific language governing permissions and
18  * // limitations under the License.
19  * //
20  * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
21  */
22 package org.iotivity.cloud.rdserver;
23
24 public class Constants {
25     public static final String RD_TABLE   = "RD_TABLE";
26     public static final String RD_DB_NAME = "RDDB";
27
28     public static final String RD_URI = "oic/rd";
29
30     public static final String RS_DEVICE_NAME             = "n";
31     public static final String RS_DEVICE_ID               = "di";
32     public static final String RS_BASE_URI                = "baseURI";
33     public static final String RS_BITMAP                  = "bm";
34     public static final String RS_HOSTING_PORT            = "port";
35     public static final String RS_INS                     = "ins";
36     public static final String RS_RTS                     = "rts";
37     public static final String RS_DREL                    = "drel";
38     public static final String RS_TTL                     = "ttl";
39     public static final String RS_HREF                    = "href";
40     public static final String RS_RESOURCE_TYPE           = "rt";
41     public static final String RS_INTERFACE               = "if";
42     public static final String RS_REL                     = "rel";
43     public static final String RS_OBS                     = "obs";
44     public static final String RS_TITLE                   = "title";
45     public static final String RS_URI                     = "uri";
46     public static final String RS_MEDIA_TYPE              = "mt";
47     public static final String RS_RESOURCE_TYPE_RDPUBLISH = "oic.wk.rdpub";
48
49     public static final String RS_SEARCH_TYPE             = "st";
50     public static final String RS_SEARCH_TYPE_DEVICE_LIST = "didList";
51     public static final String RS_DEVICE_LIST_KEY         = "devices";
52 }