Class EPPRegistryPendingRestorePeriodType

java.lang.Object
com.verisign.epp.codec.registry.EPPRegistryPeriodType
com.verisign.epp.codec.registry.EPPRegistryPendingRestorePeriodType
All Implemented Interfaces:
EPPCodecComponent, Serializable, 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:
  • Field Details

    • ELM_NAME

      public static final String ELM_NAME
      XML Element Name of EPPRegistryPendingRestorePeriodType root element.
      See Also:
  • Constructor Details

    • EPPRegistryPendingRestorePeriodType

      public EPPRegistryPendingRestorePeriodType()
    • EPPRegistryPendingRestorePeriodType

      public EPPRegistryPendingRestorePeriodType(Integer number, 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, 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 Details

    • equals

      public boolean equals(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 String getNamespace()
      Returns the XML namespace associated with the EPPCodecComponent.
      Returns:
      XML namespace for the EPPCodecComponent.