net.jeremybrooks.knicker.dto
Class User

java.lang.Object
  extended by net.jeremybrooks.knicker.dto.User
All Implemented Interfaces:
Serializable

public class User
extends Object
implements Serializable

Represents data returned by a call to the Wordnik user API.

Author:
Jeremy Brooks
See Also:
Wordnik documentation, Serialized Form

Constructor Summary
User()
           
 
Method Summary
 String getEmail()
           
 String getId()
           
 String getStatus()
           
 String getUserName()
           
 void setEmail(String email)
           
 void setId(String id)
           
 void setStatus(String status)
           
 void setUserName(String userName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getEmail

public String getEmail()
Returns:
the email

setEmail

public void setEmail(String email)
Parameters:
email - the email to set

getId

public String getId()
Returns:
the id

setId

public void setId(String id)
Parameters:
id - the id to set

getStatus

public String getStatus()
Returns:
the status

setStatus

public void setStatus(String status)
Parameters:
status - the status to set

getUserName

public String getUserName()
Returns:
the userName

setUserName

public void setUserName(String userName)
Parameters:
userName - the userName to set


Copyright © 2012. All Rights Reserved.