| // |
| // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs |
| // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| // Any modifications to this file will be lost upon recompilation of the source schema. |
| // Generated on: 2011.03.17 at 12:18:33 AM CDT |
| // |
| |
| package org.eclipse.ptp.rm.jaxb.core.data; |
| |
| 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.XmlType; |
| |
| /** |
| * <p> |
| * Java class for tab-controller complex type. |
| * |
| * <p> |
| * The following schema fragment specifies the expected content contained within |
| * this class. |
| * |
| * <pre> |
| * <complexType name="tab-controller"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/> |
| * <choice maxOccurs="unbounded"> |
| * <element name="tab-folder" type="{http://org.eclipse.ptp/rm}tab-folder-descriptor"/> |
| * <element name="group-descriptor" type="{http://org.eclipse.ptp/rm}group-descriptor"/> |
| * </choice> |
| * </sequence> |
| * <attribute name="dynamic" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "tab-controller", propOrder = { "title", "tabFolderOrGroupDescriptor" }) |
| public class TabController { |
| |
| @XmlElement(required = true) |
| protected String title; |
| @XmlElements({ @XmlElement(name = "tab-folder", type = TabFolderDescriptor.class), |
| @XmlElement(name = "group-descriptor", type = GroupDescriptor.class) }) |
| protected List<Object> tabFolderOrGroupDescriptor; |
| @XmlAttribute |
| protected Boolean dynamic; |
| |
| /** |
| * Gets the value of the tabFolderOrGroupDescriptor property. |
| * |
| * <p> |
| * 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 |
| * <CODE>set</CODE> method for the tabFolderOrGroupDescriptor property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getTabFolderOrGroupDescriptor().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list |
| * {@link TabFolderDescriptor } {@link GroupDescriptor } |
| * |
| * |
| */ |
| public List<Object> getTabFolderOrGroupDescriptor() { |
| if (tabFolderOrGroupDescriptor == null) { |
| tabFolderOrGroupDescriptor = new ArrayList<Object>(); |
| } |
| return this.tabFolderOrGroupDescriptor; |
| } |
| |
| /** |
| * Gets the value of the title property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getTitle() { |
| return title; |
| } |
| |
| /** |
| * Gets the value of the dynamic property. |
| * |
| * @return possible object is {@link Boolean } |
| * |
| */ |
| public boolean isDynamic() { |
| if (dynamic == null) { |
| return false; |
| } else { |
| return dynamic; |
| } |
| } |
| |
| /** |
| * Sets the value of the dynamic property. |
| * |
| * @param value |
| * allowed object is {@link Boolean } |
| * |
| */ |
| public void setDynamic(Boolean value) { |
| this.dynamic = value; |
| } |
| |
| /** |
| * Sets the value of the title property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setTitle(String value) { |
| this.title = value; |
| } |
| |
| } |