Class EPPRegistryTransferHoldPeriodType

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

public class EPPRegistryTransferHoldPeriodType extends EPPRegistryPeriodType
Represents the period of time a domain object is in the pending transfer before the transfer is auto approved by the server. The <registry:transferHoldPeriod> element MUST have the "unit" attribute with the possible values of "y" for year, "m" for month, and "d" for day..
See Also:
  • Field Details

    • ELM_NAME

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

    • EPPRegistryTransferHoldPeriodType

      public EPPRegistryTransferHoldPeriodType()
    • EPPRegistryTransferHoldPeriodType

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

      public EPPRegistryTransferHoldPeriodType(int number, String unit)
      Construct an instance of EPPRegistryTransferHoldPeriodType with number and unit.
      Parameters:
      number - number must be > 0
      unit - unit must be one of "y", "m" or "d"
  • Method Details

    • equals

      public boolean equals(Object aObject)
      Compare an instance of EPPRegistryTransferHoldPeriodType 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.