View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2007.09.26 at 09:37:45 PM IST 
6   //
7   
8   
9   package org.xmlhammer.model.project;
10  
11  import javax.xml.bind.annotation.XmlAccessType;
12  import javax.xml.bind.annotation.XmlAccessorType;
13  import javax.xml.bind.annotation.XmlAttribute;
14  import javax.xml.bind.annotation.XmlRootElement;
15  import javax.xml.bind.annotation.XmlType;
16  
17  
18  /***
19   * <p>Java class for message element declaration.
20   * 
21   * <p>The following schema fragment specifies the expected content contained within this class.
22   * 
23   * <pre>
24   * &lt;element name="message">
25   *   &lt;complexType>
26   *     &lt;complexContent>
27   *       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28   *         &lt;attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
29   *         &lt;attribute name="type" default="err">
30   *           &lt;simpleType>
31   *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
32   *               &lt;enumeration value="err"/>
33   *               &lt;enumeration value="out"/>
34   *             &lt;/restriction>
35   *           &lt;/simpleType>
36   *         &lt;/attribute>
37   *         &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
38   *       &lt;/restriction>
39   *     &lt;/complexContent>
40   *   &lt;/complexType>
41   * &lt;/element>
42   * </pre>
43   * 
44   * 
45   */
46  @XmlAccessorType(XmlAccessType.FIELD)
47  @XmlType(name = "")
48  @XmlRootElement(name = "message")
49  public class Message {
50  
51      @XmlAttribute(required = true)
52      protected java.lang.String src;
53      @XmlAttribute
54      protected java.lang.String type;
55      @XmlAttribute(required = true)
56      protected java.lang.String value;
57  
58      /***
59       * Gets the value of the src property.
60       * 
61       * @return
62       *     possible object is
63       *     {@link java.lang.String }
64       *     
65       */
66      public java.lang.String getSrc() {
67          return src;
68      }
69  
70      /***
71       * Sets the value of the src property.
72       * 
73       * @param value
74       *     allowed object is
75       *     {@link java.lang.String }
76       *     
77       */
78      public void setSrc(java.lang.String value) {
79          this.src = value;
80      }
81  
82      /***
83       * Gets the value of the type property.
84       * 
85       * @return
86       *     possible object is
87       *     {@link java.lang.String }
88       *     
89       */
90      public java.lang.String getType() {
91          if (type == null) {
92              return "err";
93          } else {
94              return type;
95          }
96      }
97  
98      /***
99       * Sets the value of the type property.
100      * 
101      * @param value
102      *     allowed object is
103      *     {@link java.lang.String }
104      *     
105      */
106     public void setType(java.lang.String value) {
107         this.type = value;
108     }
109 
110     /***
111      * Gets the value of the value property.
112      * 
113      * @return
114      *     possible object is
115      *     {@link java.lang.String }
116      *     
117      */
118     public java.lang.String getValue() {
119         return value;
120     }
121 
122     /***
123      * Sets the value of the value property.
124      * 
125      * @param value
126      *     allowed object is
127      *     {@link java.lang.String }
128      *     
129      */
130     public void setValue(java.lang.String value) {
131         this.value = value;
132     }
133 
134 }