de.gematik.ws.conn.signatureservice.v7.SignDocument Maven / Gradle / Ivy
package de.gematik.ws.conn.signatureservice.v7;
import java.util.ArrayList;
import java.util.List;
import de.gematik.ws.conn.connectorcontext.v2.ContextType;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* 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 ref="{http://ws.gematik.de/conn/ConnectorCommon/v5.0}CardHandle"/>
* <element name="Crypt" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="RSA"/>
* <enumeration value="ECC"/>
* <enumeration value="RSA_ECC"/>
* </restriction>
* </simpleType>
* </element>
* <element ref="{http://ws.gematik.de/conn/ConnectorContext/v2.0}Context"/>
* <element ref="{http://ws.gematik.de/conn/SignatureService/v7.5}TvMode"/>
* <element ref="{http://ws.gematik.de/conn/SignatureService/v7.5}JobNumber" minOccurs="0"/>
* <element ref="{http://ws.gematik.de/conn/SignatureService/v7.5}SignRequest" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"cardHandle",
"crypt",
"context",
"tvMode",
"jobNumber",
"signRequest"
})
@XmlRootElement(name = "SignDocument")
public class SignDocument {
@XmlElement(name = "CardHandle", namespace = "http://ws.gematik.de/conn/ConnectorCommon/v5.0", required = true)
protected String cardHandle;
@XmlElement(name = "Crypt")
protected String crypt;
@XmlElement(name = "Context", namespace = "http://ws.gematik.de/conn/ConnectorContext/v2.0", required = true)
protected ContextType context;
@XmlElement(name = "TvMode", required = true, defaultValue = "UNCONFIRMED")
protected String tvMode;
@XmlElement(name = "JobNumber")
protected String jobNumber;
@XmlElement(name = "SignRequest", required = true)
protected List signRequest;
/**
* Gets the value of the cardHandle property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCardHandle() {
return cardHandle;
}
/**
* Sets the value of the cardHandle property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCardHandle(String value) {
this.cardHandle = value;
}
/**
* Gets the value of the crypt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCrypt() {
return crypt;
}
/**
* Sets the value of the crypt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCrypt(String value) {
this.crypt = value;
}
/**
* Gets the value of the context property.
*
* @return
* possible object is
* {@link ContextType }
*
*/
public ContextType getContext() {
return context;
}
/**
* Sets the value of the context property.
*
* @param value
* allowed object is
* {@link ContextType }
*
*/
public void setContext(ContextType value) {
this.context = value;
}
/**
* Gets the value of the tvMode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTvMode() {
return tvMode;
}
/**
* Sets the value of the tvMode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTvMode(String value) {
this.tvMode = value;
}
/**
*
* Am Konnektor verpflichtend, am Signaturproxy optional
*
*
* @return
* possible object is
* {@link String }
*
*/
public String getJobNumber() {
return jobNumber;
}
/**
* Sets the value of the jobNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJobNumber(String value) {
this.jobNumber = value;
}
/**
* Gets the value of the signRequest 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 Jakarta XML Binding object.
* This is why there is not a set
method for the signRequest property.
*
*
* For example, to add a new item, do as follows:
*
* getSignRequest().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SignRequest }
*
*
*/
public List getSignRequest() {
if (signRequest == null) {
signRequest = new ArrayList();
}
return this.signRequest;
}
}