Class EPPStatusSetInfo

java.lang.Object
com.verisign.epp.codec.statusset.v01.EPPStatusSetAuthTokenList
com.verisign.epp.codec.statusset.v01.EPPStatusSetInfo
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPStatusSetInfo extends EPPStatusSetAuthTokenList
TTL Info Extension that enables a client to indicate whether to include the TTL policy attributes in the response.
See Also:
  • Field Details

  • Constructor Details

    • EPPStatusSetInfo

      public EPPStatusSetInfo()
      Default constructor for EPPStatusSetInfo.
    • EPPStatusSetInfo

      public EPPStatusSetInfo(List<EPPAuthTokenData> aAuthTokens)
      Constructor for EPPStatusSetInfo that a list of authentication tokens
      Parameters:
      aAuthTokens - A list of authentication tokens. Can be set to null
    • EPPStatusSetInfo

      public EPPStatusSetInfo(EPPAuthTokenData aAuthToken)
      Constructor for EPPStatusSetInfo that takes a single authentication token.
      Parameters:
      aAuthToken - A single authentication token
    • EPPStatusSetInfo

      public EPPStatusSetInfo(EPPStatusSetInfo.Sets aSets)
      Constructor for EPPStatusSetInfo that takes a single TTL.
      Parameters:
      aSets - Gets the assigned status sets or all possible status sets
  • Method Details

    • getLocalName

      protected String getLocalName()
      Returns the local name "info" for the info extension.
      Specified by:
      getLocalName in class EPPStatusSetAuthTokenList
      Returns:
      Local name "info" for the info extension.
    • getSets

      public EPPStatusSetInfo.Sets getSets()
      Gets the value of the sets attribute.
      Returns:
      One of the Sets enumerated values with a default of Sets.ASSIGNED.
    • setSets

      public void setSets(EPPStatusSetInfo.Sets aSets)
      sets the value of the sets attribute.
      Parameters:
      aSets - One of the Sets enumerated values
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Encode of a EPPStatusSetInfo instance that includes checks of the TTLs.
      Specified by:
      encode in interface EPPCodecComponent
      Overrides:
      encode in class EPPStatusSetAuthTokenList
      Parameters:
      aDocument - DOM Document, which acts is an Element factory
      Returns:
      Element Root element associated with the object
      Throws:
      EPPEncodeException - Error encoding EPPStatusSetExtension
    • decode

      public void decode(Element aElement) throws EPPDecodeException
      Decode a DOM element tree to initialize the instance attributes. The aElement argument represents the root DOM element and is used to traverse the DOM nodes for instance attribute values.
      Specified by:
      decode in interface EPPCodecComponent
      Overrides:
      decode in class EPPStatusSetAuthTokenList
      Parameters:
      aElement - Element to decode
      Throws:
      EPPDecodeException - Error decoding Element
    • clone

      public Object clone() throws CloneNotSupportedException
      clone an EPPCodecComponent.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class EPPStatusSetAuthTokenList
      Returns:
      clone of concrete EPPStatusSetExtension
      Throws:
      CloneNotSupportedException - standard Object.clone exception
    • 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 EPPStatusSetAuthTokenList
      Returns:
      Indented XML String if successful; ERROR otherwise.
    • equals

      public boolean equals(Object aObject)
      Compare an instance of EPPStatusSetInfo with this instance.
      Overrides:
      equals in class EPPStatusSetAuthTokenList
      Parameters:
      aObject - Object to compare with.
      Returns:
      true if equal; false otherwise.
    • getNamespace

      public String getNamespace()
      Returns the XML namespace associated with the EPPCodecComponent.
      Returns:
      XML namespace for the EPPCodecComponent.