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

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

package com.alachisoft.ncache.licensing.config;

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

public class DeploymentInfo {

    private String privateName, privateClientCpus;

    public String getName() {
        return privateName;
    }

    public void setName(String value) {
        privateName = value;
    }

    public String getClientCpus() {
        return privateClientCpus;
    }

    public void setClientCpus(String value) {
        privateClientCpus = value;
    }

    public String getValue(RegKeys RegKey) {
        switch (RegKey) {
            case Name:
                return getName();
            case ClientCups:
                return getClientCpus();
        }
        return "";
    }

    public void setValue(RegKeys regKey, String value) {
        switch (regKey) {
            case Name:
                setName(value);
            case ClientCups:
                setClientCpus(value);
        }
    }

    public final String ToXml() {
        String xml = "";

        xml += "";
        xml += getName();
        xml += "";

        xml += "";
        xml += getClientCpus();
        xml += "";

        xml += "";
        return xml;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy