Package no.oslomet.aaas.utils
Class ARXPrivacyCriterionFactory
- java.lang.Object
-
- no.oslomet.aaas.utils.ARXPrivacyCriterionFactory
-
@Component public class ARXPrivacyCriterionFactory extends java.lang.ObjectUtility class for assigning a privacy model
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringCOLUMNNAME
-
Constructor Summary
Constructors Constructor Description ARXPrivacyCriterionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) org.deidentifier.arx.criteria.PrivacyCriterioncreate(PrivacyCriterionModel.PrivacyModel model, java.util.Map<java.lang.String,java.lang.String> params)Returns an ArxPrivacyCriterionobject for the desired privacy object selected by the user.
-
-
-
Field Detail
-
COLUMNNAME
private static final java.lang.String COLUMNNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
org.deidentifier.arx.criteria.PrivacyCriterion create(PrivacyCriterionModel.PrivacyModel model, java.util.Map<java.lang.String,java.lang.String> params)
Returns an ArxPrivacyCriterionobject for the desired privacy object selected by the user.- Parameters:
model- enum representing the privacy model type we want createdparams- map containing parameters that defines which settings to be used to created the privacy model- Returns:
- an ARX
PrivacyCriterionobject created with the specified parameters
-
-