Class EPPRegistryRedemptionPeriodType

java.lang.Object
com.verisign.epp.codec.registry.EPPRegistryPeriodType
com.verisign.epp.codec.registry.EPPRegistryRedemptionPeriodType
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPRegistryRedemptionPeriodType extends EPPRegistryPeriodType
Defines the length of time that a domain object will remain in the redemptionPeriod status unless the restore request command is received.
See Also:
  • Field Details

    • ELM_NAME

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

    • EPPRegistryRedemptionPeriodType

      public EPPRegistryRedemptionPeriodType()
    • EPPRegistryRedemptionPeriodType

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

      public EPPRegistryRedemptionPeriodType(int number, String unit)
      Constructs an instance of EPPRegistryRedemptionPeriodType 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 EPPRegistryRedemptionPeriodType 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.