blob: ebf0f516dfd67017f99b38339c09a34bcc0ab795 [file] [log] [blame]
//
// 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 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.XmlType;
/**
* <p>
* Java class for attribute-viewer complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* &lt;complexType name="attribute-viewer">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="grid-data" type="{http://org.eclipse.ptp/rm}grid-data-descriptor" minOccurs="0"/>
* &lt;element name="grid-layout" type="{http://org.eclipse.ptp/rm}grid-layout-descriptor" minOccurs="0"/>
* &lt;element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="style" type="{http://org.eclipse.ptp/rm}style" minOccurs="0"/>
* &lt;element name="column-data" type="{http://org.eclipse.ptp/rm}column-data" minOccurs="0"/>
* &lt;element name="items" type="{http://org.eclipse.ptp/rm}viewer-items"/>
* &lt;/sequence>
* &lt;attribute name="sort" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* &lt;attribute name="type" default="table">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="table"/>
* &lt;enumeration value="tree"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "attribute-viewer", propOrder = { "gridData", "gridLayout", "label", "style", "columnData", "items" })
public class AttributeViewer {
@XmlElement(name = "grid-data")
protected GridDataDescriptor gridData;
@XmlElement(name = "grid-layout")
protected GridLayoutDescriptor gridLayout;
protected String label;
protected Style style;
@XmlElement(name = "column-data")
protected ColumnData columnData;
@XmlElement(required = true)
protected ViewerItems items;
@XmlAttribute
protected Boolean sort;
@XmlAttribute
protected String type;
/**
* Gets the value of the columnData property.
*
* @return possible object is {@link ColumnData }
*
*/
public ColumnData getColumnData() {
return columnData;
}
/**
* Gets the value of the gridData property.
*
* @return possible object is {@link GridDataDescriptor }
*
*/
public GridDataDescriptor getGridData() {
return gridData;
}
/**
* Gets the value of the gridLayout property.
*
* @return possible object is {@link GridLayoutDescriptor }
*
*/
public GridLayoutDescriptor getGridLayout() {
return gridLayout;
}
/**
* Gets the value of the items property.
*
* @return possible object is {@link ViewerItems }
*
*/
public ViewerItems getItems() {
return items;
}
/**
* Gets the value of the label property.
*
* @return possible object is {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Gets the value of the style property.
*
* @return possible object is {@link Style }
*
*/
public Style getStyle() {
return style;
}
/**
* Gets the value of the type property.
*
* @return possible object is {@link String }
*
*/
public String getType() {
if (type == null) {
return "table";//$NON-NLS-1$
} else {
return type;
}
}
/**
* Gets the value of the sort property.
*
* @return possible object is {@link Boolean }
*
*/
public boolean isSort() {
if (sort == null) {
return true;
} else {
return sort;
}
}
/**
* Sets the value of the columnData property.
*
* @param value
* allowed object is {@link ColumnData }
*
*/
public void setColumnData(ColumnData value) {
this.columnData = value;
}
/**
* Sets the value of the gridData property.
*
* @param value
* allowed object is {@link GridDataDescriptor }
*
*/
public void setGridData(GridDataDescriptor value) {
this.gridData = value;
}
/**
* Sets the value of the gridLayout property.
*
* @param value
* allowed object is {@link GridLayoutDescriptor }
*
*/
public void setGridLayout(GridLayoutDescriptor value) {
this.gridLayout = value;
}
/**
* Sets the value of the items property.
*
* @param value
* allowed object is {@link ViewerItems }
*
*/
public void setItems(ViewerItems value) {
this.items = value;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* Sets the value of the sort property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setSort(Boolean value) {
this.sort = value;
}
/**
* Sets the value of the style property.
*
* @param value
* allowed object is {@link Style }
*
*/
public void setStyle(Style value) {
this.style = value;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
}