| // |
| // 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.15 at 09:03:41 PM 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.XmlElement; |
| import javax.xml.bind.annotation.XmlType; |
| |
| /** |
| * |
| * A regular expression or an acl used to validate an attribute value. |
| * |
| * |
| * <p> |
| * Java class for validator complex type. |
| * |
| * <p> |
| * The following schema fragment specifies the expected content contained within |
| * this class. |
| * |
| * <pre> |
| * <complexType name="validator"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <sequence> |
| * <element name="regex" type="{http://org.eclipse.ptp/rm}regex" minOccurs="0"/> |
| * <element name="fileInfo" type="{http://org.eclipse.ptp/rm}file-match" minOccurs="0"/> |
| * </sequence> |
| * <element name="error-message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
| * </sequence> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "validator", propOrder = { "regex", "fileInfo", "errorMessage" }) |
| public class Validator { |
| |
| protected Regex regex; |
| protected FileMatch fileInfo; |
| @XmlElement(name = "error-message") |
| protected String errorMessage; |
| |
| /** |
| * Gets the value of the errorMessage property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getErrorMessage() { |
| return errorMessage; |
| } |
| |
| /** |
| * Gets the value of the fileInfo property. |
| * |
| * @return possible object is {@link FileMatch } |
| * |
| */ |
| public FileMatch getFileInfo() { |
| return fileInfo; |
| } |
| |
| /** |
| * Gets the value of the regex property. |
| * |
| * @return possible object is {@link Regex } |
| * |
| */ |
| public Regex getRegex() { |
| return regex; |
| } |
| |
| /** |
| * Sets the value of the errorMessage property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setErrorMessage(String value) { |
| this.errorMessage = value; |
| } |
| |
| /** |
| * Sets the value of the fileInfo property. |
| * |
| * @param value |
| * allowed object is {@link FileMatch } |
| * |
| */ |
| public void setFileInfo(FileMatch value) { |
| this.fileInfo = value; |
| } |
| |
| /** |
| * Sets the value of the regex property. |
| * |
| * @param value |
| * allowed object is {@link Regex } |
| * |
| */ |
| public void setRegex(Regex value) { |
| this.regex = value; |
| } |
| |
| } |