org.certificateservices.messages.keystoremgmt.jaxb.AttachCredentialsRequest 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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.certificateservices.messages.csmessages.jaxb.CSRequest;
import org.certificateservices.messages.csmessages.jaxb.Credential;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{http://certificateservices.org/xsd/csmessages2_0}CSRequest">
* <sequence>
* <element name="keyStoreProviderName" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="organisationShortName" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="alias" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <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"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"keyStoreProviderName",
"organisationShortName",
"alias",
"credentials"
})
@XmlRootElement(name = "AttachCredentialsRequest", namespace = "http://certificateservices.org/xsd/keystoremgmt2_0")
public class AttachCredentialsRequest
extends CSRequest
{
@XmlElement(namespace = "http://certificateservices.org/xsd/keystoremgmt2_0", required = true)
protected String keyStoreProviderName;
@XmlElement(namespace = "http://certificateservices.org/xsd/keystoremgmt2_0", required = true)
protected String organisationShortName;
@XmlElement(namespace = "http://certificateservices.org/xsd/keystoremgmt2_0", required = true)
protected String alias;
@XmlElement(namespace = "http://certificateservices.org/xsd/keystoremgmt2_0", required = true)
protected AttachCredentialsRequest.Credentials credentials;
/**
* Gets the value of the keyStoreProviderName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyStoreProviderName() {
return keyStoreProviderName;
}
/**
* Sets the value of the keyStoreProviderName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyStoreProviderName(String value) {
this.keyStoreProviderName = 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 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 credentials property.
*
* @return
* possible object is
* {@link AttachCredentialsRequest.Credentials }
*
*/
public AttachCredentialsRequest.Credentials getCredentials() {
return credentials;
}
/**
* Sets the value of the credentials property.
*
* @param value
* allowed object is
* {@link AttachCredentialsRequest.Credentials }
*
*/
public void setCredentials(AttachCredentialsRequest.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"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"credential"
})
public static class Credentials {
@XmlElement(namespace = "http://certificateservices.org/xsd/keystoremgmt2_0", required = true)
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;
}
}
}