Class EPPChangeAction

java.lang.Object
com.verisign.epp.codec.change.type.EPPChangeAction
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPChangeAction extends Object implements EPPCodecComponent
Encapsulates an Change:Action attached to a Change:Request.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • clone

      public Object clone() throws CloneNotSupportedException
      Description copied from interface: EPPCodecComponent
      clone an EPPCodecComponent.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class Object
      Returns:
      clone of concrete EPPCodecComponent
      Throws:
      CloneNotSupportedException - standard Object.clone exception
    • decode

      public void decode(Element aElement) throws EPPDecodeException
      Decode the EPPChangeAction attributes from the DOM Element tree.
      Specified by:
      decode in interface EPPCodecComponent
      Parameters:
      aElement - - Root DOM Element to decode
      Throws:
      EPPDecodeException - Unable to decode aElement
      EPPDecodeException - On decoding error
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Encode a DOM Element tree from the attributes of the EPPChangeTld instance.
      Specified by:
      encode in interface EPPCodecComponent
      Parameters:
      aDocument - - DOM Document that is being built. Used as an Element factory.
      Returns:
      Element - Root DOM Element representing the EPPChangeTld instance.
      Throws:
      EPPEncodeException - - Unable to encode EPPChangeTld instance.
    • equals

      public boolean equals(Object o)
      Implements a deep EPPChangeAction compare
      Overrides:
      equals in class Object
      Parameters:
      o - EPPChangeAction instance
      Returns:
      true if equal; false otherwise.
    • getClientTransId

      public String getClientTransId()
    • getCreatedDate

      public Date getCreatedDate()
    • getCreatedDateString

      public String getCreatedDateString()
    • getDefinition

      public String getDefinition()
    • getRequestId

      public String getRequestId()
    • getServerTransId

      public String getServerTransId()
    • getUpdatedDate

      public Date getUpdatedDate()
    • getUpdatedDateString

      public String getUpdatedDateString()
    • setClientTransId

      public void setClientTransId(String clientTransId)
    • setCreatedDate

      public void setCreatedDate(Date createdDate)
    • setCreatedDate

      public void setCreatedDate(String createdDate) throws ParseException
      Throws:
      ParseException
    • setDefinition

      public void setDefinition(String definition)
    • setRequestId

      public void setRequestId(String requestId)
    • setServerTransId

      public void setServerTransId(String serverTransId)
    • setUpdatedDate

      public void setUpdatedDate(Date updatedDate)
    • setUpdatedDate

      public void setUpdatedDate(String updatedDate) throws ParseException
      Throws:
      ParseException
    • toLogString

      public String toLogString()
    • toString

      public String toString()
      Implementation of Object.toString, which will result in an indented XML String representation of the concrete EPPCodecComponent.
      Overrides:
      toString in class Object
      Returns:
      Indented XML String if successful; ERROR 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.