org.wso2.solutions.identity.cards.model
Class UserCredential
java.lang.Object
org.wso2.solutions.identity.cards.model.UserCredential
- All Implemented Interfaces:
- CardElement
public class UserCredential
- extends java.lang.Object
- implements CardElement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final javax.xml.namespace.QName NAME
DISPLAY_CRED_HINT
public static final javax.xml.namespace.QName DISPLAY_CRED_HINT
UserCredential
public UserCredential(Credential credential)
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
getDisplayCredentialHint
public java.lang.String getDisplayCredentialHint()
setDisplayCredentialHint
public void setDisplayCredentialHint(java.lang.String displayCredentialHint)
getCredential
public Credential getCredential()
getCredentialId
public java.lang.String getCredentialId()
throws CardModelException
- Throws:
CardModelException