Class ARXConfigurationFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.deidentifier.arx.ARXConfiguration create​(MetaData metaData)  
      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.
      private void setPrivacyModels​(org.deidentifier.arx.ARXConfiguration config, MetaData metaData)
      Mutates an ARX ARXConfiguration object by setting the privacy models defined by the payload.
      private void setSuppressionLimit​(org.deidentifier.arx.ARXConfiguration config)
      Mutates ARX ARXConfiguration object by setting the suppression limit configuration for anonymization.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • 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,
                                      MetaData metaData)
        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
        metaData - object containing parameters that defines the privacy models to be used
      • 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