de.gematik.ws.conn.certificateservice.v6.VerifyCertificateResponse Maven / Gradle / Ivy
package de.gematik.ws.conn.certificateservice.v6;
import java.util.ArrayList;
import java.util.List;
import de.gematik.ws.conn.connectorcommon.v5.Status;
import de.gematik.ws.tel.error.v2.Error;
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}Status"/>
* <element name="VerificationStatus">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="VerificationResult" type="{http://ws.gematik.de/conn/CertificateService/v6.0}VerificationResultType"/>
* <element ref="{http://ws.gematik.de/tel/error/v2.0}Error" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="RoleList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Role" maxOccurs="unbounded">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="100"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"status",
"verificationStatus",
"roleList"
})
@XmlRootElement(name = "VerifyCertificateResponse")
public class VerifyCertificateResponse {
@XmlElement(name = "Status", namespace = "http://ws.gematik.de/conn/ConnectorCommon/v5.0", required = true)
protected Status status;
@XmlElement(name = "VerificationStatus", required = true)
protected VerifyCertificateResponse.VerificationStatus verificationStatus;
@XmlElement(name = "RoleList", required = true)
protected VerifyCertificateResponse.RoleList roleList;
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link Status }
*
*/
public Status getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link Status }
*
*/
public void setStatus(Status value) {
this.status = value;
}
/**
* Gets the value of the verificationStatus property.
*
* @return
* possible object is
* {@link VerifyCertificateResponse.VerificationStatus }
*
*/
public VerifyCertificateResponse.VerificationStatus getVerificationStatus() {
return verificationStatus;
}
/**
* Sets the value of the verificationStatus property.
*
* @param value
* allowed object is
* {@link VerifyCertificateResponse.VerificationStatus }
*
*/
public void setVerificationStatus(VerifyCertificateResponse.VerificationStatus value) {
this.verificationStatus = value;
}
/**
* Gets the value of the roleList property.
*
* @return
* possible object is
* {@link VerifyCertificateResponse.RoleList }
*
*/
public VerifyCertificateResponse.RoleList getRoleList() {
return roleList;
}
/**
* Sets the value of the roleList property.
*
* @param value
* allowed object is
* {@link VerifyCertificateResponse.RoleList }
*
*/
public void setRoleList(VerifyCertificateResponse.RoleList value) {
this.roleList = 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="Role" maxOccurs="unbounded">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="100"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"role"
})
public static class RoleList {
@XmlElement(name = "Role", required = true)
protected List role;
/**
* Gets the value of the role 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 role property.
*
*
* For example, to add a new item, do as follows:
*
* getRole().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getRole() {
if (role == null) {
role = new ArrayList();
}
return this.role;
}
}
/**
* 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="VerificationResult" type="{http://ws.gematik.de/conn/CertificateService/v6.0}VerificationResultType"/>
* <element ref="{http://ws.gematik.de/tel/error/v2.0}Error" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"verificationResult",
"error"
})
public static class VerificationStatus {
@XmlElement(name = "VerificationResult", required = true)
@XmlSchemaType(name = "token")
protected VerificationResultType verificationResult;
@XmlElement(name = "Error", namespace = "http://ws.gematik.de/tel/error/v2.0")
protected Error error;
/**
* Gets the value of the verificationResult property.
*
* @return
* possible object is
* {@link VerificationResultType }
*
*/
public VerificationResultType getVerificationResult() {
return verificationResult;
}
/**
* Sets the value of the verificationResult property.
*
* @param value
* allowed object is
* {@link VerificationResultType }
*
*/
public void setVerificationResult(VerificationResultType value) {
this.verificationResult = value;
}
/**
*
* Beschreibt für den Fall Result == "ERROR"
* den Fehler für die gesamte Operation.
*
*
* @return
* possible object is
* {@link Error }
*
*/
public Error getError() {
return error;
}
/**
* Sets the value of the error property.
*
* @param value
* allowed object is
* {@link Error }
*
*/
public void setError(Error value) {
this.error = value;
}
}
}