Package com.flower.docs.domain.security
Class Token
- java.lang.Object
-
- com.flower.docs.domain.security.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> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="expiration" type="{http://www.w3.org/2001/XMLSchema}date"/> </sequence> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Date
expiration
protected java.lang.String
value
-
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()
-
-
-
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 isString
-
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 isString
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-