com.sun.xml.ws.security.impl.policy
Class Lifetime

java.lang.Object
  extended by com.sun.xml.ws.policy.PolicyAssertion
      extended by com.sun.xml.ws.security.impl.policy.Lifetime
All Implemented Interfaces:
Lifetime, SecurityAssertionValidator

public class Lifetime
extends com.sun.xml.ws.policy.PolicyAssertion
implements Lifetime, SecurityAssertionValidator


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator
SecurityAssertionValidator.AssertionFitness
 
Constructor Summary
Lifetime(com.sun.xml.ws.policy.sourcemodel.AssertionData name, java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)
          Creates a new instance of LifeTimeImpl
 
Method Summary
 java.lang.String getCreated()
          Get creation time
 java.lang.String getExpires()
          Get Expires time
 void setCreated(java.lang.String created)
           
 void setExpires(java.lang.String expires)
           
 SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
          returns true if all the assertions embeeded under a SecurityPolicy assertion are valid and supported by the implementation.
 
Methods inherited from class com.sun.xml.ws.policy.PolicyAssertion
equals, getAttributes, getAttributesSet, getAttributeValue, getName, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Lifetime

public Lifetime(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
                java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
                com.sun.xml.ws.policy.AssertionSet nestedAlternative)
Creates a new instance of LifeTimeImpl

Method Detail

getCreated

public java.lang.String getCreated()
Description copied from interface: Lifetime
Get creation time

Specified by:
getCreated in interface Lifetime
Returns:
String representing created time

setCreated

public void setCreated(java.lang.String created)

getExpires

public java.lang.String getExpires()
Description copied from interface: Lifetime
Get Expires time

Specified by:
getExpires in interface Lifetime
Returns:
String representing expires time.

setExpires

public void setExpires(java.lang.String expires)

validate

public SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
Description copied from interface: SecurityAssertionValidator
returns true if all the assertions embeeded under a SecurityPolicy assertion are valid and supported by the implementation.

Specified by:
validate in interface SecurityAssertionValidator