com.microsoft.sqlserver.jdbc.dataclassification.InformationType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mssql-jdbc Show documentation
Show all versions of mssql-jdbc Show documentation
Microsoft JDBC Driver for SQL Server.
/*
* 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;
}
}