org.certificateservices.messages.signrequest.jaxb.BaseSignTask 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: 2019.10.03 at 11:28:50 AM CEST
//
package org.certificateservices.messages.signrequest.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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.certificateservices.messages.csmessages.jaxb.Attribute;
/**
* Java class for BaseSignTask complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="BaseSignTask">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="signTaskId" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="signType" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="keyId" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <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>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BaseSignTask", propOrder = {
"signTaskId",
"signType",
"keyId",
"attributes"
})
@XmlSeeAlso({
SignResponseTask.class,
SignRequestTask.class
})
public abstract class BaseSignTask {
@XmlElement(required = true)
protected String signTaskId;
@XmlElement(required = true)
protected String signType;
@XmlElement(required = true)
protected String keyId;
protected BaseSignTask.Attributes attributes;
/**
* Gets the value of the signTaskId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSignTaskId() {
return signTaskId;
}
/**
* Sets the value of the signTaskId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSignTaskId(String value) {
this.signTaskId = value;
}
/**
* Gets the value of the signType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSignType() {
return signType;
}
/**
* Sets the value of the signType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSignType(String value) {
this.signType = value;
}
/**
* Gets the value of the keyId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyId() {
return keyId;
}
/**
* Sets the value of the keyId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyId(String value) {
this.keyId = value;
}
/**
* Gets the value of the attributes property.
*
* @return
* possible object is
* {@link BaseSignTask.Attributes }
*
*/
public BaseSignTask.Attributes getAttributes() {
return attributes;
}
/**
* Sets the value of the attributes property.
*
* @param value
* allowed object is
* {@link BaseSignTask.Attributes }
*
*/
public void setAttributes(BaseSignTask.Attributes value) {
this.attributes = 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 {
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;
}
}
}