org.certificateservices.messages.keystoremgmt.jaxb.KeyInfo 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.06.02 at 10:40:08 AM CEST
//
package org.certificateservices.messages.keystoremgmt.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;
import org.certificateservices.messages.csmessages.jaxb.Credential;
/**
* Java class for KeyInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="KeyInfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="alias" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="organisationShortName" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="application" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="credentialSubType" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="description" type="{http://certificateservices.org/xsd/csmessages2_0}descriptionstring" minOccurs="0"/>
* <element name="certificateRequest" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* <element name="dateCreated" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="lastUpdated" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="expireDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="status" type="{http://certificateservices.org/xsd/keystoremgmt2_0}KeyStatus"/>
* <element name="credentials">
* <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>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "KeyInfo", namespace = "http://certificateservices.org/xsd/keystoremgmt2_0", propOrder = {
"alias",
"organisationShortName",
"application",
"credentialSubType",
"description",
"certificateRequest",
"dateCreated",
"lastUpdated",
"expireDate",
"status",
"credentials"
})
public class KeyInfo {
@XmlElement(required = true)
protected String alias;
@XmlElement(required = true)
protected String organisationShortName;
@XmlElement(required = true)
protected String application;
@XmlElement(required = true)
protected String credentialSubType;
protected String description;
@XmlElement(required = true)
protected byte[] certificateRequest;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dateCreated;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar lastUpdated;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar expireDate;
@XmlElement(required = true)
protected KeyStatus status;
@XmlElement(required = true)
protected KeyInfo.Credentials credentials;
/**
* Gets the value of the alias property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAlias() {
return alias;
}
/**
* Sets the value of the alias property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAlias(String value) {
this.alias = value;
}
/**
* Gets the value of the organisationShortName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrganisationShortName() {
return organisationShortName;
}
/**
* Sets the value of the organisationShortName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrganisationShortName(String value) {
this.organisationShortName = value;
}
/**
* Gets the value of the application property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getApplication() {
return application;
}
/**
* Sets the value of the application property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setApplication(String value) {
this.application = value;
}
/**
* Gets the value of the credentialSubType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCredentialSubType() {
return credentialSubType;
}
/**
* Sets the value of the credentialSubType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCredentialSubType(String value) {
this.credentialSubType = 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 certificateRequest property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getCertificateRequest() {
return certificateRequest;
}
/**
* Sets the value of the certificateRequest property.
*
* @param value
* allowed object is
* byte[]
*/
public void setCertificateRequest(byte[] value) {
this.certificateRequest = 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 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 status property.
*
* @return
* possible object is
* {@link KeyStatus }
*
*/
public KeyStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link KeyStatus }
*
*/
public void setStatus(KeyStatus value) {
this.status = value;
}
/**
* Gets the value of the credentials property.
*
* @return
* possible object is
* {@link KeyInfo.Credentials }
*
*/
public KeyInfo.Credentials getCredentials() {
return credentials;
}
/**
* Sets the value of the credentials property.
*
* @param value
* allowed object is
* {@link KeyInfo.Credentials }
*
*/
public void setCredentials(KeyInfo.Credentials value) {
this.credentials = 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="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/keystoremgmt2_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;
}
}
}