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

Revision 1041, 3.1 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;
28import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
29import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
30
31
32/**
33 * <p>Java class for CT_AnimationDgmElement complex type.
34 *
35 * <p>The following schema fragment specifies the expected content contained within this class.
36 *
37 * <pre>
38 * &lt;complexType name="CT_AnimationDgmElement">
39 *   &lt;complexContent>
40 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 *       &lt;attribute name="id" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Guid" default="{00000000-0000-0000-0000-000000000000}" />
42 *       &lt;attribute name="bldStep" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_DgmBuildStep" default="sp" />
43 *     &lt;/restriction>
44 *   &lt;/complexContent>
45 * &lt;/complexType>
46 * </pre>
47 *
48 *
49 */
50@XmlAccessorType(XmlAccessType.FIELD)
51@XmlType(name = "CT_AnimationDgmElement")
52public class CTAnimationDgmElement {
53
54    @XmlAttribute
55    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
56    protected String id;
57    @XmlAttribute
58    protected STDgmBuildStep bldStep;
59
60    /**
61     * Gets the value of the id property.
62     *
63     * @return
64     *     possible object is
65     *     {@link String }
66     *     
67     */
68    public String getId() {
69        if (id == null) {
70            return "{00000000-0000-0000-0000-000000000000}";
71        } else {
72            return id;
73        }
74    }
75
76    /**
77     * Sets the value of the id property.
78     *
79     * @param value
80     *     allowed object is
81     *     {@link String }
82     *     
83     */
84    public void setId(String value) {
85        this.id = value;
86    }
87
88    /**
89     * Gets the value of the bldStep property.
90     *
91     * @return
92     *     possible object is
93     *     {@link STDgmBuildStep }
94     *     
95     */
96    public STDgmBuildStep getBldStep() {
97        if (bldStep == null) {
98            return STDgmBuildStep.SP;
99        } else {
100            return bldStep;
101        }
102    }
103
104    /**
105     * Sets the value of the bldStep property.
106     *
107     * @param value
108     *     allowed object is
109     *     {@link STDgmBuildStep }
110     *     
111     */
112    public void setBldStep(STDgmBuildStep value) {
113        this.bldStep = value;
114    }
115
116}
Note: See TracBrowser for help on using the repository browser.