Class ConditionsType

java.lang.Object
eu.europa.esig.saml.jaxb.assertion.ConditionsType

public class ConditionsType extends Object

Java class for ConditionsType complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="ConditionsType">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Condition"/>
        <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AudienceRestriction"/>
        <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}OneTimeUse"/>
        <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}ProxyRestriction"/>
      </choice>
      <attribute name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
      <attribute name="NotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
    </restriction>
  </complexContent>
</complexType>
  • Field Details

  • Constructor Details

    • ConditionsType

      public ConditionsType()
  • Method Details

    • getConditionOrAudienceRestrictionOrOneTimeUse

      public List<ConditionAbstractType> getConditionOrAudienceRestrictionOrOneTimeUse()
      Gets the value of the conditionOrAudienceRestrictionOrOneTimeUse property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the conditionOrAudienceRestrictionOrOneTimeUse property.

      For example, to add a new item, do as follows:

         getConditionOrAudienceRestrictionOrOneTimeUse().add(newItem);
      

      Objects of the following type(s) are allowed in the list AudienceRestrictionType ConditionAbstractType OneTimeUseType ProxyRestrictionType

    • getNotBefore

      public XMLGregorianCalendar getNotBefore()
      Gets the value of the notBefore property.
      Returns:
      possible object is XMLGregorianCalendar
    • setNotBefore

      public void setNotBefore(XMLGregorianCalendar value)
      Sets the value of the notBefore property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getNotOnOrAfter

      public XMLGregorianCalendar getNotOnOrAfter()
      Gets the value of the notOnOrAfter property.
      Returns:
      possible object is XMLGregorianCalendar
    • setNotOnOrAfter

      public void setNotOnOrAfter(XMLGregorianCalendar value)
      Sets the value of the notOnOrAfter property.
      Parameters:
      value - allowed object is XMLGregorianCalendar