1
2
3
4
5
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 * <element name="element">
26 * <complexType>
27 * <complexContent>
28 * <extension base="{http://www.xmlhammer.org/2007/project}nodeType">
29 * <sequence>
30 * <element ref="{http://www.xmlhammer.org/2007/project}type"/>
31 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
32 * </sequence>
33 * <attribute name="tagName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
34 * </extension>
35 * </complexContent>
36 * </complexType>
37 * </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 }