Class AnalysationPayload


  • public class AnalysationPayload
    extends java.lang.Object
    Model class for Analysation data payload containing the data to be analysed and the attribute types of the dataset fields/columns.
    • 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.String getData()
      Getter method for the dataset in the Analysation model.
      • 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
      • 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 risk
        attributeTypes - HashMap containing a String of dataset fields/column and a object of AttributeTypeModel containing 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 AttributeTypeModel containing the attribute types