org.certificateservices.messages.csmessages.jaxb.Token Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.05.21 at 02:30:00 PM CEST
//
package org.certificateservices.messages.csmessages.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.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Java class for Token complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Token">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="serialNumber" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="tokenContainer" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="tokenType" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="tokenClass" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="status" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="attributes" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="attribute" type="{http://certificateservices.org/xsd/csmessages2_0}Attribute" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="credentials" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="credential" type="{http://certificateservices.org/xsd/csmessages2_0}Credential" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="issueDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="expireDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="validFromDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="requestDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="returnDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="dateCreated" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="lastUpdated" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="departmentName" type="{http://certificateservices.org/xsd/csmessages2_0}departmentnamestring" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Token", namespace = "http://certificateservices.org/xsd/csmessages2_0", propOrder = {
"serialNumber",
"tokenContainer",
"tokenType",
"tokenClass",
"status",
"attributes",
"credentials",
"description",
"issueDate",
"expireDate",
"validFromDate",
"requestDate",
"returnDate",
"dateCreated",
"lastUpdated",
"departmentName"
})
public class Token {
protected String serialNumber;
@XmlElement(required = true)
protected String tokenContainer;
@XmlElement(required = true)
protected String tokenType;
@XmlElement(required = true)
protected String tokenClass;
protected int status;
protected Token.Attributes attributes;
protected Token.Credentials credentials;
protected String description;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar issueDate;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar expireDate;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar validFromDate;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar requestDate;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar returnDate;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dateCreated;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar lastUpdated;
protected String departmentName;
/**
* Gets the value of the serialNumber property.
*
*/
public String getSerialNumber() {
return serialNumber;
}
/**
* Sets the value of the serialNumber property.
*
*/
public void setSerialNumber(String value) {
this.serialNumber = value;
}
/**
* Gets the value of the tokenContainer property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTokenContainer() {
return tokenContainer;
}
/**
* Sets the value of the tokenContainer property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTokenContainer(String value) {
this.tokenContainer = value;
}
/**
* Gets the value of the tokenType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTokenType() {
return tokenType;
}
/**
* Sets the value of the tokenType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTokenType(String value) {
this.tokenType = value;
}
/**
* Gets the value of the tokenClass property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTokenClass() {
return tokenClass;
}
/**
* Sets the value of the tokenClass property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTokenClass(String value) {
this.tokenClass = value;
}
/**
* Gets the value of the status property.
*
*/
public int getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
*/
public void setStatus(int value) {
this.status = value;
}
/**
* Gets the value of the attributes property.
*
* @return
* possible object is
* {@link Token.Attributes }
*
*/
public Token.Attributes getAttributes() {
return attributes;
}
/**
* Sets the value of the attributes property.
*
* @param value
* allowed object is
* {@link Token.Attributes }
*
*/
public void setAttributes(Token.Attributes value) {
this.attributes = value;
}
/**
* Gets the value of the credentials property.
*
* @return
* possible object is
* {@link Token.Credentials }
*
*/
public Token.Credentials getCredentials() {
return credentials;
}
/**
* Sets the value of the credentials property.
*
* @param value
* allowed object is
* {@link Token.Credentials }
*
*/
public void setCredentials(Token.Credentials value) {
this.credentials = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the issueDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getIssueDate() {
return issueDate;
}
/**
* Sets the value of the issueDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setIssueDate(XMLGregorianCalendar value) {
this.issueDate = value;
}
/**
* Gets the value of the expireDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getExpireDate() {
return expireDate;
}
/**
* Sets the value of the expireDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setExpireDate(XMLGregorianCalendar value) {
this.expireDate = value;
}
/**
* Gets the value of the validFromDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getValidFromDate() {
return validFromDate;
}
/**
* Sets the value of the validFromDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setValidFromDate(XMLGregorianCalendar value) {
this.validFromDate = value;
}
/**
* Gets the value of the requestDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getRequestDate() {
return requestDate;
}
/**
* Sets the value of the requestDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setRequestDate(XMLGregorianCalendar value) {
this.requestDate = value;
}
/**
* Gets the value of the returnDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getReturnDate() {
return returnDate;
}
/**
* Sets the value of the returnDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setReturnDate(XMLGregorianCalendar value) {
this.returnDate = value;
}
/**
* Gets the value of the dateCreated property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDateCreated() {
return dateCreated;
}
/**
* Sets the value of the dateCreated property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDateCreated(XMLGregorianCalendar value) {
this.dateCreated = value;
}
/**
* Gets the value of the lastUpdated property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getLastUpdated() {
return lastUpdated;
}
/**
* Sets the value of the lastUpdated property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setLastUpdated(XMLGregorianCalendar value) {
this.lastUpdated = value;
}
/**
* Gets the value of the departmentName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDepartmentName() {
return departmentName;
}
/**
* Sets the value of the departmentName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDepartmentName(String value) {
this.departmentName = 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="attribute" type="{http://certificateservices.org/xsd/csmessages2_0}Attribute" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"attribute"
})
public static class Attributes {
@XmlElement(namespace = "http://certificateservices.org/xsd/csmessages2_0")
protected List attribute;
/**
* Gets the value of the attribute 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 attribute property.
*
*
* For example, to add a new item, do as follows:
*
* getAttribute().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Attribute }
*
*
*/
public List getAttribute() {
if (attribute == null) {
attribute = new ArrayList();
}
return this.attribute;
}
}
/**
* 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="credential" type="{http://certificateservices.org/xsd/csmessages2_0}Credential" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"credential"
})
public static class Credentials {
@XmlElement(namespace = "http://certificateservices.org/xsd/csmessages2_0")
protected List credential;
/**
* Gets the value of the credential 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 credential property.
*
*
* For example, to add a new item, do as follows:
*
* getCredential().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Credential }
*
*
*/
public List getCredential() {
if (credential == null) {
credential = new ArrayList();
}
return this.credential;
}
}
}