All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alachisoft.ncache.licensing.config.LicenseInfo Maven / Gradle / Ivy

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.alachisoft.ncache.licensing.config;

import com.alachisoft.ncache.ncactivate.utils.RegKeys;

public class LicenseInfo {
    private String privateLicenseKey,
            privateAuthCode,
            privateExtCode,
            privateDeactivateKey,
            privateDeactCode;

    public String getValue(RegKeys key){
        switch (key){
            case AuthCode:
                return getAuthCode();
            case ExtCode:
                return getExtCode();
            case DeactCode:
                return getDeactCode();
            case DeactivateKey:
                return getDeactivateKey();
            default:
                return null;
        }
    }

    public final String getLicenseKey() {
        return privateLicenseKey;
    }

    public final void setLicenseKey(String value) {
        privateLicenseKey = value;
    }

    public final String getAuthCode() {
        return privateAuthCode;
    }

    public final void setAuthCode(String value) {
        privateAuthCode = value;
    }

    public final String getDeactivateKey() {
        return privateDeactivateKey;
    }

    public final void setDeactivationKey(String value) {
        privateDeactivateKey = value;
    }

    public final String getDeactCode() {
        return privateDeactCode;
    }

    public final void setDeactCode(String value) {
        privateDeactCode = value;
    }

    public final String getExtCode() {
        return privateExtCode;
    }

    public final void setExtCode(String value) {
        privateExtCode = value;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy