| // |
| // 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.02.27 at 02:35:53 PM CST |
| // |
| |
| 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.XmlRootElement; |
| import javax.xml.bind.annotation.XmlType; |
| |
| /** |
| * <p> |
| * Java class for anonymous complex type. |
| * |
| * <p> |
| * The following schema fragment specifies the expected content contained within |
| * this class. |
| * |
| * <pre> |
| * <complexType> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/> |
| * <element name="tooltip" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
| * <element name="choice" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
| * <element name="default" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
| * <element ref="{}validator" minOccurs="0"/> |
| * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
| * </sequence> |
| * <attribute name="basic" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> |
| * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> |
| * <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}int" /> |
| * <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}int" /> |
| * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> |
| * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "", propOrder = { "description", "tooltip", "choice", "_default", "validator", "value" }) |
| @XmlRootElement(name = "job-attribute") |
| public class JobAttribute { |
| |
| @XmlElement(required = true) |
| protected String description; |
| protected String tooltip; |
| protected String choice; |
| @XmlElement(name = "default") |
| protected String _default; |
| protected Validator validator; |
| protected String value; |
| @XmlAttribute |
| protected Boolean basic; |
| @XmlAttribute(required = true) |
| protected String id; |
| @XmlAttribute |
| protected Integer max; |
| @XmlAttribute |
| protected Integer min; |
| @XmlAttribute(required = true) |
| protected String name; |
| @XmlAttribute(required = true) |
| protected String type; |
| |
| /** |
| * Gets the value of the choice property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getChoice() { |
| return choice; |
| } |
| |
| /** |
| * Gets the value of the default property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getDefault() { |
| return _default; |
| } |
| |
| /** |
| * Gets the value of the description property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getDescription() { |
| return description; |
| } |
| |
| /** |
| * Gets the value of the id property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getId() { |
| return id; |
| } |
| |
| /** |
| * Gets the value of the max property. |
| * |
| * @return possible object is {@link Integer } |
| * |
| */ |
| public Integer getMax() { |
| return max; |
| } |
| |
| /** |
| * Gets the value of the min property. |
| * |
| * @return possible object is {@link Integer } |
| * |
| */ |
| public Integer getMin() { |
| return min; |
| } |
| |
| /** |
| * Gets the value of the name property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getName() { |
| return name; |
| } |
| |
| /** |
| * Gets the value of the tooltip property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getTooltip() { |
| return tooltip; |
| } |
| |
| /** |
| * Gets the value of the type property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getType() { |
| return type; |
| } |
| |
| /** |
| * Gets the value of the validator property. |
| * |
| * @return possible object is {@link Validator } |
| * |
| */ |
| public Validator getValidator() { |
| return validator; |
| } |
| |
| /** |
| * Gets the value of the value property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getValue() { |
| return value; |
| } |
| |
| /** |
| * Gets the value of the basic property. |
| * |
| * @return possible object is {@link Boolean } |
| * |
| */ |
| public boolean isBasic() { |
| if (basic == null) { |
| return false; |
| } else { |
| return basic; |
| } |
| } |
| |
| /** |
| * Sets the value of the basic property. |
| * |
| * @param value |
| * allowed object is {@link Boolean } |
| * |
| */ |
| public void setBasic(Boolean value) { |
| this.basic = value; |
| } |
| |
| /** |
| * Sets the value of the choice property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setChoice(String value) { |
| this.choice = value; |
| } |
| |
| /** |
| * Sets the value of the default property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setDefault(String value) { |
| this._default = value; |
| } |
| |
| /** |
| * Sets the value of the description property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setDescription(String value) { |
| this.description = value; |
| } |
| |
| /** |
| * Sets the value of the id property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setId(String value) { |
| this.id = value; |
| } |
| |
| /** |
| * Sets the value of the max property. |
| * |
| * @param value |
| * allowed object is {@link Integer } |
| * |
| */ |
| public void setMax(Integer value) { |
| this.max = value; |
| } |
| |
| /** |
| * Sets the value of the min property. |
| * |
| * @param value |
| * allowed object is {@link Integer } |
| * |
| */ |
| public void setMin(Integer value) { |
| this.min = 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 tooltip property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setTooltip(String value) { |
| this.tooltip = 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 validator property. |
| * |
| * @param value |
| * allowed object is {@link Validator } |
| * |
| */ |
| public void setValidator(Validator value) { |
| this.validator = value; |
| } |
| |
| /** |
| * Sets the value of the value property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setValue(String value) { |
| this.value = value; |
| } |
| |
| } |