source: trunk/docx4j/src/main/java/org/docx4j/dml/CTColorChangeEffect.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.XmlElement;
28import javax.xml.bind.annotation.XmlType;
29
30
31/**
32 * <p>Java class for CT_ColorChangeEffect complex type.
33 *
34 * <p>The following schema fragment specifies the expected content contained within this class.
35 *
36 * <pre>
37 * &lt;complexType name="CT_ColorChangeEffect">
38 *   &lt;complexContent>
39 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40 *       &lt;sequence>
41 *         &lt;element name="clrFrom" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
42 *         &lt;element name="clrTo" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
43 *       &lt;/sequence>
44 *       &lt;attribute name="useA" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
45 *     &lt;/restriction>
46 *   &lt;/complexContent>
47 * &lt;/complexType>
48 * </pre>
49 *
50 *
51 */
52@XmlAccessorType(XmlAccessType.FIELD)
53@XmlType(name = "CT_ColorChangeEffect", propOrder = {
54    "clrFrom",
55    "clrTo"
56})
57public class CTColorChangeEffect {
58
59    @XmlElement(required = true)
60    protected CTColor clrFrom;
61    @XmlElement(required = true)
62    protected CTColor clrTo;
63    @XmlAttribute
64    protected Boolean useA;
65
66    /**
67     * Gets the value of the clrFrom property.
68     *
69     * @return
70     *     possible object is
71     *     {@link CTColor }
72     *     
73     */
74    public CTColor getClrFrom() {
75        return clrFrom;
76    }
77
78    /**
79     * Sets the value of the clrFrom property.
80     *
81     * @param value
82     *     allowed object is
83     *     {@link CTColor }
84     *     
85     */
86    public void setClrFrom(CTColor value) {
87        this.clrFrom = value;
88    }
89
90    /**
91     * Gets the value of the clrTo property.
92     *
93     * @return
94     *     possible object is
95     *     {@link CTColor }
96     *     
97     */
98    public CTColor getClrTo() {
99        return clrTo;
100    }
101
102    /**
103     * Sets the value of the clrTo property.
104     *
105     * @param value
106     *     allowed object is
107     *     {@link CTColor }
108     *     
109     */
110    public void setClrTo(CTColor value) {
111        this.clrTo = value;
112    }
113
114    /**
115     * Gets the value of the useA property.
116     *
117     * @return
118     *     possible object is
119     *     {@link Boolean }
120     *     
121     */
122    public boolean isUseA() {
123        if (useA == null) {
124            return true;
125        } else {
126            return useA;
127        }
128    }
129
130    /**
131     * Sets the value of the useA property.
132     *
133     * @param value
134     *     allowed object is
135     *     {@link Boolean }
136     *     
137     */
138    public void setUseA(Boolean value) {
139        this.useA = value;
140    }
141
142}
Note: See TracBrowser for help on using the repository browser.