001 //
002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004 // Any modifications to this file will be lost upon recompilation of the source schema.
005 // Generated on: 2013.02.07 at 02:32:38 PM CET
006 //
007
008
009 package org.jabber.protocol.amp_errors;
010
011 import javax.xml.bind.annotation.XmlAccessType;
012 import javax.xml.bind.annotation.XmlAccessorType;
013 import javax.xml.bind.annotation.XmlAttribute;
014 import javax.xml.bind.annotation.XmlRootElement;
015 import javax.xml.bind.annotation.XmlSchemaType;
016 import javax.xml.bind.annotation.XmlType;
017 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
018 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
019
020
021 /**
022 * <p>Java class for anonymous complex type.
023 *
024 * <p>The following schema fragment specifies the expected content contained within this class.
025 *
026 * <pre>
027 * <complexType>
028 * <complexContent>
029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
030 * <attribute name="action" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
031 * <attribute name="condition" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
032 * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
033 * </restriction>
034 * </complexContent>
035 * </complexType>
036 * </pre>
037 *
038 *
039 */
040 @XmlAccessorType(XmlAccessType.FIELD)
041 @XmlType(name = "")
042 @XmlRootElement(name = "rule")
043 public class Rule {
044
045 @XmlAttribute(required = true)
046 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
047 @XmlSchemaType(name = "NCName")
048 protected String action;
049 @XmlAttribute(required = true)
050 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
051 @XmlSchemaType(name = "NCName")
052 protected String condition;
053 @XmlAttribute(required = true)
054 protected String value;
055
056 /**
057 * Gets the value of the action property.
058 *
059 * @return
060 * possible object is
061 * {@link String }
062 *
063 */
064 public String getAction() {
065 return action;
066 }
067
068 /**
069 * Sets the value of the action property.
070 *
071 * @param value
072 * allowed object is
073 * {@link String }
074 *
075 */
076 public void setAction(String value) {
077 this.action = value;
078 }
079
080 /**
081 * Gets the value of the condition property.
082 *
083 * @return
084 * possible object is
085 * {@link String }
086 *
087 */
088 public String getCondition() {
089 return condition;
090 }
091
092 /**
093 * Sets the value of the condition property.
094 *
095 * @param value
096 * allowed object is
097 * {@link String }
098 *
099 */
100 public void setCondition(String value) {
101 this.condition = value;
102 }
103
104 /**
105 * Gets the value of the value property.
106 *
107 * @return
108 * possible object is
109 * {@link String }
110 *
111 */
112 public String getValue() {
113 return value;
114 }
115
116 /**
117 * Sets the value of the value property.
118 *
119 * @param value
120 * allowed object is
121 * {@link String }
122 *
123 */
124 public void setValue(String value) {
125 this.value = value;
126 }
127
128 }