Interface MetadataServiceList
- All Superinterfaces:
SAMLObject, SignableSAMLObject, SignableXMLObject, XMLObject
- All Known Implementing Classes:
MetadataServiceListImpl
Definition of the
MetadataServiceListType type.
The following schema fragment defines the MetadataServiceListType complex type:
<xs:complexType name="MetadataServiceListType">
<xs:annotation>
<xs:documentation>
The MetadataServiceListType is the root type for representing a metadata service list. It holds
scheme information, metadata locations for each member state and optionally distribution point(s).
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="SchemeInformation" type="ser:SchemeInformationType" />
<xs:element name="MetadataList" type="ser:MetadataSchemeEndpointListType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="DistributionPoints" type="ser:DistributionPointsType" />
<xs:element ref="ds:Signature" minOccurs="0" />
</xs:sequence>
<xs:attribute name="Version" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The version of a metadata service list.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IssueDate" type="xs:dateTime" use="required">
<xs:annotation>
<xs:documentation>
Issuance time for a metadata service list.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NextUpdate" type="xs:dateTime">
<xs:annotation>
<xs:documentation>
Time when the next metadata service list will be published.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ID" type="xs:ID">
<xs:annotation>
<xs:documentation>
The unique ID for a metadata service list.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
- Author:
- Martin Lindström
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the element.static final QNameDefault element name.static final StringAttribute label for the ID attribute.static final StringAttribute label for the IssueDate attribute.static final QNameQName for the attribute which defines the IssueDate attribute.static final StringAttribute label for the NextUpdate attribute.static final QNameQName for the attribute which defines the NextUpdate attribute.static final StringLocal name of the XSI type.static final QNameQName of the XSI type.static final StringAttribute label for the Version attribute. -
Method Summary
Modifier and TypeMethodDescriptionReturns the distribution points element.getID()Sets the ID of this list.Returns the issue date attribute value.Returns a reference to the list of metadata lists held.Returns the next-update attribute value.Returns the scheme information element for this list.Returns the version for this metadata service list.voidsetDistributionPoints(DistributionPoints distributionPoints) Assigns the distribution points element.voidAssigns the ID of this list.voidsetIssueDate(Instant issueDate) Assigns the issue date attribute value.voidsetNextUpdate(Instant nextUpdate) Assigns the next-update attribute value.voidsetSchemeInformation(SchemeInformation schemeInformation) Assigns the scheme information element for this list.voidsetVersion(MetadataServiceListVersion version) Assigns the version for this metadata service list.Methods inherited from interface SignableSAMLObject
getSignatureReferenceIDMethods inherited from interface SignableXMLObject
getSignature, isSigned, setSignatureMethods inherited from interface XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
-
TYPE_NAME
QName of the XSI type. -
ISSUE_DATE_ATTR_NAME
-
ISSUE_DATE_ATTR_QNAME
QName for the attribute which defines the IssueDate attribute. -
NEXT_UPDATE_ATTR_NAME
-
NEXT_UPDATE_ATTR_QNAME
QName for the attribute which defines the NextUpdate attribute. -
ID_ATTR_NAME
-
VERSION_ATTR_NAME
-
-
Method Details
-
getVersion
MetadataServiceListVersion getVersion()Returns the version for this metadata service list.- Returns:
- the version
-
setVersion
Assigns the version for this metadata service list.- Parameters:
version- the version
-
getID
-
setID
-
getIssueDate
-
setIssueDate
Assigns the issue date attribute value.- Parameters:
issueDate- the issue date
-
getNextUpdate
-
setNextUpdate
Assigns the next-update attribute value.- Parameters:
nextUpdate- the next update
-
getSchemeInformation
SchemeInformation getSchemeInformation()Returns the scheme information element for this list.- Returns:
- scheme information
-
setSchemeInformation
Assigns the scheme information element for this list.- Parameters:
schemeInformation- scheme information
-
getMetadataLists
List<MetadataList> getMetadataLists()Returns a reference to the list of metadata lists held.- Returns:
- a list of metadata lists
-
getDistributionPoints
DistributionPoints getDistributionPoints()Returns the distribution points element.- Returns:
- the distribution points element
-
setDistributionPoints
Assigns the distribution points element.- Parameters:
distributionPoints- distribution points
-