org.wso2.solutions.identity.cards.model
Class TokenService

java.lang.Object
  extended by org.wso2.solutions.identity.cards.model.TokenService
All Implemented Interfaces:
CardElement

public class TokenService
extends java.lang.Object
implements CardElement


Field Summary
static javax.xml.namespace.QName NAME
           
 
Constructor Summary
TokenService(org.apache.axis2.addressing.EndpointReference epr, UserCredential userCredential)
           
 
Method Summary
 org.apache.axis2.addressing.EndpointReference getEpr()
           
 UserCredential getUserCredential()
           
 org.apache.axiom.om.OMElement serialize()
          Serialize this element into an OMElement
 void setEpr(org.apache.axis2.addressing.EndpointReference epr)
           
 void setUserCredential(UserCredential userCredential)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final javax.xml.namespace.QName NAME
Constructor Detail

TokenService

public TokenService(org.apache.axis2.addressing.EndpointReference epr,
                    UserCredential userCredential)
Method Detail

setEpr

public void setEpr(org.apache.axis2.addressing.EndpointReference epr)

getEpr

public org.apache.axis2.addressing.EndpointReference getEpr()

getUserCredential

public UserCredential getUserCredential()

serialize

public org.apache.axiom.om.OMElement serialize()
                                        throws CardModelException
Description copied from interface: CardElement
Serialize this element into an OMElement

Specified by:
serialize in interface CardElement
Returns:
An OMelement that encapsulates information in this element.
Throws:
CardModelException

setUserCredential

public void setUserCredential(UserCredential userCredential)