Package no.oslomet.aaas.model
Enum PrivacyCriterionModel.PrivacyModel
- java.lang.Object
-
- java.lang.Enum<PrivacyCriterionModel.PrivacyModel>
-
- no.oslomet.aaas.model.PrivacyCriterionModel.PrivacyModel
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PrivacyCriterionModel.PrivacyModel>
- Enclosing class:
- PrivacyCriterionModel
public static enum PrivacyCriterionModel.PrivacyModel extends java.lang.Enum<PrivacyCriterionModel.PrivacyModel>
Model enum for PrivacyCriterionModel. Designates the Privacy model to be used in the anonymization process.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KANONYMITYLDIVERSITY_DISTINCTLDIVERSITY_GRASSBERGERENTROPYLDIVERSITY_RECURSIVELDIVERSITY_SHANNONENTROPYTCLOSENESS_EQUAL_DISTANCETCLOSENESS_ORDERED_DISTANCE
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringname
-
Constructor Summary
Constructors Modifier Constructor Description privatePrivacyModel(java.lang.String name)Setter method for the privacy medel.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Getter method for the privacy model used.static PrivacyCriterionModel.PrivacyModelvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PrivacyCriterionModel.PrivacyModel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KANONYMITY
public static final PrivacyCriterionModel.PrivacyModel KANONYMITY
-
LDIVERSITY_DISTINCT
public static final PrivacyCriterionModel.PrivacyModel LDIVERSITY_DISTINCT
-
LDIVERSITY_GRASSBERGERENTROPY
public static final PrivacyCriterionModel.PrivacyModel LDIVERSITY_GRASSBERGERENTROPY
-
LDIVERSITY_SHANNONENTROPY
public static final PrivacyCriterionModel.PrivacyModel LDIVERSITY_SHANNONENTROPY
-
LDIVERSITY_RECURSIVE
public static final PrivacyCriterionModel.PrivacyModel LDIVERSITY_RECURSIVE
-
TCLOSENESS_EQUAL_DISTANCE
public static final PrivacyCriterionModel.PrivacyModel TCLOSENESS_EQUAL_DISTANCE
-
TCLOSENESS_ORDERED_DISTANCE
public static final PrivacyCriterionModel.PrivacyModel TCLOSENESS_ORDERED_DISTANCE
-
-
Method Detail
-
values
public static PrivacyCriterionModel.PrivacyModel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PrivacyCriterionModel.PrivacyModel c : PrivacyCriterionModel.PrivacyModel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrivacyCriterionModel.PrivacyModel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getName
public java.lang.String getName()
Getter method for the privacy model used.- Returns:
- String containing the name of the privacy model used.
-
-