public class ConditionsImpl extends AbstractSAMLObject implements Conditions
Conditions.| Modifier and Type | Field and Description |
|---|---|
private IndexedXMLObjectChildrenList<Condition> |
conditions
A Condition.
|
private org.joda.time.DateTime |
notBefore
Not Before conditions.
|
private org.joda.time.DateTime |
notOnOrAfter
Not On Or After 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(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AudienceRestriction> |
getAudienceRestrictions()
Gets the audience restriction conditions for the assertion.
|
java.util.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.
|
java.util.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, setSchemaLocationprivate final IndexedXMLObjectChildrenList<Condition> conditions
private org.joda.time.DateTime notBefore
private org.joda.time.DateTime notOnOrAfter
protected ConditionsImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.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 java.util.List<Condition> getConditions()
getConditions in interface Conditionspublic java.util.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 java.util.List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObject