Class AnonymizeResult


  • public class AnonymizeResult
    extends java.lang.Object
    Model class for the result from an anonymization process.
    • Constructor Summary

      Constructors 
      Constructor Description
      AnonymizeResult​(java.lang.String data, java.lang.String anonymizationStatus, MetaData payloadMetaData, java.util.Map<java.lang.String,​java.lang.String> statistics)
      Setter method for the response object the anonymization process.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAnonymizationStatus()
      Getter method for the Anonymity status.
      java.lang.String getData()
      Getter method for the anonymized tabular dataset.
      MetaData getPayloadMetaData()
      Getter method for the model class MetaData containing the anonymization and analysation settings.
      java.util.Map<java.lang.String,​java.lang.String> getStatistics()
      Getter method for the anonymization statistics.
      • Methods inherited from class java.lang.Object

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

      • data

        private final java.lang.String data
      • anonymizationStatus

        private final java.lang.String anonymizationStatus
      • payloadMetaData

        private final MetaData payloadMetaData
      • statistics

        private final java.util.Map<java.lang.String,​java.lang.String> statistics
    • Constructor Detail

      • AnonymizeResult

        public AnonymizeResult​(java.lang.String data,
                               java.lang.String anonymizationStatus,
                               MetaData payloadMetaData,
                               java.util.Map<java.lang.String,​java.lang.String> statistics)
        Setter method for the response object the anonymization process.
        Parameters:
        data - String containing the anonymized tabular dataset
        anonymizationStatus - String containing the Anonymity status
        payloadMetaData - Model class MetaData containing anonymization and analysation settings for the dataset
        statistics - HashMap containing the statistics from the anonymization process. The HashMap contains a String of fields that describe the type of statistic and a String that contains its risk value
    • Method Detail

      • getData

        public java.lang.String getData()
        Getter method for the anonymized tabular dataset.
        Returns:
        String containing the anonymized tabular dataset
      • getAnonymizationStatus

        public java.lang.String getAnonymizationStatus()
        Getter method for the Anonymity status.
        Returns:
        Object of Anonymity status describing how anonymous that dataset is
      • getPayloadMetaData

        public MetaData getPayloadMetaData()
        Getter method for the model class MetaData containing the anonymization and analysation settings.
        Returns:
        Object of MetaData containing the anonymization and analysation settings
      • getStatistics

        public java.util.Map<java.lang.String,​java.lang.String> getStatistics()
        Getter method for the anonymization statistics.
        Returns:
        HashMap containing the the anonymization statistics. The HashMap contains a String of fields that describe the type of statistic and a String that contains its risk value