| // |
| // 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.04.21 at 02:35:28 PM 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 composite-type complex type. |
| * |
| * <p> |
| * The following schema fragment specifies the expected content contained within |
| * this class. |
| * |
| * <pre> |
| * <complexType name="composite-type"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element name="layout" type="{http://org.eclipse.ptp/rm}layout-type" minOccurs="0"/> |
| * <element name="layout-data" type="{http://org.eclipse.ptp/rm}layout-data-type" minOccurs="0"/> |
| * <element name="font" type="{http://org.eclipse.ptp/rm}font-type" minOccurs="0"/> |
| * <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
| * <choice maxOccurs="unbounded"> |
| * <element name="tab-folder" type="{http://org.eclipse.ptp/rm}tab-folder-type"/> |
| * <element name="composite" type="{http://org.eclipse.ptp/rm}composite-type"/> |
| * <element name="widget" type="{http://org.eclipse.ptp/rm}widget-type"/> |
| * <element name="viewer" type="{http://org.eclipse.ptp/rm}attribute-viewer-type"/> |
| * </choice> |
| * </sequence> |
| * <attribute name="background" type="{http://www.w3.org/2001/XMLSchema}string" /> |
| * <attribute name="group" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> |
| * <attribute name="style" type="{http://www.w3.org/2001/XMLSchema}string" /> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "composite-type", propOrder = { "layout", "layoutData", "font", "title", "tabFolderOrCompositeOrWidget" }) |
| public class CompositeType { |
| |
| protected LayoutType layout; |
| @XmlElement(name = "layout-data") |
| protected LayoutDataType layoutData; |
| protected FontType font; |
| protected String title; |
| @XmlElements({ @XmlElement(name = "tab-folder", type = TabFolderType.class), |
| @XmlElement(name = "viewer", type = AttributeViewerType.class), |
| @XmlElement(name = "composite", type = CompositeType.class), @XmlElement(name = "widget", type = WidgetType.class) }) |
| protected List<Object> tabFolderOrCompositeOrWidget; |
| @XmlAttribute |
| protected String background; |
| @XmlAttribute |
| protected Boolean group; |
| @XmlAttribute |
| protected String style; |
| |
| /** |
| * Gets the value of the background property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getBackground() { |
| return background; |
| } |
| |
| /** |
| * Gets the value of the font property. |
| * |
| * @return possible object is {@link FontType } |
| * |
| */ |
| public FontType getFont() { |
| return font; |
| } |
| |
| /** |
| * Gets the value of the layout property. |
| * |
| * @return possible object is {@link LayoutType } |
| * |
| */ |
| public LayoutType getLayout() { |
| return layout; |
| } |
| |
| /** |
| * Gets the value of the layoutData property. |
| * |
| * @return possible object is {@link LayoutDataType } |
| * |
| */ |
| public LayoutDataType getLayoutData() { |
| return layoutData; |
| } |
| |
| /** |
| * Gets the value of the style property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getStyle() { |
| return style; |
| } |
| |
| /** |
| * Gets the value of the tabFolderOrCompositeOrWidget 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 tabFolderOrCompositeOrWidget property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getTabFolderOrCompositeOrWidget().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list |
| * {@link TabFolderType } {@link AttributeViewerType } {@link CompositeType } |
| * {@link WidgetType } |
| * |
| * |
| */ |
| public List<Object> getTabFolderOrCompositeOrWidget() { |
| if (tabFolderOrCompositeOrWidget == null) { |
| tabFolderOrCompositeOrWidget = new ArrayList<Object>(); |
| } |
| return this.tabFolderOrCompositeOrWidget; |
| } |
| |
| /** |
| * Gets the value of the title property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getTitle() { |
| return title; |
| } |
| |
| /** |
| * Gets the value of the group property. |
| * |
| * @return possible object is {@link Boolean } |
| * |
| */ |
| public boolean isGroup() { |
| if (group == null) { |
| return false; |
| } else { |
| return group; |
| } |
| } |
| |
| /** |
| * Sets the value of the background property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setBackground(String value) { |
| this.background = value; |
| } |
| |
| /** |
| * Sets the value of the font property. |
| * |
| * @param value |
| * allowed object is {@link FontType } |
| * |
| */ |
| public void setFont(FontType value) { |
| this.font = value; |
| } |
| |
| /** |
| * Sets the value of the group property. |
| * |
| * @param value |
| * allowed object is {@link Boolean } |
| * |
| */ |
| public void setGroup(Boolean value) { |
| this.group = value; |
| } |
| |
| /** |
| * Sets the value of the layout property. |
| * |
| * @param value |
| * allowed object is {@link LayoutType } |
| * |
| */ |
| public void setLayout(LayoutType value) { |
| this.layout = value; |
| } |
| |
| /** |
| * Sets the value of the layoutData property. |
| * |
| * @param value |
| * allowed object is {@link LayoutDataType } |
| * |
| */ |
| public void setLayoutData(LayoutDataType value) { |
| this.layoutData = value; |
| } |
| |
| /** |
| * Sets the value of the style property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setStyle(String value) { |
| this.style = value; |
| } |
| |
| /** |
| * Sets the value of the title property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setTitle(String value) { |
| this.title = value; |
| } |
| |
| } |