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 protectedMetadataServiceListImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributionPointsgetDistributionPoints()Returns the distribution points element.StringgetID()Sets the ID of this list.InstantgetIssueDate()Returns the issue date attribute value.List<MetadataList>getMetadataLists()Returns a reference to the list of metadata lists held.InstantgetNextUpdate()Returns the next-update attribute value.List<XMLObject>getOrderedChildren()SchemeInformationgetSchemeInformation()Returns the scheme information element for this list.StringgetSignatureReferenceID()MetadataServiceListVersiongetVersion()Returns the version for this metadata service list.voidsetDistributionPoints(DistributionPoints distributionPoints)Assigns the distribution points element.voidsetID(String id)Assigns 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 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:
getSignatureReferenceIDin interfaceSignableSAMLObject
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
getVersion
public MetadataServiceListVersion getVersion()
Returns the version for this metadata service list.- Specified by:
getVersionin interfaceMetadataServiceList- Returns:
- the version
-
setVersion
public void setVersion(MetadataServiceListVersion version)
Assigns the version for this metadata service list.- Specified by:
setVersionin interfaceMetadataServiceList- Parameters:
version- the version
-
getID
public String getID()
Sets the ID of this list.- Specified by:
getIDin interfaceMetadataServiceList- Returns:
- the ID
-
setID
public void setID(String id)
Assigns the ID of this list.- Specified by:
setIDin interfaceMetadataServiceList- Parameters:
id- the ID
-
getIssueDate
public Instant getIssueDate()
Returns the issue date attribute value.- Specified by:
getIssueDatein interfaceMetadataServiceList- Returns:
- the issue date
-
setIssueDate
public void setIssueDate(Instant issueDate)
Assigns the issue date attribute value.- Specified by:
setIssueDatein interfaceMetadataServiceList- Parameters:
issueDate- the issue date
-
getNextUpdate
public Instant getNextUpdate()
Returns the next-update attribute value.- Specified by:
getNextUpdatein interfaceMetadataServiceList- Returns:
- the next update
-
setNextUpdate
public void setNextUpdate(Instant nextUpdate)
Assigns the next-update attribute value.- Specified by:
setNextUpdatein interfaceMetadataServiceList- Parameters:
nextUpdate- the next update
-
getSchemeInformation
public SchemeInformation getSchemeInformation()
Returns the scheme information element for this list.- Specified by:
getSchemeInformationin interfaceMetadataServiceList- Returns:
- scheme information
-
setSchemeInformation
public void setSchemeInformation(SchemeInformation schemeInformation)
Assigns the scheme information element for this list.- Specified by:
setSchemeInformationin interfaceMetadataServiceList- Parameters:
schemeInformation- scheme information
-
getMetadataLists
public List<MetadataList> getMetadataLists()
Returns a reference to the list of metadata lists held.- Specified by:
getMetadataListsin interfaceMetadataServiceList- Returns:
- a list of metadata lists
-
getDistributionPoints
public DistributionPoints getDistributionPoints()
Returns the distribution points element.- Specified by:
getDistributionPointsin interfaceMetadataServiceList- Returns:
- the distribution points element
-
setDistributionPoints
public void setDistributionPoints(DistributionPoints distributionPoints)
Assigns the distribution points element.- Specified by:
setDistributionPointsin interfaceMetadataServiceList- Parameters:
distributionPoints- distribution points
-
-