Enum Class Registrar.Type

java.lang.Object
java.lang.Enum<Registrar.Type>
google.registry.model.registrar.Registrar.Type
All Implemented Interfaces:
Serializable, Comparable<Registrar.Type>, Constable
Enclosing class:
Registrar

public static enum Registrar.Type extends Enum<Registrar.Type>
Represents the type of registrar entity.
  • Enum Constant Details

    • REAL

      public static final Registrar.Type REAL
      A real-world, third-party registrar. Should have non-null IANA and billing account IDs.
    • OTE

      public static final Registrar.Type OTE
      A registrar account used by a real third-party registrar undergoing operational testing and evaluation. Should only be created in sandbox, and should have null IANA/billing account IDs.
    • PDT

      public static final Registrar.Type PDT
      A registrar used for predelegation testing. Should have a null billing account ID. The IANA ID should be either 9995 or 9996, which are reserved for predelegation testing.
    • EXTERNAL_MONITORING

      public static final Registrar.Type EXTERNAL_MONITORING
      A registrar used for external monitoring by ICANN. Should have IANA ID 9997 and a null billing account ID.
    • INTERNAL

      public static final Registrar.Type INTERNAL
      A registrar used for when the registry acts as a registrar. Must have either IANA ID 9998 (for billable transactions) or 9999 (for non-billable transactions).
    • MONITORING

      public static final Registrar.Type MONITORING
      A registrar used for internal monitoring. Should have null IANA/billing account IDs.
    • TEST

      public static final Registrar.Type TEST
      A registrar used for internal testing. Should have null IANA/billing account IDs.
  • Method Details

    • values

      public static Registrar.Type[] 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 Registrar.Type 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
    • isValidIanaId

      public boolean isValidIanaId(Long ianaId)
      Returns true if the given IANA identifier is valid for this registrar type.