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

gen.core.tmx14.Bpt 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.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="{}sub"/>
 *       </choice>
 *       <attribute name="i" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="x" 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 = "bpt") public class Bpt { @XmlElementRef(name = "sub", type = Sub.class, required = false) @XmlMixed protected List content; @XmlAttribute(name = "i", required = true) @XmlSchemaType(name = "anySimpleType") protected String i; @XmlAttribute(name = "x") @XmlSchemaType(name = "anySimpleType") protected String x; @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 Sub } * {@link String } * * */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } /** * Gets the value of the i property. * * @return * possible object is * {@link String } * */ public String getI() { return i; } /** * Sets the value of the i property. * * @param value * allowed object is * {@link String } * */ public void setI(String value) { this.i = value; } /** * Gets the value of the x property. * * @return * possible object is * {@link String } * */ public String getX() { return x; } /** * Sets the value of the x property. * * @param value * allowed object is * {@link String } * */ public void setX(String value) { this.x = 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; } }