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 Details

    • SensitivityProperty

      public SensitivityProperty(Label label, InformationType informationType)
      Constructs a SensitivityProperty
      Parameters:
      label - Label as received from SQL Server for this SensitivityProperty
      informationType - 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 SensitivityProperty
      informationType - InformationType as received from SQL Server for this SensitivityProperty
      sensitivityRank - sensitivity rank as received from SQL Server for this SensitivityProperty
  • Method Details

    • getLabel

      public Label getLabel()
      Returns the label data for this SensitivityProperty Object
      Returns:
      label
    • getInformationType

      public InformationType getInformationType()
      Returns the information type data for this SensitivityProperty Object
      Returns:
      informationType
    • getSensitivityRank

      public int getSensitivityRank()
      Returns the sensitivity rank for this SensitivityProperty Object
      Returns:
      sensitivityRank