Package no.oslomet.aaas.model
Class MetaData
- java.lang.Object
-
- no.oslomet.aaas.model.MetaData
-
public class MetaData extends java.lang.ObjectModel 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>attributeTypeListprivate java.util.Map<java.lang.String,java.lang.String>dataTypeprivate java.util.Map<java.lang.String,java.lang.String[][]>hierarchyprivate 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 ofAttributeTypeModel.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 datasetvoidsetAttributeTypeList(java.util.Map<java.lang.String,AttributeTypeModel> AttributeTypeList)Setter method for the dataset fields/column attribute types.voidsetDataType(java.util.Map<java.lang.String,java.lang.String> dataType)Setter method for that dataset data type.voidsetHierarchy(java.util.Map<java.lang.String,java.lang.String[][]> hierarchy)Setter method for the dataset hierarchy setting.voidsetModels(java.util.Map<PrivacyModel,java.util.Map<java.lang.String,java.lang.String>> models)Setter method for the privacy models used for the dataset
-
-
-
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
-
-
Method Detail
-
getAttributeTypeList
public java.util.Map<java.lang.String,AttributeTypeModel> getAttributeTypeList()
Getter method that returns an object ofAttributeTypeModel.- 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 ofAttributeTypeModelcontaining 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
PrivacyModeltype 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 ofPrivacyModeltype used and a HashMap containing a String describing the type of value and String describing its value
-
-