Package no.oslomet.aaas.model
Class AnonymizeResult
- java.lang.Object
-
- no.oslomet.aaas.model.AnonymizeResult
-
public class AnonymizeResult extends java.lang.ObjectModel class for the result from an anonymization process.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringanonymizationStatusprivate java.lang.Stringdataprivate MetaDatapayloadMetaDataprivate java.util.Map<java.lang.String,java.lang.String>statistics
-
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.StringgetAnonymizationStatus()Getter method for theAnonymitystatus.java.lang.StringgetData()Getter method for the anonymized tabular dataset.MetaDatagetPayloadMetaData()Getter method for the model classMetaDatacontaining the anonymization and analysation settings.java.util.Map<java.lang.String,java.lang.String>getStatistics()Getter method for the anonymization statistics.
-
-
-
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 datasetanonymizationStatus- String containing theAnonymitystatuspayloadMetaData- Model classMetaDatacontaining anonymization and analysation settings for the datasetstatistics- 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 theAnonymitystatus.- Returns:
- Object of
Anonymitystatus describing how anonymous that dataset is
-
getPayloadMetaData
public MetaData getPayloadMetaData()
Getter method for the model classMetaDatacontaining the anonymization and analysation settings.- Returns:
- Object of
MetaDatacontaining 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
-
-