Class AnonymizationResultPayload


  • public class AnonymizationResultPayload
    extends java.lang.Object
    Model class for the response object from anonymisation process.
    • Constructor Summary

      Constructors 
      Constructor Description
      AnonymizationResultPayload​(AnonymizeResult anonymizeResult, java.util.Map<java.lang.String,​java.lang.String> beforeAnonymizationMetrics, java.util.Map<java.lang.String,​java.lang.String> afterAnonymisationMetrics)
      Setter method for the response object from the anonymisation and analysation process.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getAfterAnonymizationMetrics()
      Getter method for the analysis data after teh anonymization process.
      AnonymizeResult getAnonymizeResult()
      Getter method for the AnonymizeResult model class containing the anonymized dataset and the metadata used for the anonymization.
      java.util.Map<java.lang.String,​java.lang.String> getBeforeAnonymizationMetrics()
      Getter method for the analysis data before the anonymization process.
      • Methods inherited from class java.lang.Object

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

      • beforeAnonymizationMetrics

        private final java.util.Map<java.lang.String,​java.lang.String> beforeAnonymizationMetrics
      • afterAnonymizationMetrics

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

      • AnonymizationResultPayload

        public AnonymizationResultPayload​(AnonymizeResult anonymizeResult,
                                          java.util.Map<java.lang.String,​java.lang.String> beforeAnonymizationMetrics,
                                          java.util.Map<java.lang.String,​java.lang.String> afterAnonymisationMetrics)
        Setter method for the response object from the anonymisation and analysation process.
        Parameters:
        anonymizeResult - model AnonymizeResult containing the anonymized dataset and the metadata used for the anonymization
        beforeAnonymizationMetrics - HashMap containing the analysis data before the anonymization process. The HashMap contains a String of fields that describe the type of risk and a String that contains its risk value
        afterAnonymisationMetrics - HashMap containing the analysis data after the anonymization process. The HashMap contains a String of fields that describe the type of risk and a String that contains its risk value
    • Method Detail

      • getAnonymizeResult

        public AnonymizeResult getAnonymizeResult()
        Getter method for the AnonymizeResult model class containing the anonymized dataset and the metadata used for the anonymization.
        Returns:
        Object of AnonymizeResult containing the dataset and metadata after the anonymization process
      • getBeforeAnonymizationMetrics

        public java.util.Map<java.lang.String,​java.lang.String> getBeforeAnonymizationMetrics()
        Getter method for the analysis data before the anonymization process.
        Returns:
        HashMap containing the analysis data before the anonymization process. The HashMap contains a String of fields that describe the type of risk and a String that contains its risk value
      • getAfterAnonymizationMetrics

        public java.util.Map<java.lang.String,​java.lang.String> getAfterAnonymizationMetrics()
        Getter method for the analysis data after teh anonymization process.
        Returns:
        HashMap containing the analysis data after the anonymization process. The HashMap contains a String of fields that describe the type of risk and a String that contains its risk value