public class ConditionsImpl extends AbstractSAMLObject implements Conditions
Conditions
interface.Modifier and Type | Field and Description |
---|---|
private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<Condition> |
conditions
Set containing all the Conditions.
|
private org.joda.time.DateTime |
notBefore
Value saved in the NotBefore attribute.
|
private org.joda.time.DateTime |
notOnOrAfter
Value saved in the NotOnOrAfter attribute.
|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, NOTBEFORE_ATTRIB_NAME, NOTONORAFTER_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<AudienceRestrictionCondition> |
getAudienceRestrictionConditions() |
List<Condition> |
getConditions() |
List<Condition> |
getConditions(QName typeOrName) |
List<DoNotCacheCondition> |
getDoNotCacheConditions() |
org.joda.time.DateTime |
getNotBefore() |
org.joda.time.DateTime |
getNotOnOrAfter() |
List<org.opensaml.core.xml.XMLObject> |
getOrderedChildren() |
void |
setNotBefore(org.joda.time.DateTime dt) |
void |
setNotOnOrAfter(org.joda.time.DateTime dt) |
equals, hashCode, prepareForAssignment
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
private org.joda.time.DateTime notBefore
private org.joda.time.DateTime notOnOrAfter
private final org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<Condition> conditions
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 org.joda.time.DateTime getNotBefore()
getNotBefore
in interface Conditions
public void setNotBefore(org.joda.time.DateTime dt)
setNotBefore
in interface Conditions
public org.joda.time.DateTime getNotOnOrAfter()
getNotOnOrAfter
in interface Conditions
public void setNotOnOrAfter(org.joda.time.DateTime dt)
setNotOnOrAfter
in interface Conditions
public List<Condition> getConditions()
getConditions
in interface Conditions
public List<Condition> getConditions(QName typeOrName)
getConditions
in interface Conditions
public List<AudienceRestrictionCondition> getAudienceRestrictionConditions()
getAudienceRestrictionConditions
in interface Conditions
public List<DoNotCacheCondition> getDoNotCacheConditions()
getDoNotCacheConditions
in interface Conditions
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
getOrderedChildren
in interface org.opensaml.core.xml.XMLObject
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.