|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.AbstractXMLObject org.opensaml.xml.validation.AbstractValidatingXMLObject org.opensaml.common.impl.AbstractSAMLObject org.opensaml.saml2.core.impl.ConditionsImpl
public class ConditionsImpl
Concrete implementation of Conditions
.
Field Summary | |
---|---|
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. |
Fields inherited from interface org.opensaml.saml2.core.Conditions |
---|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, NOT_BEFORE_ATTRIB_NAME, NOT_ON_OR_AFTER_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME |
Constructor Summary | |
---|---|
protected |
ConditionsImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
Method Summary | |
---|---|
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()
|
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. |
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject |
---|
equals, hashCode, prepareForAssignment |
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
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 |
Field Detail |
---|
private final IndexedXMLObjectChildrenList<Condition> conditions
private org.joda.time.DateTime notBefore
private org.joda.time.DateTime notOnOrAfter
Constructor Detail |
---|
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 namespaceMethod Detail |
---|
public 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<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |