Class PublicationImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.ext.saml2mdrpi.impl.PublicationImpl
All Implemented Interfaces:
XMLObject, SAMLObject, Publication

public class PublicationImpl extends AbstractXMLObject implements Publication
A concrete Publication.
  • Field Details

    • publisher

      private String publisher
      The publisher.
    • creationInstant

      private Instant creationInstant
      The creation instant.
    • publicationId

      private String publicationId
      The publicationId.
  • Constructor Details

    • PublicationImpl

      protected PublicationImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getPublisher

      public String getPublisher()
      Get the publisher.
      Specified by:
      getPublisher in interface Publication
      Returns:
      the publisher
    • setPublisher

      public void setPublisher(String thePublisher)
      Set the publisher.
      Specified by:
      setPublisher in interface Publication
      Parameters:
      thePublisher - the publisher
    • getCreationInstant

      public Instant getCreationInstant()
      Get the creation instant.
      Specified by:
      getCreationInstant in interface Publication
      Returns:
      the creation instant
    • setCreationInstant

      public void setCreationInstant(Instant dateTime)
      Set the creation instant.
      Specified by:
      setCreationInstant in interface Publication
      Parameters:
      dateTime - the instant
    • getPublicationId

      public String getPublicationId()
      Get the publicationId.
      Specified by:
      getPublicationId in interface Publication
      Returns:
      the publicationId
    • setPublicationId

      public void setPublicationId(String id)
      Set the publicationId.
      Specified by:
      setPublicationId in interface Publication
      Parameters:
      id - the publicationIdr
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements