public enum ConsentStatus extends java.lang.Enum<ConsentStatus>
Enum Constant and Description |
---|
ACCEPTED |
DECLINED |
EXPIRED |
INVALIDATED |
NOT_ASKED |
NOT_CHOOSEN |
REFUSED |
REVOKED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ConsentStatus> |
getAllConsentStatusForType(ConsentStatusType csType) |
ConsentStatusType |
getConsentStatusType() |
static java.lang.String |
getStringForType(ConsentStatusType csType) |
static ConsentStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsentStatus ACCEPTED
public static final ConsentStatus DECLINED
public static final ConsentStatus UNKNOWN
public static final ConsentStatus NOT_ASKED
public static final ConsentStatus NOT_CHOOSEN
public static final ConsentStatus REVOKED
public static final ConsentStatus INVALIDATED
public static final ConsentStatus REFUSED
public static final ConsentStatus EXPIRED
public static ConsentStatus[] values()
for (ConsentStatus c : ConsentStatus.values()) System.out.println(c);
public static ConsentStatus 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 ConsentStatusType getConsentStatusType()
public static java.util.List<ConsentStatus> getAllConsentStatusForType(ConsentStatusType csType)
public static java.lang.String getStringForType(ConsentStatusType csType)