Class ARXConfigurationSetter


  • @Component
    public class ARXConfigurationSetter
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String COLUMNNAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private org.deidentifier.arx.criteria.PrivacyCriterion getPrivacyModel​(PrivacyModel model, java.util.Map<java.lang.String,​java.lang.String> params)
      Returns an Arx PrivacyCriterion object for the desired privacy object selected by the user.
      org.deidentifier.arx.ARXConfiguration setPrivacyModels​(org.deidentifier.arx.ARXConfiguration config, AnonymizationPayload payload)
      Returns an ARX ARXConfiguration object that sets the privacy models defined by the payload.
      org.deidentifier.arx.ARXConfiguration setSuppressionLimit​(org.deidentifier.arx.ARXConfiguration config)
      Sets the suppression limit configuration for anonymization in the ARX ARXConfiguration object, then returns it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ARXConfigurationSetter

        public ARXConfigurationSetter()
    • Method Detail

      • setSuppressionLimit

        public org.deidentifier.arx.ARXConfiguration setSuppressionLimit​(org.deidentifier.arx.ARXConfiguration config)
        Sets the suppression limit configuration for anonymization in the ARX ARXConfiguration object, then returns it.
        Parameters:
        config - an ARX ARXConfiguration object that holds the anonymization/data set settings
        Returns:
        an ARX ARXConfiguration object with the suppression setting
      • setPrivacyModels

        public org.deidentifier.arx.ARXConfiguration setPrivacyModels​(org.deidentifier.arx.ARXConfiguration config,
                                                                      AnonymizationPayload payload)
        Returns an ARX ARXConfiguration object that sets the privacy models defined by the payload.
        Parameters:
        config - an ARX ARXConfiguration object that holds the anonymize/data set settings
        payload - map containing parameters that defines the privacy models to be used
        Returns:
        an ARX ARXConfiguration object with the assigned privacy models settings
      • getPrivacyModel

        private org.deidentifier.arx.criteria.PrivacyCriterion getPrivacyModel​(PrivacyModel model,
                                                                               java.util.Map<java.lang.String,​java.lang.String> params)
        Returns an Arx PrivacyCriterion object for the desired privacy object selected by the user.
        Parameters:
        model - enum representing the privacy model type we want created
        params - map containing parameters that defines which settings to be used to created the privacy model
        Returns:
        the PrivacyCriterion object created with the specified parameters