Module com.microsoft.sqlserver.jdbc
Class SensitivityProperty
java.lang.Object
com.microsoft.sqlserver.jdbc.dataclassification.SensitivityProperty
Represents the Data Classification Sensitivity Property as received from SQL Server for the active resultSet
-
Constructor Summary
ConstructorsConstructorDescriptionSensitivityProperty(Label label, InformationType informationType)Constructs a SensitivityPropertySensitivityProperty(Label label, InformationType informationType, int sensitivityRank)Constructs a SensitivityProperty -
Method Summary
Modifier and TypeMethodDescriptionReturns the information type data for thisSensitivityPropertyObjectgetLabel()Returns the label data for thisSensitivityPropertyObjectintReturns the sensitivity rank for thisSensitivityPropertyObject
-
Constructor Details
-
SensitivityProperty
Constructs a SensitivityProperty- Parameters:
label- Label as received from SQL Server for this SensitivityPropertyinformationType- InformationType as received from SQL Server for this SensitivityProperty
-
SensitivityProperty
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 Details
-
getLabel
Returns the label data for thisSensitivityPropertyObject- Returns:
- label
-
getInformationType
Returns the information type data for thisSensitivityPropertyObject- Returns:
- informationType
-
getSensitivityRank
public int getSensitivityRank()Returns the sensitivity rank for thisSensitivityPropertyObject- Returns:
- sensitivityRank
-