Class EPPRegistryPendingRestorePeriodType

  • All Implemented Interfaces:
    EPPCodecComponent, java.io.Serializable, java.lang.Cloneable

    public class EPPRegistryPendingRestorePeriodType
    extends EPPRegistryPeriodType
    Defines the length of time that the domain object will remain in the pendingRestore status unless the restore report command is received..
    See Also:
    EPPRegistryRGP, Serialized Form
    • Field Detail

      • ELM_NAME

        public static final java.lang.String ELM_NAME
        XML Element Name of EPPRegistryPendingRestorePeriodType root element.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EPPRegistryPendingRestorePeriodType

        public EPPRegistryPendingRestorePeriodType​(java.lang.Integer number,
                                                   java.lang.String unit)
        Constructs an instance of EPPRegistryPendingRestorePeriodType with number and unit.
        Parameters:
        number - number must be > 0
        unit - unit must be one of "y", "m", "d", or "h"
      • EPPRegistryPendingRestorePeriodType

        public EPPRegistryPendingRestorePeriodType​(int number,
                                                   java.lang.String unit)
        Constructs an instance of EPPRegistryPendingRestorePeriodType with number and unit.
        Parameters:
        number - number must be > 0
        unit - unit must be one of "y", "m", "d", or "h"
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object aObject)
        Compare an instance of EPPRegistryPendingRestorePeriodType with this instance.
        Overrides:
        equals in class EPPRegistryPeriodType
        Parameters:
        aObject - Object to compare with.
        Returns:
        true if equal; false otherwise.
      • getNamespace

        public java.lang.String getNamespace()
        Returns the XML namespace associated with the EPPCodecComponent.
        Returns:
        XML namespace for the EPPCodecComponent.