Package no.oslomet.aaas.model
Class AnalysationPayload
- java.lang.Object
-
- no.oslomet.aaas.model.AnalysationPayload
-
public class AnalysationPayload extends java.lang.ObjectModel class for Analysation data payload containing the data to be analysed and the attribute types of the dataset fields/columns.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,AttributeTypeModel>attributeTypesprivate java.lang.Stringdata
-
Constructor Summary
Constructors Constructor Description AnalysationPayload(java.lang.String data, java.util.Map<java.lang.String,AttributeTypeModel> attributeTypes)Setter method for Analysation payload.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,AttributeTypeModel>getAttributeTypes()Getter method for the AttributeTypes for the dataset fields/columns.java.lang.StringgetData()Getter method for the dataset in the Analysation model.
-
-
-
Field Detail
-
data
private final java.lang.String data
-
attributeTypes
private final java.util.Map<java.lang.String,AttributeTypeModel> attributeTypes
-
-
Constructor Detail
-
AnalysationPayload
public AnalysationPayload(java.lang.String data, java.util.Map<java.lang.String,AttributeTypeModel> attributeTypes)Setter method for Analysation payload. Fills the object with the necessary data to analyse against re-identification risk.- Parameters:
data- data to analyse against re-identification riskattributeTypes- HashMap containing a String of dataset fields/column and a object ofAttributeTypeModelcontaining the attribute types
-
-
Method Detail
-
getData
public java.lang.String getData()
Getter method for the dataset in the Analysation model.- Returns:
- String containing the tabular dataset to analyse against re-identification risk
-
getAttributeTypes
public java.util.Map<java.lang.String,AttributeTypeModel> getAttributeTypes()
Getter method for the AttributeTypes for the dataset fields/columns.- Returns:
- HashMap containing a String of dataset fields/column and object
of
AttributeTypeModelcontaining the attribute types
-
-