All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.projecthusky.common.hl7cdar2.StrucDocList Maven / Gradle / Ivy

/*
 * This code is made available under the terms of the Eclipse Public License v1.0
 * in the github project https://github.com/project-husky/husky there you also
 * find a list of the contributors and the license information.
 *
 * This project has been developed further and modified by the joined working group Husky
 * on the basis of the eHealth Connector opensource project from June 28, 2021,
 * whereas medshare GmbH is the initial and main contributor/author of the eHealth Connector.
 *
 */
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Siehe http://java.sun.com/xml/jaxb
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2020.07.09 um 01:07:39 PM CEST
//

package org.projecthusky.common.hl7cdar2;

import org.checkerframework.checker.nullness.qual.NonNull;

import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.ArrayList;
import java.util.List;

/**
 * 

* Java-Klasse für StrucDoc.List complex type. * *

* Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

 * <complexType name="StrucDoc.List">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="caption" type="{urn:hl7-org:v3}StrucDoc.Caption" minOccurs="0"/>
 *         <element name="item" type="{urn:hl7-org:v3}StrucDoc.Item" maxOccurs="unbounded"/>
 *       </sequence>
 *       <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *       <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
 *       <attribute name="styleCode" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
 *       <attribute name="listType" default="unordered">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *             <enumeration value="ordered"/>
 *             <enumeration value="unordered"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StrucDoc.List", propOrder = {"caption", "item"}) public class StrucDocList { protected StrucDocCaption caption; @XmlElement(required = true) protected List item; @XmlAttribute(name = "ID") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "language") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String language; @XmlAttribute(name = "styleCode") @XmlSchemaType(name = "NMTOKENS") protected List styleCode; @XmlAttribute(name = "listType") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String listType; /** * Ruft den Wert der caption-Eigenschaft ab. * * @return possible object is {@link StrucDocCaption } */ public StrucDocCaption getCaption() { return caption; } /** * Ruft den Wert der id-Eigenschaft ab. * * @return possible object is {@link String } */ public String getID() { return id; } /** * Gets the value of the item 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 item property. * *

* For example, to add a new item, do as follows:

     *    getItem().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list {@link StrucDocItem } */ @NonNull public List getItem() { if (item == null) { item = new ArrayList<>(); } return this.item; } /** * Ruft den Wert der language-Eigenschaft ab. * * @return possible object is {@link String } */ public String getLanguage() { return language; } /** * Ruft den Wert der listType-Eigenschaft ab. * * @return possible object is {@link String } */ @NonNull public String getListType() { if (listType == null) { return "unordered"; } else { return listType; } } /** * Gets the value of the styleCode 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 styleCode property. * *

* For example, to add a new item, do as follows:

     *    getStyleCode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list {@link String } */ @NonNull public List getStyleCode() { if (styleCode == null) { styleCode = new ArrayList<>(); } return this.styleCode; } /** * Legt den Wert der caption-Eigenschaft fest. * * @param value allowed object is {@link StrucDocCaption } */ public void setCaption(StrucDocCaption value) { this.caption = value; } /** * Legt den Wert der id-Eigenschaft fest. * * @param value allowed object is {@link String } */ public void setID(String value) { this.id = value; } /** * Legt den Wert der language-Eigenschaft fest. * * @param value allowed object is {@link String } */ public void setLanguage(String value) { this.language = value; } /** * Legt den Wert der listType-Eigenschaft fest. * * @param value allowed object is {@link String } */ public void setListType(String value) { this.listType = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy