net.sf.jagzilla.hibernate
Class Token
java.lang.Object
net.sf.jagzilla.hibernate.XmlObjectImpl
net.sf.jagzilla.hibernate.Token
- All Implemented Interfaces:
- XmlObject
- public class Token
- extends XmlObjectImpl
represents a record in the table tokens.
- Author:
- mgriffa
|
Constructor Summary |
Token()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Token
public Token()
getEventData
public java.lang.String getEventData()
- Returns:
- Returns the eventData.
setEventData
public void setEventData(java.lang.String eventData)
- Parameters:
eventData - The eventData to set.
getIssueDate
public java.util.Date getIssueDate()
- Returns:
- Returns the issueDate.
setIssueDate
public void setIssueDate(java.util.Date issueDate)
- Parameters:
issueDate - The issueDate to set.
getToken
public java.lang.String getToken()
- Returns:
- Returns the token.
setToken
public void setToken(java.lang.String token)
- Parameters:
token - The token to set.
getTokenType
public java.lang.String getTokenType()
- Returns:
- Returns the tokenType.
setTokenType
public void setTokenType(java.lang.String tokenType)
- Parameters:
tokenType - The tokenType to set.
getUserId
public int getUserId()
- Returns:
- Returns the userId.
setUserId
public void setUserId(int userId)
- Parameters:
userId - The userId to set.
toString
public java.lang.String toString()
loadFromXml
public void loadFromXml(java.io.Reader reader)
throws java.io.IOException,
MappingException,
MarshalException,
ValidationException
- Description copied from interface:
XmlObject
- load the object data from xml.
This method internally uses castor to unmarshall
the object form XML.
- Parameters:
reader - a reader containing a parseable xml
- Throws:
java.io.IOException
MappingException
MarshalException
ValidationException
Distributed under the GPL.
By Miguel Griffa.
See the Jagzilla project page for more info.