blob: 0a8b95830301ec4654a9dc7e51fa2a4aed21db5b [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.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.XmlType;
/**
*
* These display their value columns as editable widgets. They are provided with
* checkboxes to indicate which attributes have been chosen. A checkbox button
* is also placed above the viewer to allow for filtering the unchecked items.
* The viewer outputs its checked values to the environment (and on update
* removes unselected ones). The name of the viewer is also stored against a
* string of all selected values, constructed from a template.
*
*
* <p>
* Java class for attribute-viewer-type complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* &lt;complexType name="attribute-viewer-type">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="layout-data" type="{http://org.eclipse.ptp/rm}layout-data-type" minOccurs="0"/>
* &lt;element name="layout" type="{http://org.eclipse.ptp/rm}layout-type" minOccurs="0"/>
* &lt;element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="column-data" type="{http://org.eclipse.ptp/rm}column-data-type" maxOccurs="7" minOccurs="0"/>
* &lt;element name="items" type="{http://org.eclipse.ptp/rm}viewer-items-type"/>
* &lt;element name="value" type="{http://org.eclipse.ptp/rm}template-type" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute name="headerVisible" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* &lt;attribute name="linesVisible" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="sort" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* &lt;attribute name="style" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="tooltipEnabled" 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-type", propOrder = { "layoutData", "layout", "label", "columnData", "items", "value" })
public class AttributeViewerType {
@XmlElement(name = "layout-data")
protected LayoutDataType layoutData;
protected LayoutType layout;
protected String label;
@XmlElement(name = "column-data")
protected List<ColumnDataType> columnData;
@XmlElement(required = true)
protected ViewerItemsType items;
protected TemplateType value;
@XmlAttribute
protected Boolean headerVisible;
@XmlAttribute
protected Boolean linesVisible;
@XmlAttribute
protected String name;
@XmlAttribute
protected Boolean sort;
@XmlAttribute
protected String style;
@XmlAttribute
protected Boolean tooltipEnabled;
@XmlAttribute
protected String type;
/**
* Gets the value of the columnData 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 columnData property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getColumnData().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ColumnDataType }
*
*
*/
public List<ColumnDataType> getColumnData() {
if (columnData == null) {
columnData = new ArrayList<ColumnDataType>();
}
return this.columnData;
}
/**
* Gets the value of the items property.
*
* @return possible object is {@link ViewerItemsType }
*
*/
public ViewerItemsType 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 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 name property.
*
* @return possible object is {@link String }
*
*/
public String getName() {
return name;
}
/**
* Gets the value of the style property.
*
* @return possible object is {@link String }
*
*/
public String 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 value property.
*
* @return possible object is {@link TemplateType }
*
*/
public TemplateType getValue() {
return value;
}
/**
* Gets the value of the headerVisible property.
*
* @return possible object is {@link Boolean }
*
*/
public boolean isHeaderVisible() {
if (headerVisible == null) {
return true;
} else {
return headerVisible;
}
}
/**
* Gets the value of the linesVisible property.
*
* @return possible object is {@link Boolean }
*
*/
public boolean isLinesVisible() {
if (linesVisible == null) {
return true;
} else {
return linesVisible;
}
}
/**
* Gets the value of the sort property.
*
* @return possible object is {@link Boolean }
*
*/
public boolean isSort() {
if (sort == null) {
return true;
} else {
return sort;
}
}
/**
* Gets the value of the tooltipEnabled property.
*
* @return possible object is {@link Boolean }
*
*/
public boolean isTooltipEnabled() {
if (tooltipEnabled == null) {
return true;
} else {
return tooltipEnabled;
}
}
/**
* Sets the value of the headerVisible property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setHeaderVisible(Boolean value) {
this.headerVisible = value;
}
/**
* Sets the value of the items property.
*
* @param value
* allowed object is {@link ViewerItemsType }
*
*/
public void setItems(ViewerItemsType 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 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 linesVisible property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setLinesVisible(Boolean value) {
this.linesVisible = value;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setName(String value) {
this.name = 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 String }
*
*/
public void setStyle(String value) {
this.style = value;
}
/**
* Sets the value of the tooltipEnabled property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setTooltipEnabled(Boolean value) {
this.tooltipEnabled = value;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is {@link TemplateType }
*
*/
public void setValue(TemplateType value) {
this.value = value;
}
}