source: trunk/docx4j/src/main/java/org/docx4j/dml/CTNonVisualDrawingProps.java @ 1041

Revision 1041, 5.9 KB checked in by jharrop, 2 years ago (diff)

More complete DML, generated from TC45 1.0 final, using dmlROOT.xsd

Line 
1/*
2 *  Copyright 2007-2008, Plutext Pty Ltd.
3 *   
4 *  This file is part of docx4j.
5
6    docx4j is licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18
19 */
20
21
22package org.docx4j.dml;
23
24import javax.xml.bind.annotation.XmlAccessType;
25import javax.xml.bind.annotation.XmlAccessorType;
26import javax.xml.bind.annotation.XmlAttribute;
27import javax.xml.bind.annotation.XmlType;
28
29
30/**
31 * <p>Java class for CT_NonVisualDrawingProps complex type.
32 *
33 * <p>The following schema fragment specifies the expected content contained within this class.
34 *
35 * <pre>
36 * &lt;complexType name="CT_NonVisualDrawingProps">
37 *   &lt;complexContent>
38 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 *       &lt;sequence>
40 *         &lt;element name="hlinkClick" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Hyperlink" minOccurs="0"/>
41 *         &lt;element name="hlinkHover" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Hyperlink" minOccurs="0"/>
42 *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
43 *       &lt;/sequence>
44 *       &lt;attribute name="id" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_DrawingElementId" />
45 *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
46 *       &lt;attribute name="descr" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
47 *       &lt;attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
48 *     &lt;/restriction>
49 *   &lt;/complexContent>
50 * &lt;/complexType>
51 * </pre>
52 *
53 *
54 */
55@XmlAccessorType(XmlAccessType.FIELD)
56@XmlType(name = "CT_NonVisualDrawingProps", propOrder = {
57    "hlinkClick",
58    "hlinkHover",
59    "extLst"
60})
61public class CTNonVisualDrawingProps {
62
63    protected CTHyperlink hlinkClick;
64    protected CTHyperlink hlinkHover;
65    protected CTOfficeArtExtensionList extLst;
66    @XmlAttribute(required = true)
67    protected long id;
68    @XmlAttribute(required = true)
69    protected String name;
70    @XmlAttribute
71    protected String descr;
72    @XmlAttribute
73    protected Boolean hidden;
74
75    /**
76     * Gets the value of the hlinkClick property.
77     *
78     * @return
79     *     possible object is
80     *     {@link CTHyperlink }
81     *     
82     */
83    public CTHyperlink getHlinkClick() {
84        return hlinkClick;
85    }
86
87    /**
88     * Sets the value of the hlinkClick property.
89     *
90     * @param value
91     *     allowed object is
92     *     {@link CTHyperlink }
93     *     
94     */
95    public void setHlinkClick(CTHyperlink value) {
96        this.hlinkClick = value;
97    }
98
99    /**
100     * Gets the value of the hlinkHover property.
101     *
102     * @return
103     *     possible object is
104     *     {@link CTHyperlink }
105     *     
106     */
107    public CTHyperlink getHlinkHover() {
108        return hlinkHover;
109    }
110
111    /**
112     * Sets the value of the hlinkHover property.
113     *
114     * @param value
115     *     allowed object is
116     *     {@link CTHyperlink }
117     *     
118     */
119    public void setHlinkHover(CTHyperlink value) {
120        this.hlinkHover = value;
121    }
122
123    /**
124     * Gets the value of the extLst property.
125     *
126     * @return
127     *     possible object is
128     *     {@link CTOfficeArtExtensionList }
129     *     
130     */
131    public CTOfficeArtExtensionList getExtLst() {
132        return extLst;
133    }
134
135    /**
136     * Sets the value of the extLst property.
137     *
138     * @param value
139     *     allowed object is
140     *     {@link CTOfficeArtExtensionList }
141     *     
142     */
143    public void setExtLst(CTOfficeArtExtensionList value) {
144        this.extLst = value;
145    }
146
147    /**
148     * Gets the value of the id property.
149     *
150     */
151    public long getId() {
152        return id;
153    }
154
155    /**
156     * Sets the value of the id property.
157     *
158     */
159    public void setId(long value) {
160        this.id = value;
161    }
162
163    /**
164     * Gets the value of the name property.
165     *
166     * @return
167     *     possible object is
168     *     {@link String }
169     *     
170     */
171    public String getName() {
172        return name;
173    }
174
175    /**
176     * Sets the value of the name property.
177     *
178     * @param value
179     *     allowed object is
180     *     {@link String }
181     *     
182     */
183    public void setName(String value) {
184        this.name = value;
185    }
186
187    /**
188     * Gets the value of the descr property.
189     *
190     * @return
191     *     possible object is
192     *     {@link String }
193     *     
194     */
195    public String getDescr() {
196        if (descr == null) {
197            return "";
198        } else {
199            return descr;
200        }
201    }
202
203    /**
204     * Sets the value of the descr property.
205     *
206     * @param value
207     *     allowed object is
208     *     {@link String }
209     *     
210     */
211    public void setDescr(String value) {
212        this.descr = value;
213    }
214
215    /**
216     * Gets the value of the hidden property.
217     *
218     * @return
219     *     possible object is
220     *     {@link Boolean }
221     *     
222     */
223    public boolean isHidden() {
224        if (hidden == null) {
225            return false;
226        } else {
227            return hidden;
228        }
229    }
230
231    /**
232     * Sets the value of the hidden property.
233     *
234     * @param value
235     *     allowed object is
236     *     {@link Boolean }
237     *     
238     */
239    public void setHidden(Boolean value) {
240        this.hidden = value;
241    }
242
243}
Note: See TracBrowser for help on using the repository browser.