Class EPPRegistryTransferHoldPeriodType

  • All Implemented Interfaces:
    EPPCodecComponent, java.io.Serializable, java.lang.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:
    EPPRegistryDomain, Serialized Form
    • Field Detail

      • ELM_NAME

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

      • EPPRegistryTransferHoldPeriodType

        public EPPRegistryTransferHoldPeriodType​(java.lang.Integer number,
                                                 java.lang.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,
                                                 java.lang.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 Detail

      • equals

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