org.projecthusky.common.hl7cdar2.StrucDocColgroup 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.Colgroup complex type.
*
*
* Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType name="StrucDoc.Colgroup">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="col" type="{urn:hl7-org:v3}StrucDoc.Col"/>
* </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="span" type="{http://www.w3.org/2001/XMLSchema}string" default="1" />
* <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="align">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="left"/>
* <enumeration value="center"/>
* <enumeration value="right"/>
* <enumeration value="justify"/>
* <enumeration value="char"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="char" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="charoff" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="valign">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="top"/>
* <enumeration value="middle"/>
* <enumeration value="bottom"/>
* <enumeration value="baseline"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StrucDoc.Colgroup", propOrder = {"col"})
public class StrucDocColgroup {
protected List col;
@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 = "span")
protected String span;
@XmlAttribute(name = "width")
protected String width;
@XmlAttribute(name = "align")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String align;
@XmlAttribute(name = "char")
protected String _char;
@XmlAttribute(name = "charoff")
protected String charoff;
@XmlAttribute(name = "valign")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String valign;
/**
* Ruft den Wert der align-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getAlign() {
return align;
}
/**
* Ruft den Wert der char-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getChar() {
return _char;
}
/**
* Ruft den Wert der charoff-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getCharoff() {
return charoff;
}
/**
* Gets the value of the col 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 col property.
*
*
* For example, to add a new item, do as follows:
* getCol().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link StrucDocCol }
*/
@NonNull
public List getCol() {
if (col == null) {
col = new ArrayList<>();
}
return this.col;
}
/**
* Ruft den Wert der id-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getID() {
return id;
}
/**
* Ruft den Wert der language-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getLanguage() {
return language;
}
/**
* Ruft den Wert der span-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
@NonNull
public String getSpan() {
if (span == null) {
return "1";
} else {
return span;
}
}
/**
* 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;
}
/**
* Ruft den Wert der valign-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getValign() {
return valign;
}
/**
* Ruft den Wert der width-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getWidth() {
return width;
}
/**
* Legt den Wert der align-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setAlign(String value) {
this.align = value;
}
/**
* Legt den Wert der char-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setChar(String value) {
this._char = value;
}
/**
* Legt den Wert der charoff-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setCharoff(String value) {
this.charoff = 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 span-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setSpan(String value) {
this.span = value;
}
/**
* Legt den Wert der valign-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setValign(String value) {
this.valign = value;
}
/**
* Legt den Wert der width-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setWidth(String value) {
this.width = value;
}
}