com.microsoft.sqlserver.jdbc.dataclassification.ColumnSensitivity 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.
The 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;
import java.util.ArrayList;
import java.util.List;
/**
* Represents the Data Classification Sensitivity Information for columns as configured in Database.
*/
public class ColumnSensitivity {
private List sensitivityProperties;
/**
* Constructs a ColumnSensitivity
*
* @param sensitivityProperties
* List of sensitivity properties as received from SQL Server
*/
public ColumnSensitivity(List sensitivityProperties) {
this.sensitivityProperties = new ArrayList<>(sensitivityProperties);
}
/**
* Returns the list of sensitivity properties as received from Server for this ColumnSensitivity
* information
*
* @return sensitivityProperties for this Class Object
*/
public List getSensitivityProperties() {
return sensitivityProperties;
}
}