public enum NfdDpeVersionState extends java.lang.Enum<NfdDpeVersionState>
Functionalities to check the Version of the NFD Storage structures
| Enum Constant and Description |
|---|
NFD_DPE_VERSION_INADMISSIBLE |
NFD_DPE_VERSION_PERMITTED |
| Modifier and Type | Method and Description |
|---|---|
static NfdDpeVersionState |
getVersionState(de.gematik.ti.healthcardaccess.result.Response response)
Returns the actual NFD version state
|
de.gematik.ti.healthcardaccess.operation.Result<NfdDpeVersionState> |
validateVersion(NfdDpeVersionState state)
validates the determined state
|
static NfdDpeVersionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NfdDpeVersionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NfdDpeVersionState NFD_DPE_VERSION_PERMITTED
public static final NfdDpeVersionState NFD_DPE_VERSION_INADMISSIBLE
public static NfdDpeVersionState[] values()
for (NfdDpeVersionState c : NfdDpeVersionState.values()) System.out.println(c);
public static NfdDpeVersionState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static NfdDpeVersionState getVersionState(de.gematik.ti.healthcardaccess.result.Response response)
Returns the actual NFD version state
response - response from cardpublic de.gematik.ti.healthcardaccess.operation.Result<NfdDpeVersionState> validateVersion(NfdDpeVersionState state)
validates the determined state
state - determined state