/*
 *  Copyright (c) Revault SÃ rl, <info@revault.ch> 2017
 *  License: GPLv3
 *
 */

package ch.revault.websphere.wsadmin.commands.generated
import ch.revault.websphere.wsadmin.commands.AdminCmd
import javax.annotation.Generated
/**
* Deletes the tables of the database in virtual member manager.
*/
@Generated("with GenerateAdminCommands")
class DeleteIdMgrDBTablesCmd extends AdminCmd<Void> {
    DeleteIdMgrDBTablesCmd() {
        super("deleteIdMgrDBTables")
    }

    /**
     * The location of <vmm_install>/setup directory.
     */
    def 'schemaLocation'(String value) {
        parameter("schemaLocation", value)
    }

    /**
     * The type of database. Virtual member manager supports "db2", "oracle", "informix", "derby", "sqlserver", "db2zos", and "db2iseries".
     */
    def 'databaseType'(String value) {
        parameter("databaseType", value)
    }

    /**
     * The database URL for direct access mode. Example: jdbc:db2:wim
     */
    def 'dbURL'(String value) {
        parameter("dbURL", value)
    }

    /**
     * The database schema where virtual member manager tables must be created. The specified schema should already exist in the database.
     */
    def 'dbSchema'(String value) {
        parameter("dbSchema", value)
    }

    /**
     * The tablespace prefix. The maximum length is 3 characters. This value is required when the dbSchema option is used. It is specific to db2zos and is ignored for any other database type.
     */
    def 'tablespacePrefix'(String value) {
        parameter("tablespacePrefix", value)
    }

    /**
     * The name of the database driver. Example: COM.ibm.db2.jdbc.app.DB2Driver 
     */
    def 'dbDriver'(String value) {
        parameter("dbDriver", value)
    }

    /**
     * The database administrator ID for direct access mode. Example: db2admin
     */
    def 'dbAdminId'(String value) {
        parameter("dbAdminId", value)
    }

    /**
     * The database administrator password for direct access mode.
     */
    def 'dbAdminPassword'(String value) {
        parameter("dbAdminPassword", value)
    }

    /**
     * The full path to a file containing the input parameters. Each input parameter must exactly match a corresponding parameter as would be typed on the command line, and be placed in a Key=Value pair. Each pair must be on a separate line.
     */
    def 'file'(String value) {
        parameter("file", value)
    }

    /**
     * The home location of the derby system if setting up a derby database.
     */
    def 'derbySystemHome'(String value) {
        parameter("derbySystemHome", value)
    }

    /**
     * Specifies whether to report sql errors while setting up databases.
     */
    def 'reportSqlError'(String value) {
        parameter("reportSqlError", value)
    }

}
