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

gen.core.tmx14.Header Maven / Gradle / Ivy


package gen.core.tmx14;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.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">
 *       <choice maxOccurs="unbounded" minOccurs="0">
 *         <element ref="{}note"/>
 *         <element ref="{}prop"/>
 *         <element ref="{}ude"/>
 *       </choice>
 *       <attribute name="creationtool" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="creationtoolversion" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="segtype" use="required">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *             <enumeration value="block"/>
 *             <enumeration value="sentence"/>
 *             <enumeration value="phrase"/>
 *             <enumeration value="paragraph"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="o-tmf" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="adminlang" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="srclang" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="datatype" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="o-encoding" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="creationdate" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="creationid" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="changedate" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="changeid" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "noteOrPropOrUde" }) @XmlRootElement(name = "header") public class Header { @XmlElements({ @XmlElement(name = "note", type = Note.class), @XmlElement(name = "prop", type = Prop.class), @XmlElement(name = "ude", type = Ude.class) }) protected List noteOrPropOrUde; @XmlAttribute(name = "creationtool", required = true) @XmlSchemaType(name = "anySimpleType") protected String creationtool; @XmlAttribute(name = "creationtoolversion", required = true) @XmlSchemaType(name = "anySimpleType") protected String creationtoolversion; @XmlAttribute(name = "segtype", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String segtype; @XmlAttribute(name = "o-tmf", required = true) @XmlSchemaType(name = "anySimpleType") protected String oTmf; @XmlAttribute(name = "adminlang", required = true) @XmlSchemaType(name = "anySimpleType") protected String adminlang; @XmlAttribute(name = "srclang", required = true) @XmlSchemaType(name = "anySimpleType") protected String srclang; @XmlAttribute(name = "datatype", required = true) @XmlSchemaType(name = "anySimpleType") protected String datatype; @XmlAttribute(name = "o-encoding") @XmlSchemaType(name = "anySimpleType") protected String oEncoding; @XmlAttribute(name = "creationdate") @XmlSchemaType(name = "anySimpleType") protected String creationdate; @XmlAttribute(name = "creationid") @XmlSchemaType(name = "anySimpleType") protected String creationid; @XmlAttribute(name = "changedate") @XmlSchemaType(name = "anySimpleType") protected String changedate; @XmlAttribute(name = "changeid") @XmlSchemaType(name = "anySimpleType") protected String changeid; /** * Gets the value of the noteOrPropOrUde 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 noteOrPropOrUde property. * *

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

     *    getNoteOrPropOrUde().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Note } * {@link Prop } * {@link Ude } * * */ public List getNoteOrPropOrUde() { if (noteOrPropOrUde == null) { noteOrPropOrUde = new ArrayList(); } return this.noteOrPropOrUde; } /** * Gets the value of the creationtool property. * * @return * possible object is * {@link String } * */ public String getCreationtool() { return creationtool; } /** * Sets the value of the creationtool property. * * @param value * allowed object is * {@link String } * */ public void setCreationtool(String value) { this.creationtool = value; } /** * Gets the value of the creationtoolversion property. * * @return * possible object is * {@link String } * */ public String getCreationtoolversion() { return creationtoolversion; } /** * Sets the value of the creationtoolversion property. * * @param value * allowed object is * {@link String } * */ public void setCreationtoolversion(String value) { this.creationtoolversion = value; } /** * Gets the value of the segtype property. * * @return * possible object is * {@link String } * */ public String getSegtype() { return segtype; } /** * Sets the value of the segtype property. * * @param value * allowed object is * {@link String } * */ public void setSegtype(String value) { this.segtype = value; } /** * Gets the value of the oTmf property. * * @return * possible object is * {@link String } * */ public String getOTmf() { return oTmf; } /** * Sets the value of the oTmf property. * * @param value * allowed object is * {@link String } * */ public void setOTmf(String value) { this.oTmf = value; } /** * Gets the value of the adminlang property. * * @return * possible object is * {@link String } * */ public String getAdminlang() { return adminlang; } /** * Sets the value of the adminlang property. * * @param value * allowed object is * {@link String } * */ public void setAdminlang(String value) { this.adminlang = value; } /** * Gets the value of the srclang property. * * @return * possible object is * {@link String } * */ public String getSrclang() { return srclang; } /** * Sets the value of the srclang property. * * @param value * allowed object is * {@link String } * */ public void setSrclang(String value) { this.srclang = value; } /** * Gets the value of the datatype property. * * @return * possible object is * {@link String } * */ public String getDatatype() { return datatype; } /** * Sets the value of the datatype property. * * @param value * allowed object is * {@link String } * */ public void setDatatype(String value) { this.datatype = value; } /** * Gets the value of the oEncoding property. * * @return * possible object is * {@link String } * */ public String getOEncoding() { return oEncoding; } /** * Sets the value of the oEncoding property. * * @param value * allowed object is * {@link String } * */ public void setOEncoding(String value) { this.oEncoding = value; } /** * Gets the value of the creationdate property. * * @return * possible object is * {@link String } * */ public String getCreationdate() { return creationdate; } /** * Sets the value of the creationdate property. * * @param value * allowed object is * {@link String } * */ public void setCreationdate(String value) { this.creationdate = value; } /** * Gets the value of the creationid property. * * @return * possible object is * {@link String } * */ public String getCreationid() { return creationid; } /** * Sets the value of the creationid property. * * @param value * allowed object is * {@link String } * */ public void setCreationid(String value) { this.creationid = value; } /** * Gets the value of the changedate property. * * @return * possible object is * {@link String } * */ public String getChangedate() { return changedate; } /** * Sets the value of the changedate property. * * @param value * allowed object is * {@link String } * */ public void setChangedate(String value) { this.changedate = value; } /** * Gets the value of the changeid property. * * @return * possible object is * {@link String } * */ public String getChangeid() { return changeid; } /** * Sets the value of the changeid property. * * @param value * allowed object is * {@link String } * */ public void setChangeid(String value) { this.changeid = value; } }