org.openehealth.ipf.commons.xml.svrl.FailedAssert Maven / Gradle / Ivy
Show all versions of ipf-commons-xml Show documentation
//
// 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.05.01 at 10:44:03 PM CEST
//
package org.openehealth.ipf.commons.xml.svrl;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlID;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* 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://purl.oclc.org/dsdl/svrl}diagnostic-reference" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://purl.oclc.org/dsdl/svrl}text"/>
* </sequence>
* <attGroup ref="{http://purl.oclc.org/dsdl/svrl}attlist.assert-and-report"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"diagnosticReference",
"text"
})
@XmlRootElement(name = "failed-assert")
public class FailedAssert {
@XmlElement(name = "diagnostic-reference")
protected List diagnosticReference;
@XmlElement(required = true)
protected String text;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(name = "location", required = true)
@XmlSchemaType(name = "anySimpleType")
protected String location;
@XmlAttribute(name = "test", required = true)
@XmlSchemaType(name = "anySimpleType")
protected String test;
@XmlAttribute(name = "role")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String role;
@XmlAttribute(name = "flag")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String flag;
/**
* Gets the value of the diagnosticReference 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 diagnosticReference property.
*
*
* For example, to add a new item, do as follows:
*
* getDiagnosticReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DiagnosticReference }
*
*
*/
public List getDiagnosticReference() {
if (diagnosticReference == null) {
diagnosticReference = new ArrayList<>();
}
return this.diagnosticReference;
}
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setText(String value) {
this.text = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocation(String value) {
this.location = value;
}
/**
* Gets the value of the test property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTest() {
return test;
}
/**
* Sets the value of the test property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTest(String value) {
this.test = value;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(String value) {
this.role = value;
}
/**
* Gets the value of the flag property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFlag() {
return flag;
}
/**
* Sets the value of the flag property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFlag(String value) {
this.flag = value;
}
}