Enum Class HvlOAuthUserRegistrationSourceType
java.lang.Object
java.lang.Enum<HvlOAuthUserRegistrationSourceType>
tr.com.havelsan.javarch.oauth.jpa.data.common.module.user.data.HvlOAuthUserRegistrationSourceType
- All Implemented Interfaces:
Serializable
,Comparable<HvlOAuthUserRegistrationSourceType>
,Constable
,tr.com.havelsan.javarch.core.enumeration.HvlEnumeration
,tr.com.havelsan.javarch.data.converter.enumeration.HvlEnumerationConverter<Integer>
public enum HvlOAuthUserRegistrationSourceType
extends Enum<HvlOAuthUserRegistrationSourceType>
implements tr.com.havelsan.javarch.core.enumeration.HvlEnumeration, tr.com.havelsan.javarch.data.converter.enumeration.HvlEnumerationConverter<Integer>
The enum user registration source type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
code()
get
(int code) Gets user generator email strategy.label()
Returns the enum constant of this class with the specified name.static HvlOAuthUserRegistrationSourceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADMIN_REGISTRATION
Admin registration -
SELF_REGISTRATION
Self registration
-
-
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
-
get
Gets user generator email strategy.- Parameters:
code
- the code- Returns:
- the hvl o auth user generator email strategy
-
toDbValue
- Specified by:
toDbValue
in interfacetr.com.havelsan.javarch.data.converter.enumeration.HvlEnumerationConverter<Integer>
-
code
public int code()- Specified by:
code
in interfacetr.com.havelsan.javarch.core.enumeration.HvlEnumeration
-
label
- Specified by:
label
in interfacetr.com.havelsan.javarch.core.enumeration.HvlEnumeration
-