Interface MetadataServiceList
-
- All Superinterfaces:
SAMLObject
,SignableSAMLObject
,SignableXMLObject
,XMLObject
- All Known Implementing Classes:
MetadataServiceListImpl
public interface MetadataServiceList extends SignableSAMLObject
Definition of theMetadataServiceListType
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 (martin.lindstrom@litsec.se)
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_ELEMENT_LOCAL_NAME
Name of the element.static QName
DEFAULT_ELEMENT_NAME
Default element name.static String
ID_ATTR_NAME
Attribute label for the ID attribute.static String
ISSUE_DATE_ATTR_NAME
Attribute label for the IssueDate attribute.static QName
ISSUE_DATE_ATTR_QNAME
QName for the attribute which defines the IssueDate attribute.static String
NEXT_UPDATE_ATTR_NAME
Attribute label for the NextUpdate attribute.static QName
NEXT_UPDATE_ATTR_QNAME
QName for the attribute which defines the NextUpdate attribute.static String
TYPE_LOCAL_NAME
Local name of the XSI type.static QName
TYPE_NAME
QName of the XSI type.static String
VERSION_ATTR_NAME
Attribute label for the Version attribute.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DistributionPoints
getDistributionPoints()
Returns the distribution points element.String
getID()
Sets the ID of this list.Instant
getIssueDate()
Returns the issue date attribute value.List<MetadataList>
getMetadataLists()
Returns a reference to the list of metadata lists held.Instant
getNextUpdate()
Returns the next-update attribute value.SchemeInformation
getSchemeInformation()
Returns the scheme information element for this list.MetadataServiceListVersion
getVersion()
Returns the version for this metadata service list.void
setDistributionPoints(DistributionPoints distributionPoints)
Assigns the distribution points element.void
setID(String id)
Assigns the ID of this list.void
setIssueDate(Instant issueDate)
Assigns the issue date attribute value.void
setNextUpdate(Instant nextUpdate)
Assigns the next-update attribute value.void
setSchemeInformation(SchemeInformation schemeInformation)
Assigns the scheme information element for this list.void
setVersion(MetadataServiceListVersion version)
Assigns the version for this metadata service list.-
Methods inherited from interface org.opensaml.saml.common.SignableSAMLObject
getSignatureReferenceID
-
Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignature
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, 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 Detail
-
DEFAULT_ELEMENT_LOCAL_NAME
static final String DEFAULT_ELEMENT_LOCAL_NAME
Name of the element.- See Also:
- Constant Field Values
-
DEFAULT_ELEMENT_NAME
static final QName DEFAULT_ELEMENT_NAME
Default element name.
-
TYPE_LOCAL_NAME
static final String TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
- Constant Field Values
-
TYPE_NAME
static final QName TYPE_NAME
QName of the XSI type.
-
ISSUE_DATE_ATTR_NAME
static final String ISSUE_DATE_ATTR_NAME
Attribute label for the IssueDate attribute.- See Also:
- Constant Field Values
-
ISSUE_DATE_ATTR_QNAME
static final QName ISSUE_DATE_ATTR_QNAME
QName for the attribute which defines the IssueDate attribute.
-
NEXT_UPDATE_ATTR_NAME
static final String NEXT_UPDATE_ATTR_NAME
Attribute label for the NextUpdate attribute.- See Also:
- Constant Field Values
-
NEXT_UPDATE_ATTR_QNAME
static final QName NEXT_UPDATE_ATTR_QNAME
QName for the attribute which defines the NextUpdate attribute.
-
ID_ATTR_NAME
static final String ID_ATTR_NAME
Attribute label for the ID attribute.- See Also:
- Constant Field Values
-
VERSION_ATTR_NAME
static final String VERSION_ATTR_NAME
Attribute label for the Version attribute.- See Also:
- Constant Field Values
-
-
Method Detail
-
getVersion
MetadataServiceListVersion getVersion()
Returns the version for this metadata service list.- Returns:
- the version
-
setVersion
void setVersion(MetadataServiceListVersion version)
Assigns the version for this metadata service list.- Parameters:
version
- the version
-
getID
String getID()
Sets the ID of this list.- Returns:
- the ID
-
setID
void setID(String id)
Assigns the ID of this list.- Parameters:
id
- the ID
-
getIssueDate
Instant getIssueDate()
Returns the issue date attribute value.- Returns:
- the issue date
-
setIssueDate
void setIssueDate(Instant issueDate)
Assigns the issue date attribute value.- Parameters:
issueDate
- the issue date
-
getNextUpdate
Instant getNextUpdate()
Returns the next-update attribute value.- Returns:
- the next update
-
setNextUpdate
void setNextUpdate(Instant nextUpdate)
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
void setSchemeInformation(SchemeInformation schemeInformation)
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
void setDistributionPoints(DistributionPoints distributionPoints)
Assigns the distribution points element.- Parameters:
distributionPoints
- distribution points
-
-