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

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

public class InformationCardReference
extends java.lang.Object
implements CardElement


Field Summary
static javax.xml.namespace.QName CARD_ID
           
static javax.xml.namespace.QName CARD_VERSION
           
static javax.xml.namespace.QName NAME
           
 
Constructor Summary
InformationCardReference(java.lang.String cardId, int cardVersion)
           
 
Method Summary
 java.lang.String getCardId()
           
 int getCardVersion()
           
 org.apache.axiom.om.OMElement serialize()
          Serialize this element into an OMElement
 
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

CARD_ID

public static final javax.xml.namespace.QName CARD_ID

CARD_VERSION

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

InformationCardReference

public InformationCardReference(java.lang.String cardId,
                                int cardVersion)
Method Detail

getCardId

public java.lang.String getCardId()

getCardVersion

public int getCardVersion()

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