/*
* 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
/**
* 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
Params: - name –
Name of Information Type
- id –
ID of Information Type
/**
* 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
Returns: Name of Information Type
/**
* Returns the name of this <code>InformationType</code> Object
*
* @return Name of Information Type
*/
public String getName() {
return name;
}
Returns the ID for this InformationType
object
Returns: ID of Information Type
/**
* Returns the ID for this <code>InformationType</code> object
*
* @return ID of Information Type
*/
public String getId() {
return id;
}
}