//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// 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.XmlElements;
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;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{http://purl.oclc.org/dsdl/svrl}text" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://purl.oclc.org/dsdl/svrl}ns-prefix-in-attribute-values" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;sequence maxOccurs="unbounded">
 *           &lt;element ref="{http://purl.oclc.org/dsdl/svrl}active-pattern"/>
 *           &lt;sequence maxOccurs="unbounded">
 *             &lt;element ref="{http://purl.oclc.org/dsdl/svrl}fired-rule"/>
 *             &lt;choice maxOccurs="unbounded" minOccurs="0">
 *               &lt;element ref="{http://purl.oclc.org/dsdl/svrl}failed-assert"/>
 *               &lt;element ref="{http://purl.oclc.org/dsdl/svrl}successful-report"/>
 *             &lt;/choice>
 *           &lt;/sequence>
 *         &lt;/sequence>
 *       &lt;/sequence>
 *       &lt;attribute name="title" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       &lt;attribute name="phase" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
 *       &lt;attribute name="schemaVersion" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "text",
    "nsPrefixInAttributeValues",
    "activePatternAndFiredRuleAndFailedAssert"
})
@XmlRootElement(name = "schematron-output")
public class SchematronOutput {

    protected List<String> text;
    @XmlElement(name = "ns-prefix-in-attribute-values")
    protected List<NsPrefixInAttributeValues> nsPrefixInAttributeValues;
    @XmlElements({
        @XmlElement(name = "active-pattern", required = true, type = ActivePattern.class),
        @XmlElement(name = "fired-rule", required = true, type = FiredRule.class),
        @XmlElement(name = "failed-assert", required = true, type = FailedAssert.class),
        @XmlElement(name = "successful-report", required = true, type = SuccessfulReport.class)
    })
    protected List<Object> activePatternAndFiredRuleAndFailedAssert;
    @XmlAttribute(name = "title")
    @XmlSchemaType(name = "anySimpleType")
    protected String title;
    @XmlAttribute(name = "phase")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "NMTOKEN")
    protected String phase;
    @XmlAttribute(name = "schemaVersion")
    @XmlSchemaType(name = "anySimpleType")
    protected String schemaVersion;

    /**
     * Gets the value of the text property.
     * 
     * <p>
     * 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 <CODE>set</CODE> method for the text property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getText().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getText() {
        if (text == null) {
            text = new ArrayList<>();
        }
        return this.text;
    }

    /**
     * Gets the value of the nsPrefixInAttributeValues property.
     * 
     * <p>
     * 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 <CODE>set</CODE> method for the nsPrefixInAttributeValues property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getNsPrefixInAttributeValues().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link NsPrefixInAttributeValues }
     * 
     * 
     */
    public List<NsPrefixInAttributeValues> getNsPrefixInAttributeValues() {
        if (nsPrefixInAttributeValues == null) {
            nsPrefixInAttributeValues = new ArrayList<>();
        }
        return this.nsPrefixInAttributeValues;
    }

    /**
     * Gets the value of the activePatternAndFiredRuleAndFailedAssert property.
     * 
     * <p>
     * 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 <CODE>set</CODE> method for the activePatternAndFiredRuleAndFailedAssert property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getActivePatternAndFiredRuleAndFailedAssert().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ActivePattern }
     * {@link FiredRule }
     * {@link FailedAssert }
     * {@link SuccessfulReport }
     * 
     * 
     */
    public List<Object> getActivePatternAndFiredRuleAndFailedAssert() {
        if (activePatternAndFiredRuleAndFailedAssert == null) {
            activePatternAndFiredRuleAndFailedAssert = new ArrayList<>();
        }
        return this.activePatternAndFiredRuleAndFailedAssert;
    }

    /**
     * Gets the value of the title property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTitle() {
        return title;
    }

    /**
     * Sets the value of the title property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTitle(String value) {
        this.title = value;
    }

    /**
     * Gets the value of the phase property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPhase() {
        return phase;
    }

    /**
     * Sets the value of the phase property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPhase(String value) {
        this.phase = value;
    }

    /**
     * Gets the value of the schemaVersion property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSchemaVersion() {
        return schemaVersion;
    }

    /**
     * Sets the value of the schemaVersion property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSchemaVersion(String value) {
        this.schemaVersion = value;
    }

}
