Class MetadataServiceListImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xmlsec.signature.AbstractSignableXMLObject
-
- org.opensaml.saml.common.AbstractSignableSAMLObject
-
- se.litsec.eidas.opensaml.metadata.impl.MetadataServiceListImpl
-
- All Implemented Interfaces:
XMLObject
,SAMLObject
,SignableSAMLObject
,SignableXMLObject
,MetadataServiceList
public class MetadataServiceListImpl extends AbstractSignableSAMLObject implements MetadataServiceList
Implementation class forMetadataList
.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Field Summary
-
Fields inherited from interface se.litsec.eidas.opensaml.metadata.MetadataServiceList
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTR_NAME, ISSUE_DATE_ATTR_NAME, ISSUE_DATE_ATTR_QNAME, NEXT_UPDATE_ATTR_NAME, NEXT_UPDATE_ATTR_QNAME, TYPE_LOCAL_NAME, TYPE_NAME, VERSION_ATTR_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MetadataServiceListImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete 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.List<XMLObject>
getOrderedChildren()
SchemeInformation
getSchemeInformation()
Returns the scheme information element for this list.String
getSignatureReferenceID()
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 class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignature
-
Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSigned
-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
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, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Constructor Detail
-
MetadataServiceListImpl
protected MetadataServiceListImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Detail
-
getSignatureReferenceID
public String getSignatureReferenceID()
- Specified by:
getSignatureReferenceID
in interfaceSignableSAMLObject
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildren
in interfaceXMLObject
-
getVersion
public MetadataServiceListVersion getVersion()
Returns the version for this metadata service list.- Specified by:
getVersion
in interfaceMetadataServiceList
- Returns:
- the version
-
setVersion
public void setVersion(MetadataServiceListVersion version)
Assigns the version for this metadata service list.- Specified by:
setVersion
in interfaceMetadataServiceList
- Parameters:
version
- the version
-
getID
public String getID()
Sets the ID of this list.- Specified by:
getID
in interfaceMetadataServiceList
- Returns:
- the ID
-
setID
public void setID(String id)
Assigns the ID of this list.- Specified by:
setID
in interfaceMetadataServiceList
- Parameters:
id
- the ID
-
getIssueDate
public Instant getIssueDate()
Returns the issue date attribute value.- Specified by:
getIssueDate
in interfaceMetadataServiceList
- Returns:
- the issue date
-
setIssueDate
public void setIssueDate(Instant issueDate)
Assigns the issue date attribute value.- Specified by:
setIssueDate
in interfaceMetadataServiceList
- Parameters:
issueDate
- the issue date
-
getNextUpdate
public Instant getNextUpdate()
Returns the next-update attribute value.- Specified by:
getNextUpdate
in interfaceMetadataServiceList
- Returns:
- the next update
-
setNextUpdate
public void setNextUpdate(Instant nextUpdate)
Assigns the next-update attribute value.- Specified by:
setNextUpdate
in interfaceMetadataServiceList
- Parameters:
nextUpdate
- the next update
-
getSchemeInformation
public SchemeInformation getSchemeInformation()
Returns the scheme information element for this list.- Specified by:
getSchemeInformation
in interfaceMetadataServiceList
- Returns:
- scheme information
-
setSchemeInformation
public void setSchemeInformation(SchemeInformation schemeInformation)
Assigns the scheme information element for this list.- Specified by:
setSchemeInformation
in interfaceMetadataServiceList
- Parameters:
schemeInformation
- scheme information
-
getMetadataLists
public List<MetadataList> getMetadataLists()
Returns a reference to the list of metadata lists held.- Specified by:
getMetadataLists
in interfaceMetadataServiceList
- Returns:
- a list of metadata lists
-
getDistributionPoints
public DistributionPoints getDistributionPoints()
Returns the distribution points element.- Specified by:
getDistributionPoints
in interfaceMetadataServiceList
- Returns:
- the distribution points element
-
setDistributionPoints
public void setDistributionPoints(DistributionPoints distributionPoints)
Assigns the distribution points element.- Specified by:
setDistributionPoints
in interfaceMetadataServiceList
- Parameters:
distributionPoints
- distribution points
-
-