Package no.oslomet.aaas.model
Class AnonymizationResultPayload
- java.lang.Object
-
- no.oslomet.aaas.model.AnonymizationResultPayload
-
public class AnonymizationResultPayload extends java.lang.ObjectModel class for the response object from anonymisation process.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.String>afterAnonymizationMetricsprivate AnonymizeResultanonymizeResultprivate java.util.Map<java.lang.String,java.lang.String>beforeAnonymizationMetrics
-
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.AnonymizeResultgetAnonymizeResult()Getter method for theAnonymizeResultmodel 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.
-
-
-
Field Detail
-
anonymizeResult
private final AnonymizeResult anonymizeResult
-
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- modelAnonymizeResultcontaining the anonymized dataset and the metadata used for the anonymizationbeforeAnonymizationMetrics- 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 valueafterAnonymisationMetrics- 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 theAnonymizeResultmodel class containing the anonymized dataset and the metadata used for the anonymization.- Returns:
- Object of
AnonymizeResultcontaining 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
-
-