public class ConditionsImpl extends AbstractSAMLObject implements Conditions
Conditions.DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, NOT_BEFORE_ATTRIB_NAME, NOT_ON_OR_AFTER_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME| Modifier | Constructor and Description |
|---|---|
protected |
ConditionsImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<AudienceRestriction> |
getAudienceRestrictions()
Gets the audience restriction conditions for the assertion.
|
List<Condition> |
getConditions()
Gets all the conditions on the assertion.
|
org.joda.time.DateTime |
getNotBefore()
Get the date/time before which the assertion is invalid.
|
org.joda.time.DateTime |
getNotOnOrAfter()
Gets the date/time on, or after, which the assertion is invalid.
|
OneTimeUse |
getOneTimeUse()
Gets the OneTimeUse condition for the assertion.
|
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
ProxyRestriction |
getProxyRestriction()
Gets the ProxyRestriction condition for the assertion.
|
void |
setNotBefore(org.joda.time.DateTime newNotBefore)
Sets the date/time before which the assertion is invalid.
|
void |
setNotOnOrAfter(org.joda.time.DateTime newNotOnOrAfter)
Sets the date/time on, or after, which the assertion is invalid.
|
equals, hashCode, prepareForAssignmentdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprotected ConditionsImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespacepublic List<Condition> getConditions()
getConditions in interface Conditionspublic List<AudienceRestriction> getAudienceRestrictions()
getAudienceRestrictions in interface Conditionspublic OneTimeUse getOneTimeUse()
getOneTimeUse in interface Conditionspublic ProxyRestriction getProxyRestriction()
getProxyRestriction in interface Conditionspublic org.joda.time.DateTime getNotBefore()
getNotBefore in interface Conditionspublic void setNotBefore(org.joda.time.DateTime newNotBefore)
setNotBefore in interface ConditionsnewNotBefore - the date/time before which the assertion is invalidpublic org.joda.time.DateTime getNotOnOrAfter()
getNotOnOrAfter in interface Conditionspublic void setNotOnOrAfter(org.joda.time.DateTime newNotOnOrAfter)
setNotOnOrAfter in interface ConditionsnewNotOnOrAfter - the date/time on, or after, which the assertion is invalidpublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectCopyright © 2021. All rights reserved.