Class EPPLaunchDelete

java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchDelete
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPLaunchDelete extends Object implements EPPCodecComponent
Extension to the domain delete command to delete a launch phase application.
See Also:
  • Field Details

    • ELM_LOCALNAME

      public static final String ELM_LOCALNAME
      Constant for the launch phase delete extension local name
      See Also:
    • ELM_NAME

      public static final String ELM_NAME
      Constant for the launch phase info extension tag
      See Also:
  • Constructor Details

    • EPPLaunchDelete

      public EPPLaunchDelete()
      Create an EPPLaunchDelete instance
    • EPPLaunchDelete

      public EPPLaunchDelete(EPPLaunchPhase aPhase, String aApplicationId)
      Create a EPPLaunchDelete instance with both the required phase and required application identifier attribute values.
      Parameters:
      aPhase - Phase during which the application was submitted or is associated with
      aApplicationId - Application identifier of the launch application
  • Method Details

    • getPhase

      public EPPLaunchPhase getPhase()
      Gets phase during which the application was submitted or is associated with.
      Returns:
      phase during which the application was submitted or is associated with if defined; null otherwise.
    • setPhase

      public void setPhase(EPPLaunchPhase aPhase)
      Sets the phase during which the application was submitted or is associated with.
      Parameters:
      aPhase - Phase during which the application was submitted or is associated with
    • setPhase

      public void setPhase(String aPhaseString)
      Sets the phase with one of the EPPLaunchPhase PHASE constants.
      Parameters:
      aPhaseString - One of the EPPLaunchPhase PHASE constants.
    • getApplicationId

      public String getApplicationId()
      Gets the application identifier of the launch application.
      Returns:
      Application identifier if defined; null otherwise.
    • setApplicationId

      public void setApplicationId(String aApplicationId)
      Sets the application identifier of the launch application.
      Parameters:
      aApplicationId - Application identifier of the launch application
    • clone

      public Object clone() throws CloneNotSupportedException
      Clone EPPLaunchDelete.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class Object
      Returns:
      clone of EPPLaunchDelete
      Throws:
      CloneNotSupportedException - standard Object.clone exception
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Encode the EPPLaunchDelete to a DOM Element
      Specified by:
      encode in interface EPPCodecComponent
      Parameters:
      aDocument - a DOM Document to attach data to.
      Returns:
      The root element of this component.
      Throws:
      EPPEncodeException - Thrown if any errors prevent encoding.
    • decode

      public void decode(Element aElement) throws EPPDecodeException
      Decode the DOM element to the EPPLaunchDelete.
      Specified by:
      decode in interface EPPCodecComponent
      Parameters:
      aElement - DOM Element to decode the attribute values
      Throws:
      EPPDecodeException - Error decoding the DOM Element
    • equals

      public boolean equals(Object aObject)
      implements a deep EPPLaunchDelete compare.
      Overrides:
      equals in class Object
      Parameters:
      aObject - EPPLaunchDelete instance to compare with
      Returns:
      true if equal false otherwise
    • getNamespace

      public String getNamespace()
      Returns the XML namespace associated with the EPPCodecComponent.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Returns:
      XML namespace for the EPPCodecComponent.