org.eclipse.higgins.rpps.core.tobj
Class TokenResponseTO

java.lang.Object
  extended byorg.eclipse.higgins.rpps.core.tobj.BaseTransferObject
      extended byorg.eclipse.higgins.rpps.core.tobj.TokenResponseTO
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ExtraTokenResponseTO

public class TokenResponseTO
extends BaseTransferObject
implements Serializable

The transfer object for the token response. A transfer object is a serializable class that groups related attributes, forming a composite value. This class is used as the return type of a WS business method.

Author:
Sergei Yakovlev
See Also:
Serialized Form

Constructor Summary
TokenResponseTO()
          Creates a new instance of TokenResponseTO
 
Method Summary
 String getName()
          Gets the name of transfer object.
 String getTkn()
          Gets security token property as a string
 void setName(String name)
          Sets the name of transfer object
 void setTkn(String token)
          Sets security token property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenResponseTO

public TokenResponseTO()
Creates a new instance of TokenResponseTO

Method Detail

getTkn

public String getTkn()
Gets security token property as a string

Returns:
the security token as a string

setTkn

public void setTkn(String token)
Sets security token property.

Parameters:
token - the security token a s a string.

getName

public String getName()
Gets the name of transfer object.

Returns:
the name of transfer object.

setName

public void setName(String name)
Sets the name of transfer object

Parameters:
name - the name of transfer object.