Class Token

  • All Implemented Interfaces:
    java.io.Serializable

    public class Token
    extends java.lang.Object
    implements java.io.Serializable
    <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;element name="expiration" type="{http://www.w3.org/2001/XMLSchema}date"/&gt; &lt;/sequence&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Date expiration  
      protected java.lang.String value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Token()
      Default no-arg constructor abc
      Token​(java.lang.String value, java.util.Date expiration)
      Fully-initialising value constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      java.util.Date getExpiration()
      Gets the value of the expiration property.
      java.lang.String getValue()
      Gets the value of the value property.
      int hashCode()  
      void setExpiration​(java.util.Date value)
      Sets the value of the expiration property.
      void setValue​(java.lang.String value)
      Sets the value of the value property.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        protected java.lang.String value
      • expiration

        protected java.util.Date expiration
    • Constructor Detail

      • Token

        public Token()
        Default no-arg constructor abc
      • Token

        public Token​(java.lang.String value,
                     java.util.Date expiration)
        Fully-initialising value constructor
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Gets the value of the value property.
        Returns:
        possible object is String
      • setValue

        public void setValue​(java.lang.String value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is String
      • getExpiration

        public java.util.Date getExpiration()
        Gets the value of the expiration property.
        Returns:
        possible object is String
      • setExpiration

        public void setExpiration​(java.util.Date value)
        Sets the value of the expiration property.
        Parameters:
        value - allowed object is String
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object