/**
 *  Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 *  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.
 */
package org.wso2.carbon.device.mgt.common;

public final class DeviceManagementConstants {

    public static final class DataSourceProperties {
        private DataSourceProperties() {
            throw new AssertionError();
        }
        public static final String DB_CHECK_QUERY = "SELECT * FROM DM_DEVICE";
        public static final String SECURE_VAULT_NS = "http://org.wso2.securevault/configuration";
        public static final String DEVICE_CONFIG_XML_NAME = "cdm-config.xml";
    }

    public static final class SecureValueProperties {
        private SecureValueProperties() {
            throw new AssertionError();
        }
        public static final String SECRET_ALIAS_ATTRIBUTE_NAME_WITH_NAMESPACE = "secretAlias";
        public static final String SECURE_VAULT_NS = "http://org.wso2.securevault/configuration";
    }

    public static final class MobileDeviceTypes {
        private MobileDeviceTypes() {
            throw new AssertionError();
        }
        public final static String MOBILE_DEVICE_TYPE_ANDROID = "android";
        public final static String MOBILE_DEVICE_TYPE_IOS = "ios";
        public final static String MOBILE_DEVICE_TYPE_WINDOWS = "windows";
    }

    public static final class LanguageCodes{
        private LanguageCodes() { throw new AssertionError();}
        public final static String LANGUAGE_CODE_ENGLISH_US = "en-us";
        public final static String LANGUAGE_CODE_ENGLISH_UK = "en-uk";
    }

    public static final class DefaultLicences{
        public static final String DEFAULT_LICENSE_CONFIG_XML_NAME = "DefaultLicense.xml";
    }

    public static final class LicenseProperties{
        public static final String OVERVIEW_PROVIDER = "overview_provider";
        public static final String OVERVIEW_NAME = "overview_name";
        public static final String OVERVIEW_LANGUAGE = "overview_language";
        public static final String OVERVIEW_VERSION = "overview_version";
        public static final String VALID_FROM = "overview_validityFrom";
        public static final String VALID_TO = "overview_validityTo";
        public static final String LICENSE = "overview_license";
    }
}

@@ -784,32 +784,33 @@
 rceProperties %7B%0A
+%0A
         private 
@@ -876,32 +876,33 @@
 or();%0A        %7D%0A
+%0A
         public s
@@ -1197,24 +1197,25 @@
 roperties %7B%0A
+%0A
         priv
@@ -1286,32 +1286,33 @@
 or();%0A        %7D%0A
+%0A
         public s
@@ -1545,16 +1545,17 @@
 Types %7B%0A
+%0A
         
@@ -1634,16 +1634,17 @@
       %7D%0A
+%0A
         
@@ -1902,17 +1902,19 @@
 ageCodes
-%7B
+ %7B%0A
 %0A       
@@ -1939,16 +1939,28 @@
 odes() %7B
+%0A           
  throw n
@@ -1979,17 +1979,27 @@
 Error();
-%7D
+%0A        %7D%0A
 %0A       
@@ -2185,17 +2185,106 @@
 Licences
-%7B
+ %7B%0A%0A        private DefaultLicences() %7B%0A            throw new AssertionError();%0A        %7D%0A
 %0A       
@@ -2421,17 +2421,116 @@
 operties
-%7B
+ %7B%0A%0A        private LicenseProperties() %7B%0A            throw new AssertionError();%0A        %7D%0A        
 %0A       

Refactor license constants