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
ConstructorDescriptionSensitivityProperty
(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 thisSensitivityProperty
ObjectgetLabel()
Returns the label data for thisSensitivityProperty
Objectint
Returns the sensitivity rank for thisSensitivityProperty
Object
-
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 thisSensitivityProperty
Object- Returns:
- label
-
getInformationType
Returns the information type data for thisSensitivityProperty
Object- Returns:
- informationType
-
getSensitivityRank
public int getSensitivityRank()Returns the sensitivity rank for thisSensitivityProperty
Object- Returns:
- sensitivityRank
-