public class ConditionsImpl extends AbstractSAMLObject implements Conditions
Conditions interface.| Modifier and Type | Field and Description |
|---|---|
private 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(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AudienceRestrictionCondition> |
getAudienceRestrictionConditions()
Return the List representing all the
AudienceRestrictionCondition sub elements. |
java.util.List<Condition> |
getConditions()
Return the List representing all the
Condition sub elements. |
java.util.List<Condition> |
getConditions(javax.xml.namespace.QName typeOrName)
Return the List representing all the
Conditions with the given schema type or element name. |
java.util.List<DoNotCacheCondition> |
getDoNotCacheConditions()
Return the List representing all the
DoNotCacheCondition sub elements. |
org.joda.time.DateTime |
getNotBefore()
Return the value of the NotBefore attribute.
|
org.joda.time.DateTime |
getNotOnOrAfter()
Return the value of the NotOnOrAfter attribute.
|
java.util.List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
void |
setNotBefore(org.joda.time.DateTime dt)
List the value of the NotBefore attribute.
|
void |
setNotOnOrAfter(org.joda.time.DateTime dt)
List the value of the NotOnOrAfter attribute.
|
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 org.joda.time.DateTime notBefore
private org.joda.time.DateTime notOnOrAfter
private final IndexedXMLObjectChildrenList<Condition> conditions
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 org.joda.time.DateTime getNotBefore()
getNotBefore in interface Conditionspublic void setNotBefore(org.joda.time.DateTime dt)
setNotBefore in interface Conditionspublic org.joda.time.DateTime getNotOnOrAfter()
getNotOnOrAfter in interface Conditionspublic void setNotOnOrAfter(org.joda.time.DateTime dt)
setNotOnOrAfter in interface Conditionspublic java.util.List<Condition> getConditions()
Condition sub elements.getConditions in interface Conditionspublic java.util.List<Condition> getConditions(javax.xml.namespace.QName typeOrName)
Conditions with the given schema type or element name.getConditions in interface ConditionstypeOrName - the schema type or element namepublic java.util.List<AudienceRestrictionCondition> getAudienceRestrictionConditions()
AudienceRestrictionCondition sub elements.getAudienceRestrictionConditions in interface Conditionspublic java.util.List<DoNotCacheCondition> getDoNotCacheConditions()
DoNotCacheCondition sub elements.getDoNotCacheConditions in interface Conditionspublic java.util.List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObject