+ public static final String RAML_FILE_EXTENSION = ".raml";
+ public static final String JSON_FILE_EXTENSION = ".json";
+
+ public static final String SPLIT_BY_DOT_PATTERN = "\\.";
+
+ // Platform information
+ public static final String PLATFORM_ID = "Id";
+ public static final String PLATFORM_MANUFAC_NAME = "Manufacturer Name";
+ public static final String PLATFORM_MANUFAC_URL = "Manufacturer URL";
+ public static final String PLATFORM_MODEL_NO = "Model Number";
+ public static final String PLATFORM_DATE_OF_MANUFAC = "Date of Manufacture";
+ public static final String PLATFORM_VERSION = "Version";
+ public static final String PLATFORM_OS_VERSION = "OS Version";
+ public static final String PLATFORM_HARDWARE_VERSION = "HardWare Version";
+ public static final String PLATFORM_FIRMWARE_VERSION = "Firmware Version";
+ public static final String PLATFORM_SUPPORT_URL = "Support URL";
+ public static final String PLATFORM_SYSTEM_TIME = "System Time";
+
+ // Device information
+ public static final String DEVICE_NAME = "Device Name";
+ public static final String DEVICE_ID = "Device ID";
+ public static final String DEVICE_SPEC_VERSION = "Spec Version";
+ public static final String DEVICE_DMV = "Data Model Version";
+
+ public static final String SAMPLE_LIGHT = "sample.light";
+
+ public static final String UPDATE_PROP_PAGE_TITLE = "Update Properties";
+ public static final String UPDATE_PROP_PAGE_MESSAGE = "Update the default values of resource properties";
+
+ public static final String START_STOP_PAGE_TITLE = "Start/Stop Resource";
+ public static final String START_STOP_PAGE_MESSAGE = "This page allows to start or stop the created resource(s)";
+
+ public static final String START_RESOURCE = "Start Resource";
+ public static final String STOP_RESOURCE = "Stop Resource";
+
+ public static final String DELETE_RESOURCE = "Delete Resource";
+
+ public static final String MAIN_PAGE_TITLE = "Create Resource";
+ public static final String MAIN_PAGE_MESSAGE = "Create a Simple resource";
+
+ public static final String SIMPLE_PAGE_TITLE = "Create Simple Resource";
+ public static final String SIMPLE_PAGE_MESSAGE = "Either manually or from RAML file";
+
+ public static final String SIMPLE_RESOURCE_BASIC_DETAILS_PAGE_TITLE = "Create Simple Resource(Step 1 of 3)";
+ public static final String SIMPLE_RESOURCE_BASIC_DETAILS_PAGE_MESSAGE = "Fill basic details of the resource";
+
+ public static final String SIMPLE_RESOURCE_ADD_ATTRIBUTE_PAGE_TITLE = "Create Simple Resource(Step 2 of 3)";
+ public static final String SIMPLE_RESOURCE_ADD_ATTRIBUTE_PAGE_MESSAGE = "Add attributes to the resource";
+
+ public static final String SIMPLE_RESOURCE_OTHER_DETAILS_PAGE_TITLE = "Create Simple Resource(Step 3 of 3)";
+ public static final String SIMPLE_RESOURCE_OTHER_DETAILS_PAGE_MESSAGE = "Fill other details of the resource";
+
+ public static final String SINGLE_RESOURCE = "Single Resource";
+ public static final String INVALID_URI_MESSAGE = "Resource URI should start with a '/'."
+ + "\nIt should be 2 to 63 chars long.\n"
+ + "It should not contain # or ? or % or "
+ + "consecutive '/' or '/./' or "
+ + "'/..'(more than one dot following a slash).";
+
+ public static final String INVALID_RESOURCE_TYPE_MESSAGE = "Resource Type should start with an alphabet.\n"
+ + "It should contain only lowercase alphabets, "
+ + "numbers(0-9), dot(.) and hyphen(-).";
+
+ public static final String RESOURCE_LIMIT_EXCEEDED_MSG = "A maximum of 200 resources can exist in the server.";
+
+ public static final int TREE_EXPANSION_LEVEL = 10;
+
+ public static final String BASELINE_INTERFACE = "oic.if.baseline";
+ public static final String LINKS_LIST_INTERFACE = "oic.if.ll";
+ public static final String BATCH_INTERFACE = "oic.if.b";
+ public static final String LINK_BATCH_INTERFACE = "oic.if.lb";
+ public static final String READ_ONLY_INTERFACE = "oic.if.r";
+ public static final String READ_WRITE_INTERFACE = "oic.if.rw";
+ public static final String ACTUATOR_INTERFACE = "oic.if.a";
+ public static final String SENSOR_INTERFACE = "oic.if.s";
+
+ public static final String DEFAULT_SINGLE_RESOURCE_INTERFACE = "oic.if.baseline";
+
+ public static final int MAX_RESOURCE_COUNT = 200;