org.wso2.solutions.identity.cards.model
Class RequireAppliesTo
java.lang.Object
org.wso2.solutions.identity.cards.model.RequireAppliesTo
- All Implemented Interfaces:
- CardElement
public class RequireAppliesTo
- extends java.lang.Object
- implements CardElement
Field Summary |
static java.lang.String |
ATTR_OPTIONAL
|
static javax.xml.namespace.QName |
NAME
|
Method Summary |
boolean |
isOptional()
|
org.apache.axiom.om.OMElement |
serialize()
Serialize this element into an OMElement |
void |
setOptional(boolean optional)
|
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
ATTR_OPTIONAL
public static final java.lang.String ATTR_OPTIONAL
- See Also:
- Constant Field Values
RequireAppliesTo
public RequireAppliesTo()
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
isOptional
public boolean isOptional()
setOptional
public void setOptional(boolean optional)