Module com.microsoft.sqlserver.jdbc
Class SensitivityProperty
- java.lang.Object
-
- com.microsoft.sqlserver.jdbc.dataclassification.SensitivityProperty
-
public class SensitivityProperty extends Object
Represents the Data Classification Sensitivity Property as received from SQL Server for the active resultSet
-
-
Constructor Summary
Constructors Constructor Description SensitivityProperty(Label label, InformationType informationType)Constructs a SensitivityPropertySensitivityProperty(Label label, InformationType informationType, int sensitivityRank)Constructs a SensitivityProperty
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InformationTypegetInformationType()Returns the information type data for thisSensitivityPropertyObjectLabelgetLabel()Returns the label data for thisSensitivityPropertyObjectintgetSensitivityRank()Returns the sensitivity rank for thisSensitivityPropertyObject
-
-
-
Constructor Detail
-
SensitivityProperty
public SensitivityProperty(Label label, InformationType informationType)
Constructs a SensitivityProperty- Parameters:
label- Label as received from SQL Server for this SensitivityPropertyinformationType- InformationType as received from SQL Server for this SensitivityProperty
-
SensitivityProperty
public SensitivityProperty(Label label, InformationType informationType, int sensitivityRank)
Constructs a SensitivityProperty- Parameters:
label- Label as received from SQL Server for this SensitivityPropertyinformationType- InformationType as received from SQL Server for this SensitivityPropertysensitivityRank- sensitivity rank as received from SQL Server for this SensitivityProperty
-
-
Method Detail
-
getLabel
public Label getLabel()
Returns the label data for thisSensitivityPropertyObject- Returns:
- label
-
getInformationType
public InformationType getInformationType()
Returns the information type data for thisSensitivityPropertyObject- Returns:
- informationType
-
getSensitivityRank
public int getSensitivityRank()
Returns the sensitivity rank for thisSensitivityPropertyObject- Returns:
- sensitivityRank
-
-