1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2015.05.01 at 10:44:03 PM CEST 6 // 7 8 9 package org.openehealth.ipf.commons.xml.svrl; 10 11 import java.util.ArrayList; 12 import java.util.List; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlAttribute; 16 import javax.xml.bind.annotation.XmlElement; 17 import javax.xml.bind.annotation.XmlElements; 18 import javax.xml.bind.annotation.XmlRootElement; 19 import javax.xml.bind.annotation.XmlSchemaType; 20 import javax.xml.bind.annotation.XmlType; 21 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 22 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 23 24 25 /** 26 * <p>Java class for anonymous complex type. 27 * 28 * <p>The following schema fragment specifies the expected content contained within this class. 29 * 30 * <pre> 31 * <complexType> 32 * <complexContent> 33 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 34 * <sequence> 35 * <element ref="{http://purl.oclc.org/dsdl/svrl}text" maxOccurs="unbounded" minOccurs="0"/> 36 * <element ref="{http://purl.oclc.org/dsdl/svrl}ns-prefix-in-attribute-values" maxOccurs="unbounded" minOccurs="0"/> 37 * <sequence maxOccurs="unbounded"> 38 * <element ref="{http://purl.oclc.org/dsdl/svrl}active-pattern"/> 39 * <sequence maxOccurs="unbounded"> 40 * <element ref="{http://purl.oclc.org/dsdl/svrl}fired-rule"/> 41 * <choice maxOccurs="unbounded" minOccurs="0"> 42 * <element ref="{http://purl.oclc.org/dsdl/svrl}failed-assert"/> 43 * <element ref="{http://purl.oclc.org/dsdl/svrl}successful-report"/> 44 * </choice> 45 * </sequence> 46 * </sequence> 47 * </sequence> 48 * <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> 49 * <attribute name="phase" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> 50 * <attribute name="schemaVersion" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> 51 * </restriction> 52 * </complexContent> 53 * </complexType> 54 * </pre> 55 * 56 * 57 */ 58 @XmlAccessorType(XmlAccessType.FIELD) 59 @XmlType(name = "", propOrder = { 60 "text", 61 "nsPrefixInAttributeValues", 62 "activePatternAndFiredRuleAndFailedAssert" 63 }) 64 @XmlRootElement(name = "schematron-output") 65 public class SchematronOutput { 66 67 protected List<String> text; 68 @XmlElement(name = "ns-prefix-in-attribute-values") 69 protected List<NsPrefixInAttributeValues> nsPrefixInAttributeValues; 70 @XmlElements({ 71 @XmlElement(name = "active-pattern", required = true, type = ActivePattern.class), 72 @XmlElement(name = "fired-rule", required = true, type = FiredRule.class), 73 @XmlElement(name = "failed-assert", required = true, type = FailedAssert.class), 74 @XmlElement(name = "successful-report", required = true, type = SuccessfulReport.class) 75 }) 76 protected List<Object> activePatternAndFiredRuleAndFailedAssert; 77 @XmlAttribute(name = "title") 78 @XmlSchemaType(name = "anySimpleType") 79 protected String title; 80 @XmlAttribute(name = "phase") 81 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 82 @XmlSchemaType(name = "NMTOKEN") 83 protected String phase; 84 @XmlAttribute(name = "schemaVersion") 85 @XmlSchemaType(name = "anySimpleType") 86 protected String schemaVersion; 87 88 /** 89 * Gets the value of the text property. 90 * 91 * <p> 92 * This accessor method returns a reference to the live list, 93 * not a snapshot. Therefore any modification you make to the 94 * returned list will be present inside the JAXB object. 95 * This is why there is not a <CODE>set</CODE> method for the text property. 96 * 97 * <p> 98 * For example, to add a new item, do as follows: 99 * <pre> 100 * getText().add(newItem); 101 * </pre> 102 * 103 * 104 * <p> 105 * Objects of the following type(s) are allowed in the list 106 * {@link String } 107 * 108 * 109 */ 110 public List<String> getText() { 111 if (text == null) { 112 text = new ArrayList<>(); 113 } 114 return this.text; 115 } 116 117 /** 118 * Gets the value of the nsPrefixInAttributeValues property. 119 * 120 * <p> 121 * This accessor method returns a reference to the live list, 122 * not a snapshot. Therefore any modification you make to the 123 * returned list will be present inside the JAXB object. 124 * This is why there is not a <CODE>set</CODE> method for the nsPrefixInAttributeValues property. 125 * 126 * <p> 127 * For example, to add a new item, do as follows: 128 * <pre> 129 * getNsPrefixInAttributeValues().add(newItem); 130 * </pre> 131 * 132 * 133 * <p> 134 * Objects of the following type(s) are allowed in the list 135 * {@link NsPrefixInAttributeValues } 136 * 137 * 138 */ 139 public List<NsPrefixInAttributeValues> getNsPrefixInAttributeValues() { 140 if (nsPrefixInAttributeValues == null) { 141 nsPrefixInAttributeValues = new ArrayList<>(); 142 } 143 return this.nsPrefixInAttributeValues; 144 } 145 146 /** 147 * Gets the value of the activePatternAndFiredRuleAndFailedAssert property. 148 * 149 * <p> 150 * This accessor method returns a reference to the live list, 151 * not a snapshot. Therefore any modification you make to the 152 * returned list will be present inside the JAXB object. 153 * This is why there is not a <CODE>set</CODE> method for the activePatternAndFiredRuleAndFailedAssert property. 154 * 155 * <p> 156 * For example, to add a new item, do as follows: 157 * <pre> 158 * getActivePatternAndFiredRuleAndFailedAssert().add(newItem); 159 * </pre> 160 * 161 * 162 * <p> 163 * Objects of the following type(s) are allowed in the list 164 * {@link ActivePattern } 165 * {@link FiredRule } 166 * {@link FailedAssert } 167 * {@link SuccessfulReport } 168 * 169 * 170 */ 171 public List<Object> getActivePatternAndFiredRuleAndFailedAssert() { 172 if (activePatternAndFiredRuleAndFailedAssert == null) { 173 activePatternAndFiredRuleAndFailedAssert = new ArrayList<>(); 174 } 175 return this.activePatternAndFiredRuleAndFailedAssert; 176 } 177 178 /** 179 * Gets the value of the title property. 180 * 181 * @return 182 * possible object is 183 * {@link String } 184 * 185 */ 186 public String getTitle() { 187 return title; 188 } 189 190 /** 191 * Sets the value of the title property. 192 * 193 * @param value 194 * allowed object is 195 * {@link String } 196 * 197 */ 198 public void setTitle(String value) { 199 this.title = value; 200 } 201 202 /** 203 * Gets the value of the phase property. 204 * 205 * @return 206 * possible object is 207 * {@link String } 208 * 209 */ 210 public String getPhase() { 211 return phase; 212 } 213 214 /** 215 * Sets the value of the phase property. 216 * 217 * @param value 218 * allowed object is 219 * {@link String } 220 * 221 */ 222 public void setPhase(String value) { 223 this.phase = value; 224 } 225 226 /** 227 * Gets the value of the schemaVersion property. 228 * 229 * @return 230 * possible object is 231 * {@link String } 232 * 233 */ 234 public String getSchemaVersion() { 235 return schemaVersion; 236 } 237 238 /** 239 * Sets the value of the schemaVersion property. 240 * 241 * @param value 242 * allowed object is 243 * {@link String } 244 * 245 */ 246 public void setSchemaVersion(String value) { 247 this.schemaVersion = value; 248 } 249 250 }