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

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

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy