Class LifetimeImpl

All Implemented Interfaces:
XMLObject, Lifetime, WSTrustObject

public class LifetimeImpl extends AbstractWSTrustObject implements Lifetime
LifetimeImpl.
  • Field Details

    • created

      private Created created
      The wsu:Created child element.
    • expires

      private Expires expires
      The wsu:Expires child element.
  • Constructor Details

    • LifetimeImpl

      public LifetimeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - The namespace of the element
      elementLocalName - The local name of the element
      namespacePrefix - The namespace prefix of the element
  • Method Details

    • getCreated

      public Created getCreated()
      Returns the wsu:Created child element.
      Specified by:
      getCreated in interface Lifetime
      Returns:
      the Created child element or null.
    • getExpires

      public Expires getExpires()
      Returns the wsu:Expires child element.
      Specified by:
      getExpires in interface Lifetime
      Returns:
      the Expires child element or null.
    • setCreated

      public void setCreated(Created newCreated)
      Sets the wsu:Created child element.
      Specified by:
      setCreated in interface Lifetime
      Parameters:
      newCreated - the Created child element to set.
    • setExpires

      public void setExpires(Expires newExpires)
      Sets the wsu:Expires child element.
      Specified by:
      setExpires in interface Lifetime
      Parameters:
      newExpires - the Expires child element.
    • 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