Enum Method
- java.lang.Object
-
- java.lang.Enum<Method>
-
- org.iqtig.pseudonymisierung.enums.Method
-
- All Implemented Interfaces:
Serializable
,Comparable<Method>
public enum Method extends Enum<Method>
Pseudonymisierungsverfahren.
Das Pseudonymisierungsverfahren wird benutzt um je nach Verfahren ein Pseudonym zu erzeugen.
Sprich das Pseudonym eines bestimmten Klartextes wird vor der Verschlüsselung mit derString
-Repräsentation der Method verknüpft
um ein Verfahrensbezogenes Pseudonym zu erzeugen.
Abkürzungen siehe https://iqtig.org/abkuerzungen/
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Method
fromString(String methodString)
Liefert den EnumType zu dem entsprechenden String.static Method
valueOf(String name)
Returns the enum constant of this type with the specified name.static Method[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHE
public static final Method CHE
-
DK
public static final Method DK
-
HCH
public static final Method HCH
-
HTXM
public static final Method HTXM
-
LLTX
public static final Method LLTX
-
LUTX
public static final Method LUTX
-
NET
public static final Method NET
-
NLS
public static final Method NLS
-
NWI
public static final Method NWI
-
PCI
public static final Method PCI
-
ZK
public static final Method ZK
-
UNDEFINED
public static final Method UNDEFINED
-
-
Method Detail
-
values
public static Method[] 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 (Method c : Method.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Method valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
public static Method fromString(String methodString) throws PseudonymisationException
Liefert den EnumType zu dem entsprechenden String.- Parameters:
methodString
-String
Wert.- Returns:
Method
- Throws:
PseudonymisationException
- im Fehlerfall
-
-