public enum ExpirationProperties extends java.lang.Enum<ExpirationProperties>
Enum Constant and Description |
---|
EXPIRATION_DATE
after this date all consents belonging to this consent template expire
optional |
EXPIRATION_DATE_FORMAT
format for the expiration date
defaults to yyyy.MM.dd |
VALIDITY_PERIOD
a consent belonging to this consent template will expire after this time period
ISO-8601 period format optional |
Modifier and Type | Method and Description |
---|---|
static ExpirationProperties |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExpirationProperties[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpirationProperties EXPIRATION_DATE
public static final ExpirationProperties EXPIRATION_DATE_FORMAT
public static final ExpirationProperties VALIDITY_PERIOD
public static ExpirationProperties[] values()
for (ExpirationProperties c : ExpirationProperties.values()) System.out.println(c);
public static ExpirationProperties 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 null