public abstract class ExplicitPrivacyCriterion extends PrivacyCriterion
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
attribute
Attribute
|
protected int |
index
Attribute index
|
Constructor and Description |
---|
ExplicitPrivacyCriterion(java.lang.String attribute,
boolean monotonicWithSuppression,
boolean monotonicWithGeneralization)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute()
Returns the associated sensitive attribute.
|
void |
initialize(org.deidentifier.arx.framework.data.DataManager manager)
Override this to initialize the criterion.
|
clone, getRequirements, isAnonymous, isMonotonicWithGeneralization, isMonotonicWithSuppression, isSampleBased, toString
protected final java.lang.String attribute
protected int index
public ExplicitPrivacyCriterion(java.lang.String attribute, boolean monotonicWithSuppression, boolean monotonicWithGeneralization)
attribute
- monotonicWithSuppression
- monotonicWithGeneralization
- public java.lang.String getAttribute()
public void initialize(org.deidentifier.arx.framework.data.DataManager manager)
PrivacyCriterion
initialize
in class PrivacyCriterion