Interface MetadataList

  • All Superinterfaces:
    AttributeExtensibleXMLObject, SAMLObject, XMLObject
    All Known Implementing Classes:
    MetadataListImpl

    public interface MetadataList
    extends SAMLObject, AttributeExtensibleXMLObject
    Definition of the MetadataSchemeEndpointListType type. The following schema fragment defines the MetadataSchemeEndpointListType complex type:
     
     <xs:complexType name="MetadataSchemeEndpointListType">
       <xs:annotation>
         <xs:documentation>
           Defines the metadata location(s) for a specific member state (territory).
         </xs:documentation>
       </xs:annotation>
       <xs:sequence>
         <xs:element type="ser:MetadataLocationType" name="MetadataLocation" minOccurs="0" maxOccurs="unbounded" />
       </xs:sequence>
       <xs:attribute name="Territory" type="xs:string" use="required" />
       <xs:anyAttribute namespace="##any" processContents="lax" />
     </xs:complexType>
     
    Author:
    Martin Lindström (martin.lindstrom@litsec.se)
    • 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.
      • TERRITORY_ATTR_NAME

        static final String TERRITORY_ATTR_NAME
        Attribute label for the Territory attribute.
        See Also:
        Constant Field Values
    • Method Detail

      • getMetadataLocations

        List<MetadataLocation> getMetadataLocations()
        Returns a reference to the list of metadata location elements.
        Returns:
        metadata location elements
      • getTerritory

        String getTerritory()
        Returns the territory country identifier for this metadata list.
        Returns:
        country code
      • setTerritory

        void setTerritory​(String territory)
        Assigns the territory country identifier for this metadata list.
        Parameters:
        territory - country code
      • getSuspend

        boolean getSuspend()
        For the Swedish eIDAS configuration, a flag, Suspend is used to indicate whether a metadata list for a specific territory is suspended. This method is just a short cut instead of using AttributeExtensibleXMLObject.getUnknownAttributes().
        Returns:
        if the Suspend flag has been set to true this method returns true, otherwise false 
      • setSuspend

        void setSuspend​(boolean suspendFlag)
        Assigns the Suspend flag. See getSuspend().
        Parameters:
        suspendFlag - the suspend flag