Class MetaData


  • public class MetaData
    extends java.lang.Object
    Model class for the Metadata containing the anonymization and analysation settings.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​AttributeTypeModel> attributeTypeList  
      private java.util.Map<java.lang.String,​java.lang.String> dataType  
      private java.util.Map<java.lang.String,​java.lang.String[][]> hierarchy  
      private java.util.Map<PrivacyModel,​java.util.Map<java.lang.String,​java.lang.String>> models  
    • Constructor Summary

      Constructors 
      Constructor Description
      MetaData()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​AttributeTypeModel> getAttributeTypeList()
      Getter method that returns an object of AttributeTypeModel.
      java.util.Map<java.lang.String,​java.lang.String> getDataType()
      Getter method for the dataset data type.
      java.util.Map<java.lang.String,​java.lang.String[][]> getHierarchy()
      Getter method for the dataset hierarchy setting.
      java.util.Map<PrivacyModel,​java.util.Map<java.lang.String,​java.lang.String>> getModels()
      Getter method for the privacy models used for the dataset
      void setAttributeTypeList​(java.util.Map<java.lang.String,​AttributeTypeModel> AttributeTypeList)
      Setter method for the dataset fields/column attribute types.
      void setDataType​(java.util.Map<java.lang.String,​java.lang.String> dataType)
      Setter method for that dataset data type.
      void setHierarchy​(java.util.Map<java.lang.String,​java.lang.String[][]> hierarchy)
      Setter method for the dataset hierarchy setting.
      void setModels​(java.util.Map<PrivacyModel,​java.util.Map<java.lang.String,​java.lang.String>> models)
      Setter method for the privacy models used for the dataset
      • Methods inherited from class java.lang.Object

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

      • attributeTypeList

        private java.util.Map<java.lang.String,​AttributeTypeModel> attributeTypeList
      • dataType

        private java.util.Map<java.lang.String,​java.lang.String> dataType
      • hierarchy

        private java.util.Map<java.lang.String,​java.lang.String[][]> hierarchy
      • models

        private java.util.Map<PrivacyModel,​java.util.Map<java.lang.String,​java.lang.String>> models
    • Constructor Detail

      • MetaData

        public MetaData()
    • Method Detail

      • getAttributeTypeList

        public java.util.Map<java.lang.String,​AttributeTypeModel> getAttributeTypeList()
        Getter method that returns an object of AttributeTypeModel.
        Returns:
        HashMap containing the dataset fields/columns and its attribute type object from AttributeTypeModel
      • setAttributeTypeList

        public void setAttributeTypeList​(java.util.Map<java.lang.String,​AttributeTypeModel> AttributeTypeList)
        Setter method for the dataset fields/column attribute types.
        Parameters:
        AttributeTypeList - HashMap containing a String of dataset fields/column and a object of AttributeTypeModel containing the attribute types
      • getDataType

        public java.util.Map<java.lang.String,​java.lang.String> getDataType()
        Getter method for the dataset data type.
        Returns:
        HashMap containing a String describing a dataset field/column and a String describing the data type of that field/column
      • setDataType

        public void setDataType​(java.util.Map<java.lang.String,​java.lang.String> dataType)
        Setter method for that dataset data type.
        Parameters:
        dataType - HashMap containing a String describing a dataset field/column and a String describing the data type of that field/column
      • getHierarchy

        public java.util.Map<java.lang.String,​java.lang.String[][]> getHierarchy()
        Getter method for the dataset hierarchy setting.
        Returns:
        HashMap containing a String that describing a dataset field/column and a Sting array containing the hierarchy setting for that dataset field/column
      • setHierarchy

        public void setHierarchy​(java.util.Map<java.lang.String,​java.lang.String[][]> hierarchy)
        Setter method for the dataset hierarchy setting.
        Parameters:
        hierarchy - HashMap containing a String that describing a dataset field/column and a Sting array containing the hierarchy setting for that dataset field/column
      • getModels

        public java.util.Map<PrivacyModel,​java.util.Map<java.lang.String,​java.lang.String>> getModels()
        Getter method for the privacy models used for the dataset
        Returns:
        HashMap containing a object of PrivacyModel type used and a HashMap containing a String describing the type of value and String describing its value
      • setModels

        public void setModels​(java.util.Map<PrivacyModel,​java.util.Map<java.lang.String,​java.lang.String>> models)
        Setter method for the privacy models used for the dataset
        Parameters:
        models - HashMap containing a object of PrivacyModel type used and a HashMap containing a String describing the type of value and String describing its value