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<org.opensaml.xml.XMLObject> |
getOrderedChildren() |
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, prepareForAssignment
deregisterValidator, getValidators, registerValidator, validate, validateChildren
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deregisterValidator, getValidators, registerValidator, validate
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
protected 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 Conditions
public List<AudienceRestriction> getAudienceRestrictions()
getAudienceRestrictions
in interface Conditions
public OneTimeUse getOneTimeUse()
getOneTimeUse
in interface Conditions
public ProxyRestriction getProxyRestriction()
getProxyRestriction
in interface Conditions
public org.joda.time.DateTime getNotBefore()
getNotBefore
in interface Conditions
public void setNotBefore(org.joda.time.DateTime newNotBefore)
setNotBefore
in interface Conditions
newNotBefore
- the date/time before which the assertion is invalidpublic org.joda.time.DateTime getNotOnOrAfter()
getNotOnOrAfter
in interface Conditions
public void setNotOnOrAfter(org.joda.time.DateTime newNotOnOrAfter)
setNotOnOrAfter
in interface Conditions
newNotOnOrAfter
- the date/time on, or after, which the assertion is invalidpublic List<org.opensaml.xml.XMLObject> getOrderedChildren()
getOrderedChildren
in interface org.opensaml.xml.XMLObject
Copyright © 1999-2013. All Rights Reserved.