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

com.microsoft.sqlserver.jdbc.dataclassification.InformationType Maven / Gradle / Ivy

There is a newer version: 12.7.0.jre11-preview
Show newest version
/*
 * Microsoft JDBC Driver for SQL Server Copyright(c) Microsoft Corporation All rights reserved. This program is made
 * available under the terms of the MIT License. See the LICENSE file in the project root for more information.
 */

package com.microsoft.sqlserver.jdbc.dataclassification;

/**
 * Represents the Data Classification Information Types as received from SQL Server for the active resultSet
 */
public class InformationType {
    private String name;
    private String id;

    /**
     * Constructs a InformationType
     * 
     * @param name
     *        Name of Information Type
     * @param id
     *        ID of Information Type
     */
    public InformationType(String name, String id) {
        this.name = name;
        this.id = id;
    }

    /**
     * Returns the name of this InformationType Object
     * 
     * @return Name of Information Type
     */
    public String getName() {
        return name;
    }

    /**
     * Returns the ID for this InformationType object
     * 
     * @return ID of Information Type
     */
    public String getId() {
        return id;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy