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

Revision 1041, 3.4 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_EmbeddedWAVAudioFile 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_EmbeddedWAVAudioFile">
37 *   &lt;complexContent>
38 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 *       &lt;attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}embed use="required""/>
40 *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
41 *       &lt;attribute name="builtIn" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
42 *     &lt;/restriction>
43 *   &lt;/complexContent>
44 * &lt;/complexType>
45 * </pre>
46 *
47 *
48 */
49@XmlAccessorType(XmlAccessType.FIELD)
50@XmlType(name = "CT_EmbeddedWAVAudioFile")
51public class CTEmbeddedWAVAudioFile {
52
53    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships", required = true)
54    protected String embed;
55    @XmlAttribute
56    protected String name;
57    @XmlAttribute
58    protected Boolean builtIn;
59
60    /**
61     * Embedded Audio File Relationship ID
62     *
63     * @return
64     *     possible object is
65     *     {@link String }
66     *     
67     */
68    public String getEmbed() {
69        return embed;
70    }
71
72    /**
73     * Sets the value of the embed property.
74     *
75     * @param value
76     *     allowed object is
77     *     {@link String }
78     *     
79     */
80    public void setEmbed(String value) {
81        this.embed = value;
82    }
83
84    /**
85     * Gets the value of the name property.
86     *
87     * @return
88     *     possible object is
89     *     {@link String }
90     *     
91     */
92    public String getName() {
93        if (name == null) {
94            return "";
95        } else {
96            return name;
97        }
98    }
99
100    /**
101     * Sets the value of the name property.
102     *
103     * @param value
104     *     allowed object is
105     *     {@link String }
106     *     
107     */
108    public void setName(String value) {
109        this.name = value;
110    }
111
112    /**
113     * Gets the value of the builtIn property.
114     *
115     * @return
116     *     possible object is
117     *     {@link Boolean }
118     *     
119     */
120    public boolean isBuiltIn() {
121        if (builtIn == null) {
122            return false;
123        } else {
124            return builtIn;
125        }
126    }
127
128    /**
129     * Sets the value of the builtIn property.
130     *
131     * @param value
132     *     allowed object is
133     *     {@link Boolean }
134     *     
135     */
136    public void setBuiltIn(Boolean value) {
137        this.builtIn = value;
138    }
139
140}
Note: See TracBrowser for help on using the repository browser.