Package google.registry.model.registrar
Enum Class RegistrarBase.Type
- All Implemented Interfaces:
Serializable
,Comparable<RegistrarBase.Type>
,Constable
- Enclosing class:
RegistrarBase
Represents the type of registrar entity.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA registrar used for external monitoring by ICANN.A registrar used for when the registry acts as a registrar.A registrar used for internal monitoring.A registrar account used by a real third-party registrar undergoing operational testing and evaluation.A registrar used for predelegation testing.A real-world, third-party registrar.A registrar used for internal testing. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValidIanaId
(Long ianaId) Returns true if the given IANA identifier is valid for this registrar type.static RegistrarBase.Type
Returns the enum constant of this class with the specified name.static RegistrarBase.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REAL
A real-world, third-party registrar. Should have non-null IANA and billing account IDs. -
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
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
A registrar used for external monitoring by ICANN. Should have IANA ID 9997 and a null billing account ID. -
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
A registrar used for internal monitoring. Should have null IANA/billing account IDs. -
TEST
A registrar used for internal testing. Should have null IANA/billing account IDs.
-
-
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
-
isValidIanaId
Returns true if the given IANA identifier is valid for this registrar type.
-