org.jboss.identity.federation.saml.v2.ac.classes.password
Class TokenType

java.lang.Object
  extended by org.jboss.identity.federation.saml.v2.ac.classes.password.TokenType

public class TokenType
extends java.lang.Object

Java class for TokenType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TokenType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac:classes:Password}TimeSyncToken"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac:classes:Password}Extension" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<ExtensionType> extension
           
protected  TimeSyncTokenType timeSyncToken
           
 
Constructor Summary
TokenType()
           
 
Method Summary
 java.util.List<ExtensionType> getExtension()
          Gets the value of the extension property.
 TimeSyncTokenType getTimeSyncToken()
          Gets the value of the timeSyncToken property.
 void setTimeSyncToken(TimeSyncTokenType value)
          Sets the value of the timeSyncToken property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeSyncToken

protected TimeSyncTokenType timeSyncToken

extension

protected java.util.List<ExtensionType> extension
Constructor Detail

TokenType

public TokenType()
Method Detail

getTimeSyncToken

public TimeSyncTokenType getTimeSyncToken()
Gets the value of the timeSyncToken property.

Returns:
possible object is TimeSyncTokenType

setTimeSyncToken

public void setTimeSyncToken(TimeSyncTokenType value)
Sets the value of the timeSyncToken property.

Parameters:
value - allowed object is TimeSyncTokenType

getExtension

public java.util.List<ExtensionType> getExtension()
Gets the value of the extension property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the extension property.

For example, to add a new item, do as follows:

    getExtension().add(newItem);
 

Objects of the following type(s) are allowed in the list ExtensionType



Copyright © 2009 JBoss Inc.. All Rights Reserved.