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

com.autonomy.nonaci.indexing.impl.DreRenameDBaseCommand Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
/*
 * (c) Copyright 2008-2015 Micro Focus or one of its affiliates.
 *
 * Licensed under the MIT License (the "License"); you may not use this file
 * except in compliance with the License.
 *
 * The only warranties for products and services of Micro Focus and its affiliates
 * and licensors ("Micro Focus") are as may be set forth in the express warranty
 * statements accompanying such products and services. Nothing herein should be
 * construed as constituting an additional warranty. Micro Focus shall not be
 * liable for technical or editorial errors or omissions contained herein. The
 * information contained herein is subject to change without notice.
 */
package com.autonomy.nonaci.indexing.impl;

/**
 * Allows you to rename an IDOL server database.
 *
 * @author boba
 */
public class DreRenameDBaseCommand extends IndexCommandImpl {

    /**
     * Creates a new instance of DreRenameDBaseCommand.
     */
    public DreRenameDBaseCommand() {
        super(CMD_DRERENAMEDBASE);
    }

    public String getDreDbName() {
        return get(PARAM_DRE_DBNAME);
    }

    /**
     * The name of the database you want to rename.
     *
     * @param dreDbName The name of the database you want to rename.
     */
    public void setDreDbName(final String dreDbName) {
        put(PARAM_DRE_DBNAME, dreDbName);
    }

    public String getNewName() {
        return get(PARAM_NEW_NAME);
    }

    /**
     * The new name of the database.
     *
     * @param newName The new name of the database.
     */
    public void setNewName(final String newName) {
        put(PARAM_NEW_NAME, newName);
    }
    
}  // End of class DreRenameDBaseCommand...




© 2015 - 2024 Weber Informatics LLC | Privacy Policy