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.XmlElement;
15  import javax.xml.bind.annotation.XmlRootElement;
16  import javax.xml.bind.annotation.XmlType;
17  
18  
19  /***
20   * <p>Java class for element element declaration.
21   * 
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   * 
24   * <pre>
25   * &lt;element name="element">
26   *   &lt;complexType>
27   *     &lt;complexContent>
28   *       &lt;extension base="{http://www.xmlhammer.org/2007/project}nodeType">
29   *         &lt;sequence>
30   *           &lt;element ref="{http://www.xmlhammer.org/2007/project}type"/>
31   *           &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
32   *         &lt;/sequence>
33   *         &lt;attribute name="tagName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
34   *       &lt;/extension>
35   *     &lt;/complexContent>
36   *   &lt;/complexType>
37   * &lt;/element>
38   * </pre>
39   * 
40   * 
41   */
42  @XmlAccessorType(XmlAccessType.FIELD)
43  @XmlType(name = "", propOrder = {
44      "type",
45      "text"
46  })
47  @XmlRootElement(name = "element")
48  public class Element
49      extends NodeType
50  {
51  
52      @XmlElement(namespace = "http://www.xmlhammer.org/2007/project", required = true)
53      protected Type type;
54      @XmlElement(namespace = "http://www.xmlhammer.org/2007/project", required = true)
55      protected java.lang.String text;
56      @XmlAttribute(required = true)
57      protected java.lang.String tagName;
58  
59      /***
60       * Gets the value of the type property.
61       * 
62       * @return
63       *     possible object is
64       *     {@link Type }
65       *     
66       */
67      public Type getType() {
68          return type;
69      }
70  
71      /***
72       * Sets the value of the type property.
73       * 
74       * @param value
75       *     allowed object is
76       *     {@link Type }
77       *     
78       */
79      public void setType(Type value) {
80          this.type = value;
81      }
82  
83      /***
84       * Gets the value of the text property.
85       * 
86       * @return
87       *     possible object is
88       *     {@link java.lang.String }
89       *     
90       */
91      public java.lang.String getText() {
92          return text;
93      }
94  
95      /***
96       * Sets the value of the text property.
97       * 
98       * @param value
99       *     allowed object is
100      *     {@link java.lang.String }
101      *     
102      */
103     public void setText(java.lang.String value) {
104         this.text = value;
105     }
106 
107     /***
108      * Gets the value of the tagName property.
109      * 
110      * @return
111      *     possible object is
112      *     {@link java.lang.String }
113      *     
114      */
115     public java.lang.String getTagName() {
116         return tagName;
117     }
118 
119     /***
120      * Sets the value of the tagName property.
121      * 
122      * @param value
123      *     allowed object is
124      *     {@link java.lang.String }
125      *     
126      */
127     public void setTagName(java.lang.String value) {
128         this.tagName = value;
129     }
130 
131 }