Class EPPSecDNSExtUpdate

java.lang.Object
com.verisign.epp.codec.secdnsext.v10.EPPSecDNSExtUpdate
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPSecDNSExtUpdate extends Object implements EPPCodecComponent
The EPPSecDNSExtUpdate is the EPPCodecComponent that knows how to encode and decode secDNS update elements from/to XML and object instance.

Title: EPP 1.0 secDNS

Description: secDNS Extension to the EPP SDK

Copyright: Copyright (c) 2006

Company: VeriSign

See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Element tag name for the add
    static final String
    Element tag name for the chg
    static final String
    Element tag name for the update
    static final String
    Element tag name for the rem
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiate a new instance of EPPSecDNSExtUpdate
    EPPSecDNSExtUpdate(List addDsData, List chgDsData, List remKeyTag)
    Creates a new instance of the EPPSecDNSExtUpdate with the add, chg, and rem elements.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add/Append to the List of DS Data EPPSecDNSExtDsData instances to add
    void
    Add/Append to the List of DS Data EPPSecDNSExtDsData instances to chg
    void
    appendRem(int keyTag)
    Add/Append to the List of DS keyTag Integer instances specifying keyTag to rem
    void
    Add/Append to the List of DS keyTag Integer instances specifying keyTag to rem.
    void
    Add/Append to the List of DS keyTag Integer instances specifying keyTag to rem
    Clone EPPSecDNSExtUpdate.
    void
    decode(Element aElement)
    Populate the data of this instance with the data stored in the given Element of the DOM tree
    encode(Document aDocument)
    Append all data from this secDNS update to the given DOM Document
    boolean
    equals(Object aObject)
    implements a deep EPPSecDNSExtUpdate compare.
    Get the List of DS Data EPPSecDNSExtDsData instances to add
    Get the List of DS Data EPPSecDNSExtDsData instances to chg
    The namespace associated with this secDNS update.
    Get the List of DS keyTag Integer instances specifying keyTag to rem
    boolean
    Is the update request urgent?
    void
    setAdd(List addDsData)
    Set the List of DS Data EPPSecDNSExtDsData instances to add
    void
    setChg(List chgDsData)
    Set the List of DS Data EPPSecDNSExtDsData instances to chg
    void
    setRem(List remKeyTag)
    Set the List of DS keyTag Integer instances specifying keyTag to rem
    void
    setUrgent(boolean urgent)
    Sets the urgent attribute.

    Methods inherited from class java.lang.Object

    finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • EPPSecDNSExtUpdate

      public EPPSecDNSExtUpdate()
      Instantiate a new instance of EPPSecDNSExtUpdate
    • EPPSecDNSExtUpdate

      public EPPSecDNSExtUpdate(List addDsData, List chgDsData, List remKeyTag)
      Creates a new instance of the EPPSecDNSExtUpdate with the add, chg, and rem elements.
      Parameters:
      addDsData - List of DS Data EPPSecDNSExtDsData instances to add
      chgDsData - List of DS Data EPPSecDNSExtDsData instances to chg
      remKeyTag - List of DS keyTag Integer instances specifying keyTag to rem
  • Method Details

    • getNamespace

      public String getNamespace()
      The namespace associated with this secDNS update.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Returns:
      The namespace associated with secDNS component
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Append all data from this secDNS update to the given DOM Document
      Specified by:
      encode in interface EPPCodecComponent
      Parameters:
      aDocument - The DOM Document to append data to
      Returns:
      Encoded DOM Element
      Throws:
      EPPEncodeException - Thrown when errors occur during the encode attempt or if the instance is invalid.
    • decode

      public void decode(Element aElement) throws EPPDecodeException
      Populate the data of this instance with the data stored in the given Element of the DOM tree
      Specified by:
      decode in interface EPPCodecComponent
      Parameters:
      aElement - The root element of the report fragment of XML
      Throws:
      EPPDecodeException - Thrown if any errors occur during decoding.
    • equals

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

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

      public List getAdd()
      Get the List of DS Data EPPSecDNSExtDsData instances to add
      Returns:
      List of EPPSecDNSExtDsData instances
    • setAdd

      public void setAdd(List addDsData)
      Set the List of DS Data EPPSecDNSExtDsData instances to add
      Parameters:
      addDsData - List of EPPSecDNSExtDsData instances
    • appendAdd

      public void appendAdd(EPPSecDNSExtDsData dsData)
      Add/Append to the List of DS Data EPPSecDNSExtDsData instances to add
      Parameters:
      dsData - EPPSecDNSExtDsData instance
    • getChg

      public List getChg()
      Get the List of DS Data EPPSecDNSExtDsData instances to chg
      Returns:
      List of EPPSecDNSExtDsData instances
    • setChg

      public void setChg(List chgDsData)
      Set the List of DS Data EPPSecDNSExtDsData instances to chg
      Parameters:
      chgDsData - List of EPPSecDNSExtDsData instances
    • appendChg

      public void appendChg(EPPSecDNSExtDsData dsData)
      Add/Append to the List of DS Data EPPSecDNSExtDsData instances to chg
      Parameters:
      dsData - EPPSecDNSExtDsData instance
    • getRem

      public List getRem()
      Get the List of DS keyTag Integer instances specifying keyTag to rem
      Returns:
      List of Integer instances specifying keyTag to rem
    • setRem

      public void setRem(List remKeyTag)
      Set the List of DS keyTag Integer instances specifying keyTag to rem
      Parameters:
      remKeyTag - List of Integer instances specifying keyTag to rem
    • appendRem

      public void appendRem(Integer keyTag)
      Add/Append to the List of DS keyTag Integer instances specifying keyTag to rem
      Parameters:
      keyTag - an Integer instance representing secDNS:keyTag
    • appendRem

      public void appendRem(int keyTag)
      Add/Append to the List of DS keyTag Integer instances specifying keyTag to rem
      Parameters:
      keyTag - an int value representing secDNS:keyTag
    • appendRem

      public void appendRem(EPPSecDNSExtDsData dsData)
      Add/Append to the List of DS keyTag Integer instances specifying keyTag to rem. This convenience method will extract the secDNS:keyTag element from the EPPSecDNSExtDsData provided.
      Parameters:
      dsData - EPPSecDNSExtDsData instance specifying keyTag to rem
    • isUrgent

      public boolean isUrgent()
      Is the update request urgent?
      Returns:
      Returns true if the client has asked the server operator to process the update command with a high priority; false otherwise.
    • setUrgent

      public void setUrgent(boolean urgent)
      Sets the urgent attribute.
      Parameters:
      urgent - The urgent value to set.