Class EPPOrgCreateResp

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

public class EPPOrgCreateResp extends EPPResponse
Represents an EPP Internationalized Domain Name (IDN) Table <info> response, which support three different forms:
  • Domain Info Form - Used to validate the domain name code points against the IDN Tables and IDN Policies, and to return the matching IDN Table meta-data.
  • Table Info Form - Used to retrieve information associated with an IDN Table object.
  • List Info Form - Used to retrieve the list of IDN Tables supported by the server.

EPPOrgInfoCmd is the concrete EPPCommand associated with EPPOrgInfoCmd.
See Also:
  • Field Details

  • Constructor Details

    • EPPOrgCreateResp

      public EPPOrgCreateResp()
      EPPOrgCreateResp default constructor.
    • EPPOrgCreateResp

      public EPPOrgCreateResp(EPPTransId aTransId)
      EPPOrgCreateResp constructor that only takes the transaction identifier.
      Parameters:
      aTransId - Transaction Id associated with response.
    • EPPOrgCreateResp

      public EPPOrgCreateResp(EPPTransId aTransId, String aOrgId, Date aCreatedDate)
      EPPOrgCreateResp constructor that all attributes as parameters.
      Parameters:
      aTransId - Transaction Id associated with command. Set to null if a client transaction identifier is not desired.
      aOrgId - Org identifier
      aCreatedDate - Org created date
  • Method Details

    • getOrgId

      public String getOrgId()
      Gets the the server-unique identifier of the organization object.
      Returns:
      The the server-unique identifier of the organization object if defined;null otherwise.
    • setOrgId

      public void setOrgId(String aOrgId)
      Sets the org identifier.
      Parameters:
      aOrgId - The org identifier
    • getCreatedDate

      public Date getCreatedDate()
      Returns:
      the createdDate
    • setCreatedDate

      public void setCreatedDate(Date aCreatedDate)
      Parameters:
      aCreatedDate - the createdDate to set
    • doEncode

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

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

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

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

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

      public boolean equals(Object aObject)
      Compare an instance of EPPOrgCreateResp with this instance.
      Overrides:
      equals in class EPPResponse
      Parameters:
      aObject - Object to compare with.
      Returns:
      true if this object is the same as the aObject argument; false otherwise
    • 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.