org.opensaml.ws.wstrust.impl
Class LifetimeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.ws.wstrust.impl.AbstractWSTrustObject
              extended by org.opensaml.ws.wstrust.impl.LifetimeImpl
All Implemented Interfaces:
Lifetime, WSTrustObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class LifetimeImpl
extends AbstractWSTrustObject
implements Lifetime

LifetimeImpl.


Field Summary
 
Fields inherited from interface org.opensaml.ws.wstrust.Lifetime
ELEMENT_LOCAL_NAME, ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
LifetimeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 Created getCreated()
          Returns the wsu:Created child element.
 Expires getExpires()
          Returns the wsu:Expires child element.
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 void setCreated(Created newCreated)
          Sets the wsu:Created child element.
 void setExpires(Expires newExpires)
          Sets the wsu:Expires child element.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

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 Detail

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<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject


Copyright © 2006-2013 Internet2. All Rights Reserved.