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

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

The newest version!

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.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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="{}bpt"/>
 *         <element ref="{}ept"/>
 *         <element ref="{}it"/>
 *         <element ref="{}ph"/>
 *         <element ref="{}hi"/>
 *         <element ref="{}ut"/>
 *       </choice>
 *       <attribute name="datatype" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) @XmlRootElement(name = "sub") public class Sub { @XmlElementRefs({ @XmlElementRef(name = "ph", type = Ph.class, required = false), @XmlElementRef(name = "it", type = It.class, required = false), @XmlElementRef(name = "ept", type = Ept.class, required = false), @XmlElementRef(name = "hi", type = Hi.class, required = false), @XmlElementRef(name = "bpt", type = Bpt.class, required = false), @XmlElementRef(name = "ut", type = Ut.class, required = false) }) @XmlMixed protected List content; @XmlAttribute(name = "datatype") @XmlSchemaType(name = "anySimpleType") protected String datatype; @XmlAttribute(name = "type") @XmlSchemaType(name = "anySimpleType") protected String type; /** * Gets the value of the content 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 content property. * *

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

     *    getContent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Ph } * {@link It } * {@link String } * {@link Ept } * {@link Hi } * {@link Bpt } * {@link Ut } * * */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } /** * 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 type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } }