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
  • Enum Constant Details

  • Method Details

    • values

      public static HvlOAuthUserRegistrationSourceType[] 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

      public static HvlOAuthUserRegistrationSourceType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • get

      public static HvlOAuthUserRegistrationSourceType get(int code)
      Gets user generator email strategy.
      Parameters:
      code - the code
      Returns:
      the hvl o auth user generator email strategy
    • toDbValue

      public Integer toDbValue()
      Specified by:
      toDbValue in interface tr.com.havelsan.javarch.data.converter.enumeration.HvlEnumerationConverter<Integer>
    • code

      public int code()
      Specified by:
      code in interface tr.com.havelsan.javarch.core.enumeration.HvlEnumeration
    • label

      public String label()
      Specified by:
      label in interface tr.com.havelsan.javarch.core.enumeration.HvlEnumeration