org.opensaml.saml2.common
Interface CacheableSAMLObject

All Superinterfaces:
SAMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject
All Known Subinterfaces:
AffiliationDescriptor, AttributeAuthorityDescriptor, AttributeQueryDescriptorType, AuthnAuthorityDescriptor, AuthnQueryDescriptorType, AuthzDecisionQueryDescriptorType, EntitiesDescriptor, EntityDescriptor, IDPSSODescriptor, PDPDescriptor, QueryDescriptorType, RoleDescriptor, SPSSODescriptor, SSODescriptor
All Known Implementing Classes:
AffiliationDescriptorImpl, AttributeAuthorityDescriptorImpl, AttributeQueryDescriptorTypeImpl, AuthnAuthorityDescriptorImpl, AuthnQueryDescriptorTypeImpl, AuthzDecisionQueryDescriptorTypeImpl, EntitiesDescriptorImpl, EntityDescriptorImpl, IDPSSODescriptorImpl, PDPDescriptorImpl, QueryDescriptorTypeImpl, RoleDescriptorImpl, SPSSODescriptorImpl, SSODescriptorImpl

public interface CacheableSAMLObject
extends SAMLObject

A functional interface for SAMLElements that provide cache duration information.


Field Summary
static java.lang.String CACHE_DURATION_ATTRIB_NAME
          "cacheDuration" attribute name
static javax.xml.namespace.QName CACHE_DURATION_ATTRIB_QNAME
          "cacheDuration" attribute's QName
 
Method Summary
 java.lang.Long getCacheDuration()
          Gets the maximum time, in milliseconds, that this descriptor should be cached.
 void setCacheDuration(java.lang.Long duration)
          Sets the maximum time, in milliseconds, that this descriptor should be cached.
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

CACHE_DURATION_ATTRIB_NAME

static final java.lang.String CACHE_DURATION_ATTRIB_NAME
"cacheDuration" attribute name

See Also:
Constant Field Values

CACHE_DURATION_ATTRIB_QNAME

static final javax.xml.namespace.QName CACHE_DURATION_ATTRIB_QNAME
"cacheDuration" attribute's QName

Method Detail

getCacheDuration

java.lang.Long getCacheDuration()
Gets the maximum time, in milliseconds, that this descriptor should be cached.

Returns:
the maximum time that this descriptor should be cached

setCacheDuration

void setCacheDuration(java.lang.Long duration)
Sets the maximum time, in milliseconds, that this descriptor should be cached.

Parameters:
duration - the maximum time that this descriptor should be cached


Copyright © 2006-2009 Internet2. All Rights Reserved.