Class ARXConfigurationFactory

    • Constructor Detail

    • Method Detail

      • create

        public org.deidentifier.arx.ARXConfiguration create​(java.util.List<PrivacyCriterionModel> privacyModels)
        Description copied from interface: ConfigurationFactory
        Returns an ARX ARXConfiguration object created from the provided payload
        Specified by:
        create in interface ConfigurationFactory
        Parameters:
        privacyModels - Model object containing the parameters to use in anonymization
        Returns:
        ARX ARXConfiguration object containing the anonymization algorithm settings.
      • setSuppressionLimit

        private void setSuppressionLimit​(org.deidentifier.arx.ARXConfiguration config)
        Mutates ARX ARXConfiguration object by setting the suppression limit configuration for anonymization.
        Parameters:
        config - an ARX ARXConfiguration object that holds the anonymization/data set settings
      • setPrivacyModels

        private void setPrivacyModels​(org.deidentifier.arx.ARXConfiguration config,
                                      java.util.List<PrivacyCriterionModel> privacyModels)
        Mutates an ARX ARXConfiguration object by setting the privacy models defined by the payload.
        Parameters:
        config - an ARX ARXConfiguration object that holds the anonymize/data set settings
        privacyModels - a List of PrivacyCriterionModel object containing parameters that defines the privacy models to be used
      • getPrivacyModel

        private org.deidentifier.arx.criteria.PrivacyCriterion getPrivacyModel​(PrivacyCriterionModel.PrivacyModel model,
                                                                               java.util.Map<java.lang.String,​java.lang.String> params)
        Returns an Arx PrivacyCriterionModel 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 PrivacyCriterionModel object created with the specified parameters