org.certificateservices.messages.csagent.jaxb.DiscoveredCredential Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.01.04 at 04:35:43 PM MSK
//
package org.certificateservices.messages.csagent.jaxb;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.certificateservices.messages.csmessages.jaxb.Attribute;
/**
* Java class for DiscoveredCredential complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DiscoveredCredential">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="h" type="{http://certificateservices.org/xsd/csmessages2_0}between1and250string"/>
* <element name="t" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <sequence>
* <element name="as" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="a" type="{http://certificateservices.org/xsd/csmessages2_0}Attribute" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DiscoveredCredential", propOrder = {
"h",
"t",
"as"
})
@XmlSeeAlso({
DiscoveredCredentialData.class
})
public class DiscoveredCredential {
@XmlElement(required = true)
protected String h;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar t;
protected DiscoveredCredential.As as;
/**
* Gets the value of the h property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getH() {
return h;
}
/**
* Sets the value of the h property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setH(String value) {
this.h = value;
}
/**
* Gets the value of the t property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getT() {
return t;
}
/**
* Sets the value of the t property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setT(XMLGregorianCalendar value) {
this.t = value;
}
/**
* Gets the value of the as property.
*
* @return
* possible object is
* {@link DiscoveredCredential.As }
*
*/
public DiscoveredCredential.As getAs() {
return as;
}
/**
* Sets the value of the as property.
*
* @param value
* allowed object is
* {@link DiscoveredCredential.As }
*
*/
public void setAs(DiscoveredCredential.As value) {
this.as = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="a" type="{http://certificateservices.org/xsd/csmessages2_0}Attribute" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"a"
})
public static class As {
protected List a;
/**
* Gets the value of the a 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 a property.
*
*
* For example, to add a new item, do as follows:
*
* getA().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Attribute }
*
*
*/
public List getA() {
if (a == null) {
a = new ArrayList();
}
return this.a;
}
}
}