001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.09.12 at 08:53:21 PM IST
006: //
007:
008: package com.sun.xml.wss.saml.internal.saml11.jaxb20;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAttribute;
015: import javax.xml.bind.annotation.XmlElement;
016: import javax.xml.bind.annotation.XmlRootElement;
017: import javax.xml.bind.annotation.XmlType;
018: import javax.xml.datatype.XMLGregorianCalendar;
019:
020: /**
021: * <p>Java class for AuthenticationStatementType complex type.
022: *
023: * <p>The following schema fragment specifies the expected content contained within this class.
024: *
025: * <pre>
026: * <complexType name="AuthenticationStatementType">
027: * <complexContent>
028: * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatementAbstractType">
029: * <sequence>
030: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectLocality" minOccurs="0"/>
031: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AuthorityBinding" maxOccurs="unbounded" minOccurs="0"/>
032: * </sequence>
033: * <attribute name="AuthenticationInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
034: * <attribute name="AuthenticationMethod" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
035: * </extension>
036: * </complexContent>
037: * </complexType>
038: * </pre>
039: *
040: *
041: */
042: @XmlRootElement(name="AuthenticationStatement")
043: @XmlAccessorType(XmlAccessType.FIELD)
044: @XmlType(name="AuthenticationStatementType",propOrder={"subjectLocality","authorityBinding"})
045: public class AuthenticationStatementType extends
046: SubjectStatementAbstractType {
047:
048: @XmlElement(name="SubjectLocality")
049: protected SubjectLocalityType subjectLocality;
050: @XmlElement(name="AuthorityBinding")
051: protected List<AuthorityBindingType> authorityBinding;
052: @XmlAttribute(name="AuthenticationInstant",required=true)
053: protected XMLGregorianCalendar authenticationInstant;
054: @XmlAttribute(name="AuthenticationMethod",required=true)
055: protected String authenticationMethod;
056:
057: /**
058: * Gets the value of the subjectLocality property.
059: *
060: * @return
061: * possible object is
062: * {@link SubjectLocalityType }
063: *
064: */
065: public SubjectLocalityType getSubjectLocality() {
066: return subjectLocality;
067: }
068:
069: /**
070: * Sets the value of the subjectLocality property.
071: *
072: * @param value
073: * allowed object is
074: * {@link SubjectLocalityType }
075: *
076: */
077: public void setSubjectLocality(SubjectLocalityType value) {
078: this .subjectLocality = value;
079: }
080:
081: /**
082: * Gets the value of the authorityBinding property.
083: *
084: * <p>
085: * This accessor method returns a reference to the live list,
086: * not a snapshot. Therefore any modification you make to the
087: * returned list will be present inside the JAXB object.
088: * This is why there is not a <CODE>set</CODE> method for the authorityBinding property.
089: *
090: * <p>
091: * For example, to add a new item, do as follows:
092: * <pre>
093: * getAuthorityBinding().add(newItem);
094: * </pre>
095: *
096: *
097: * <p>
098: * Objects of the following type(s) are allowed in the list
099: * {@link AuthorityBindingType }
100: *
101: *
102: */
103: public List<AuthorityBindingType> getAuthorityBinding() {
104: if (authorityBinding == null) {
105: authorityBinding = new ArrayList<AuthorityBindingType>();
106: }
107: return this .authorityBinding;
108: }
109:
110: /**
111: * Gets the value of the authenticationInstant property.
112: *
113: * @return
114: * possible object is
115: * {@link XMLGregorianCalendar }
116: *
117: */
118: public XMLGregorianCalendar getAuthenticationInstant() {
119: return authenticationInstant;
120: }
121:
122: /**
123: * Sets the value of the authenticationInstant property.
124: *
125: * @param value
126: * allowed object is
127: * {@link XMLGregorianCalendar }
128: *
129: */
130: public void setAuthenticationInstant(XMLGregorianCalendar value) {
131: this .authenticationInstant = value;
132: }
133:
134: /**
135: * Gets the value of the authenticationMethod property.
136: *
137: * @return
138: * possible object is
139: * {@link String }
140: *
141: */
142: public String getAuthenticationMethod() {
143: return authenticationMethod;
144: }
145:
146: /**
147: * Sets the value of the authenticationMethod property.
148: *
149: * @param value
150: * allowed object is
151: * {@link String }
152: *
153: */
154: public void setAuthenticationMethod(String value) {
155: this.authenticationMethod = value;
156: }
157:
158: }
|