Enum Class ConsentStatus
- All Implemented Interfaces:
Serializable
,Comparable<ConsentStatus>
,Constable
wie wurde ein modul (und damit die enthaltenen policies) innerhalb eines consents konsentiert?
- Author:
- geidell
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ConsentStatus>
static String
getStringForType
(ConsentStatusType csType) static ConsentStatus
Returns the enum constant of this class with the specified name.static ConsentStatus
Returns the enum constant of this type with the specified name or an obsoleted form of a former name.static ConsentStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPTED
-
DECLINED
-
UNKNOWN
-
NOT_ASKED
-
NOT_CHOSEN
-
WITHDRAWN
-
INVALIDATED
-
REFUSED
-
EXPIRED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getConsentStatusType
-
getObsolete
-
valueOfIncludingObsolete
Returns the enum constant of this type with the specified name or an obsoleted form of a former name.- Parameters:
name
- the name or an obsoleted form of a former name- Returns:
- enum constant with the specified name or its obsoleted form
- Throws:
IllegalArgumentException
- – if this enum type has no constant with the specified name including obsoleted forms of a former names.- See Also:
-
getAllConsentStatusForType
-
getStringForType
-