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

org.odpi.openmetadata.accessservices.analyticsmodeling.model.ResponseContainerDatabase Maven / Gradle / Ivy

There is a newer version: 3.15
Show newest version
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.accessservices.analyticsmodeling.model;

/**
 * Response container for database.
* The container has following attributes:
*  name - database name.
*  guid - unique identifier to access database metdata.
*  type - of the database, vendor.
*  version - database version.
* * The type of the container is 'database'. * * */ public class ResponseContainerDatabase extends ResponseContainer { private static final String DB_NAME = "name"; private static final String GUID = "guid"; private static final String DB_TYPE = "type"; private static final String DB_VERSION = "version"; public static final String TYPE_DATABASE = "database"; /** * Constructor defines 'database' type */ public ResponseContainerDatabase() { super(TYPE_DATABASE); } /** * Get database name. * @return database name. */ public String getDbName() { return (String) getAttribute(DB_NAME); } /** * Set database name. * @param value database name. */ public void setDbName(String value ) { setAttribute(DB_NAME, value); } /** * Get global unique identifier of the database. * @return global unique identifier of the database. */ public String getGUID() { return (String) getAttribute(GUID); } /** * Set global unique identifier of the database. * @param value of the global unique identifier. */ public void setGUID(String value ) { setAttribute(GUID, value); } /** * Get type defining vendor. * @return vendor of database. */ public String getDbType() { return (String) getAttribute(DB_TYPE); } /** * Set type defining vendor. * @param value database vendor. */ public void setDbType(String value ) { setAttribute(DB_TYPE, value); } /** * Get version of the database. * @return string version. */ public String getDbVersion() { return (String) getAttribute(DB_VERSION); } /** * Set version of the database. * @param value of database version. */ public void setDbVersion(String value ) { setAttribute(DB_VERSION, value); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy