de.gematik.ws.conn.certificateservice.v6.ReadCardCertificate Maven / Gradle / Ivy
package de.gematik.ws.conn.certificateservice.v6;
import java.util.ArrayList;
import java.util.List;
import de.gematik.ws.conn.certificateservicecommon.v2.CertRefEnum;
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.XmlSchemaType;
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 ref="{http://ws.gematik.de/conn/ConnectorContext/v2.0}Context"/>
* <element name="CertRefList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CertRef" maxOccurs="unbounded">
* <simpleType>
* <restriction base="{http://ws.gematik.de/conn/CertificateServiceCommon/v2.0}CertRefEnum">
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Crypt" type="{http://ws.gematik.de/conn/CertificateService/v6.0}CryptType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"cardHandle",
"context",
"certRefList",
"crypt"
})
@XmlRootElement(name = "ReadCardCertificate")
public class ReadCardCertificate {
@XmlElement(name = "CardHandle", namespace = "http://ws.gematik.de/conn/ConnectorCommon/v5.0", required = true)
protected String cardHandle;
@XmlElement(name = "Context", namespace = "http://ws.gematik.de/conn/ConnectorContext/v2.0", required = true)
protected ContextType context;
@XmlElement(name = "CertRefList", required = true)
protected ReadCardCertificate.CertRefList certRefList;
@XmlElement(name = "Crypt")
@XmlSchemaType(name = "token")
protected CryptType crypt;
/**
* 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 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 certRefList property.
*
* @return
* possible object is
* {@link ReadCardCertificate.CertRefList }
*
*/
public ReadCardCertificate.CertRefList getCertRefList() {
return certRefList;
}
/**
* Sets the value of the certRefList property.
*
* @param value
* allowed object is
* {@link ReadCardCertificate.CertRefList }
*
*/
public void setCertRefList(ReadCardCertificate.CertRefList value) {
this.certRefList = value;
}
/**
* Gets the value of the crypt property.
*
* @return
* possible object is
* {@link CryptType }
*
*/
public CryptType getCrypt() {
return crypt;
}
/**
* Sets the value of the crypt property.
*
* @param value
* allowed object is
* {@link CryptType }
*
*/
public void setCrypt(CryptType value) {
this.crypt = 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="CertRef" maxOccurs="unbounded">
* <simpleType>
* <restriction base="{http://ws.gematik.de/conn/CertificateServiceCommon/v2.0}CertRefEnum">
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"certRef"
})
public static class CertRefList {
@XmlElement(name = "CertRef", required = true)
protected List certRef;
/**
* Gets the value of the certRef 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 certRef property.
*
*
* For example, to add a new item, do as follows:
*
* getCertRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CertRefEnum }
*
*
*/
public List getCertRef() {
if (certRef == null) {
certRef = new ArrayList();
}
return this.certRef;
}
}
}