Interface RequestedAttribute

  • All Superinterfaces:
    Attribute, org.opensaml.core.xml.AttributeExtensibleXMLObject, SAMLObject, org.opensaml.core.xml.XMLObject

    public interface RequestedAttribute
    extends Attribute
    SAML 2.0 Metadata RequestedAttribute.
    • Field Detail

      • DEFAULT_ELEMENT_NAME

        static final QName DEFAULT_ELEMENT_NAME
        Default element name.
      • TYPE_NAME

        static final QName TYPE_NAME
        QName of the XSI type.
      • IS_REQUIRED_ATTRIB_NAME

        static final String IS_REQUIRED_ATTRIB_NAME
        "isRequired" attribute's local name.
        See Also:
        Constant Field Values
    • Method Detail

      • isRequired

        Boolean isRequired()
        Checks to see if this requested attribute is also required.
        Returns:
        true if this attribute is required
      • isRequiredXSBoolean

        org.opensaml.core.xml.schema.XSBooleanValue isRequiredXSBoolean()
        Checks to see if this requested attribute is also required.
        Returns:
        true if this attribute is required
      • setIsRequired

        void setIsRequired​(Boolean newIsRequire)
        Sets if this requested attribute is also required. Boolean values will be marshalled to either "true" or "false".
        Parameters:
        newIsRequire - true if this attribute is required
      • setIsRequired

        void setIsRequired​(org.opensaml.core.xml.schema.XSBooleanValue newIsRequire)
        Sets if this requested attribute is also required.
        Parameters:
        newIsRequire - true if this attribute is required