Class EPPChangeInfoResp

java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.change.EPPChangeInfoResp
All Implemented Interfaces:
EPPCodecComponent, EPPMessage, Serializable, Cloneable

public class EPPChangeInfoResp extends EPPResponse
An EPPChangeInfoResp provides an answer to an EPPChangeInfoCmd and includes the following attributes:

  • A <change:requestID> element that contains the Request Id. Use getRequest and setRequest to get and set the element.
  • A <change:priority> element that contains the Request Priority. Use getPriority and setPriority to get and set the element.
  • A <change:category> element that contains the Request Category. Use getCategory and setCategory to get and set the element.
  • A <desc> element that contains the Request Description. Use getDescription and setDescription to get and set the element.
  • A <status> element that contains the Request Status. Use getStatus and setStatus to get and set the element.
  • A <crDate> element that contains the Request Created Date. Use getCreatedDate and setCreatedDate to get and set the element.
  • A <upDate> element that contains the Request Updated Date. Use getUpdatedDate and setUpdatedDate to get and set the element.
  • A <crID> element that contains the Request Created Id. Use getCreatedId and setCreatedId to get and set the element.
  • A <upID> element that contains the Request Updated Id. Use getUpdatedId and setUpdatedId to get and set the element.
  • 0 or more <action> elements that represent Change Actions. Use addAction, clearActions, getActions, and setActions to manipulate these elements.

See Also:
  • Constructor Details

    • EPPChangeInfoResp

      public EPPChangeInfoResp()
      Default constructor that needs the key attribute and the transid attribute set prior to calling encode.
    • EPPChangeInfoResp

      public EPPChangeInfoResp(EPPTransId aTransId)
      Creates an EPPChangeInfoResp only the transaction id set. The key attribute must be set prior to calling encode.
      Parameters:
      aTransId - The transaction id containing the server transaction and optionally the client transaction id
  • Method Details

    • addAction

      public void addAction(EPPChangeAction action)
    • addCategory

      public void addCategory(String category)
    • clearActions

      public void clearActions()
    • clearCategories

      public void clearCategories()
    • clone

      public Object clone() throws CloneNotSupportedException
      Does a deep clone of the EPPChangeInfoResp instance.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class EPPResponse
      Returns:
      Cloned instance
      Throws:
      CloneNotSupportedException - standard Object.clone exception
    • equals

      public boolean equals(Object o)
      Compare an instance of EPPChangeInfoResp with this instance
      Overrides:
      equals in class EPPResponse
      Parameters:
      o - EPPResponse instance to compare with
      Returns:
      true if equal; false otherwise
    • getActions

      public List getActions()
    • getCategories

      public List getCategories()
    • getCreatedDate

      public Date getCreatedDate()
    • getCreatedDateString

      public String getCreatedDateString()
    • getCreatedId

      public String getCreatedId()
    • getDescription

      public String getDescription()
    • getNamespace

      public String getNamespace()
      Gets the EPP command namespace associated with EPPChangeInfoResp.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Specified by:
      getNamespace in interface EPPMessage
      Overrides:
      getNamespace in class EPPResponse
      Returns:
      EPPChangeMapFactory.NS
    • getPriority

      public String getPriority()
    • getRequestId

      public String getRequestId()
    • getStatus

      public String getStatus()
    • getType

      public String getType()
      Gets the EPP response type associated with EPPChangeInfoResp.
      Overrides:
      getType in class EPPResponse
      Returns:
      EPPChangeInfoResp.ELM_NAME
    • getUpdatedDate

      public Date getUpdatedDate()
    • getUpdatedDateString

      public String getUpdatedDateString()
    • getUpdatedId

      public String getUpdatedId()
    • setActions

      public void setActions(List actions)
    • setCategories

      public void setCategories(List categories)
    • setCreatedDate

      public void setCreatedDate(Date createdDate)
    • setCreatedDate

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

      public void setCreatedId(String createdId)
    • setDescription

      public void setDescription(String description)
    • setPriority

      public void setPriority(String priority)
    • setRequestId

      public void setRequestId(String requestId)
    • setStatus

      public void setStatus(String status)
    • setUpdatedDate

      public void setUpdatedDate(Date updatedDate)
    • setUpdatedDate

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

      public void setUpdatedId(String updatedId)
    • 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 EPPResponse
      Returns:
      Indented XML String if successful; ERROR otherwise.
    • doDecode

      protected void doDecode(Element aElement) throws EPPDecodeException
      Decode the EPPChangeInfoResp attributes from the aElement DOM Element tree.
      Overrides:
      doDecode in class EPPResponse
      Parameters:
      aElement - Root DOM Element to decode EPPChangeInfoResp from.
      Throws:
      EPPDecodeException - Unable to decode aElement
    • doEncode

      protected Element doEncode(Document aDocument) throws EPPEncodeException
      Encode a DOM Element tree from the attributes of the EPPChangeInfoResp instance.
      Overrides:
      doEncode in class EPPResponse
      Parameters:
      aDocument - DOM Document that is being built. Used as an Element factory.
      Returns:
      Root DOM Element representing the EPPChangeInfoResp instance.
      Throws:
      EPPEncodeException - Unable to encode EPPChangeInfoResp instance.